This is a simple web-based chatbot application that uses OpenAI's GPT-3.5-turbo model to generate responses in a conversation with users with custom knowledge. The chatbot can engage in interactive conversations, respond to user input, and provide helpful information based on the given context.
- Custom knowledge
- Engage in natural language conversations with users.
- Utilize OpenAI's GPT-3.5-turbo model for generating responses.
- Interactive web interface for easy user interaction.
- Clone this repository to your local machine.
git clone https://github.com/ServiceToMankind/openapi_chatbot
- Install the required dependencies using pip.
pip install -r requirements.txt
- export OPENAI_API_KEY
export OPENAI_API_KEY='your-api-key-here'
- Run the Flask application.
python app.python
- Open your web browser and navigate to http://localhost:5000 to use the chatbot.
- Enter your message in the input field and click "Send."
- The chatbot will respond with relevant information based on the context of the conversation.
- You can customize the chatbot's behavior and appearance by modifying the HTML, CSS, and JavaScript files in the templates and static directories.
- This project is based on OpenAI's GPT-3 API.
- The front-end interface is created using Bootstrap and jQuery.
This project is licensed under the MIT License - see the LICENSE file for details.