This project is a chatbot that uses the OpenAI API to generate responses to user messages. The chatbot is built using Python and the openai library.
- Clone this repository to your local machine.
- Install the required packages using pip install -r requirements.txt.
- Open config.json file in the root directory and add your OpenAI API key as "openai key": "<your_api_key>".
- Run python main.py to start the chatbot.
The chatbot will prompt the user to enter a message. Once the user has entered a message, the chatbot will use the OpenAI API to generate a response. The response will be displayed to the user, and the chatbot will prompt the user to enter another message.
This project is licensed under the MIT License - see the LICENSE file for details.