This project is a voice-activated chatbot that utilizes OpenAI's GPT-3 model to engage in natural language conversations with users. It allows users to speak to the chatbot, which then processes their speech, generates responses, and speaks back to the user. This README provides an overview of the project, how to set it up, and how to use it.
Before you begin, make sure you have the following installed:
- Python 3.x
- OpenAI API key
- Required Python packages (specified in
requirements.txt
)
git clone https://github.com/Jujhar28/AI-VoiceAssistant.git
pip install -r requirements.txt
3. Obtain an API key from the OpenAI platform and replace API_KEY
in the code with your actual API key.
-
Run the Python script
voice_chatbot.py
: -
The chatbot will start listening for your voice input. Speak clearly and wait for it to respond.
-
The chatbot will reply to your voice input using text-to-speech.
-
Continue the conversation by speaking to the chatbot, and it will respond accordingly.
You can configure various parameters of the chatbot in the voice_chatbot.py
script, such as the user's name, bot's name, and the OpenAI engine to use.
Contributions are welcome! If you want to contribute to this project, please open an issue or create a pull request.
This project is licensed under the MIT License.
- OpenAI for providing the GPT-3 model.
If you have any questions or suggestions, feel free to contact the project maintainers:
- Jujhar Singh (sjujhar28@gmail.com)