Chatbot API
is an OpenAI powered tool that brings chatbots to the next level of sophistication and intelligence. Chatbot API
can engage in multi-turn conversations, remembering previous interactions and providing relevant follow-up responses.
Chatbot API
is built using the following technologies:
OpenAI API
: The OpenAI API is used for natural language processing and generating AI-powered responses.Node.js
: A JavaScript runtime environment that allows running JavaScript on the server-side.Express.js
: A web application framework for Node.js that provides a robust set of features for web and mobile applications.
Before getting started, make sure you have the following prerequisites installed:
Node.js
: Install Node.js from the official website.OpenAI API key
: Sign up for the OpenAI API and obtain an API key.Firebase account
: Create a Firebase account and set up a new project.
To run the Chatbot API
locally, follow these steps:
- Clone the repository
- Navigate to the project directory
- Install the dependencies:
npm install
- Create a
.env
file in the project folder and add your OpenAI API key and Firebase configuration:OPENAI_KEY=YOUR_API_KEY
- Start the frontend server:
cd chatbot_api npm start
- Open your web browser and visit localhost:5500 to access the API and check the chatbot client repository to start the frontend.