ChatGPT Voice Assistant is a project that integrates OpenAI's ChatGPT API with a voice recognition to create a conversational AI with voice capabilities. This allows users to interact with ChatGPT using spoken language, making the interaction more natural and accessible.
- Voice Recognition: Converts spoken language into text using speech recognition.
- ChatGPT Integration: Uses the ChatGPT API to generate responses based on the recognized text.
- Voice Synthesis: Converts the text responses from ChatGPT into spoken language using text-to-speech technology.
- Real-time Interaction: Provides a real-time conversational experience with voice input and output.
- Python
- OpenAI API
- Speech Recognition
- Text-to-Speech
- Obtain an API key from OpenAI.
- Set the API key in your environment variables or directly in the configuration file.
- In the code, replace the placeholder "your_openai_api_key" with your actual API key.
If you are using a config.json or similar file, replace "your_openai_api_key" with your actual API key in the corresponding section of the file.
- Run the Voice Assistant
- Speak into your microphone and listen to the responses generated by ChatGPT.
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.