https://github.com/prernarohra/chatgpt-voice-assistant
Integrate OpenAI's ChatGPT with voice functionality to enable interactive, hands-free use. This project makes use of speech recognition to allow users to communicate with ChatGPT through voice commands.
https://github.com/prernarohra/chatgpt-voice-assistant
chatbot chatgpt openai openai-api pre-trained-model speech-recognition speech-to-text
Last synced: 5 months ago
JSON representation
Integrate OpenAI's ChatGPT with voice functionality to enable interactive, hands-free use. This project makes use of speech recognition to allow users to communicate with ChatGPT through voice commands.
- Host: GitHub
- URL: https://github.com/prernarohra/chatgpt-voice-assistant
- Owner: prernarohra
- License: mit
- Created: 2024-08-26T13:13:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-18T20:27:17.000Z (almost 2 years ago)
- Last Synced: 2025-07-06T16:02:47.631Z (12 months ago)
- Topics: chatbot, chatgpt, openai, openai-api, pre-trained-model, speech-recognition, speech-to-text
- Language: Jupyter Notebook
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🤖 ChatGPT Voice Assistant
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.
## :sparkles: Features
1. Voice Recognition: Converts spoken language into text using speech recognition.
2. ChatGPT Integration: Uses the ChatGPT API to generate responses based on the recognized text.
3. Voice Synthesis: Converts the text responses from ChatGPT into spoken language using text-to-speech technology.
4. Real-time Interaction: Provides a real-time conversational experience with voice input and output.
## ⚙️ Tools and libraries
1. Python
2. OpenAI API
3. Speech Recognition
4. Text-to-Speech
## :wrench: Configuration
### API Key:
1. Obtain an API key from OpenAI.
2. Set the API key in your environment variables or directly in the configuration file.
3. In the code, replace the placeholder "your_openai_api_key" with your actual API key.
### Update Configuration File:
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.
## :arrow_forward: Usage
1. Run the Voice Assistant
2. Speak into your microphone and listen to the responses generated by ChatGPT.
## 🤝 Contributions
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.