An open API service indexing awesome lists of open source software.

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.

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.