This project is an interactive chatbot built using OpenAI's GPT-3.5-Turbo model. Users can ask any question, and the chatbot generates AI-based responses, making it ideal for automating Q&A, providing virtual assistance, and much more.
To get this project running, you need to have Python installed and an OpenAI API key.
-
Python: Make sure Python 3.x is installed on your system. You can download Python from here.
-
OpenAI API key: You will need an API key from OpenAI to access the GPT-3.5-Turbo model. You can get the key from the OpenAI website.
- Clone the repo:
git clone https://github.com/{your_username}/openai-gpt3.5-turbo-chatbot.git
- Install required Python packages:
pip install openai
- Add your OpenAI API key as an environment variable called "OPENAI_API_KEY".
Run the script using Python:
python chatbot.py