This project allows you to talk to an AI chatbot powered by OpenAI's GPT-3 language model. It uses OpenAI's Whisper API for transcription and the ChatGPT API for generating responses.
To run this project, you need to have Python 3.7 or higher installed on your machine. You also need an OpenAI API key, which you can get by signing up at OpenAI. Set it as an environment variable OPENAI_API_KEY
.
- Clone this repository to your local machine.
- Create a virtual environment and activate it.
- Install the required packages using
pip install -r requirements.txt
.
- Make sure you have activated your virtual environment.
- Run the command
python chat.py
to start the chatbot. - Speak into your microphone to ask a question, and wait for the chatbot to respond.
- Python - The programming language used.
- OpenAI Whisper API - Used for audio transcription.
- OpenAI ChatGPT API - Used for generating responses.
This project is licensed under the MIT License - see the LICENSE.md file for details.