Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enoobis/voice-chatgpt-python
This project is a conversational AI program that uses speech recognition, text-to-speech, and the OpenAI API to generate responses to user prompts, allowing for a natural conversation flow.
https://github.com/enoobis/voice-chatgpt-python
chat chatgpt chatgpt-api chatgpt-bot chatgpt-python chatgpt3 gpt-3 gpt-3-text-generation gptchat python speech speech-recognition speech-synthesis speech-to-text
Last synced: 21 days ago
JSON representation
This project is a conversational AI program that uses speech recognition, text-to-speech, and the OpenAI API to generate responses to user prompts, allowing for a natural conversation flow.
- Host: GitHub
- URL: https://github.com/enoobis/voice-chatgpt-python
- Owner: enoobis
- License: mit
- Created: 2023-01-22T11:12:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T11:18:59.000Z (almost 2 years ago)
- Last Synced: 2024-11-05T22:32:39.708Z (2 months ago)
- Topics: chat, chatgpt, chatgpt-api, chatgpt-bot, chatgpt-python, chatgpt3, gpt-3, gpt-3-text-generation, gptchat, python, speech, speech-recognition, speech-synthesis, speech-to-text
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 17
- Watchers: 2
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# voice-chatgpt-python
This program is a speech recognition and text-to-speech program that utilizes the OpenAI API to generate responses to user prompts.
## Requirements
- Python 3.x
- SpeechRecognition
- pyttsx3
- OpenAI API key
- portaudio (for pyaudio)## Installation
1. Install Python 3.x
2. Install the required libraries by running the following command:
```
pip install speech_recognition pyttsx3 openai
```
3. Install portaudio by running the following command:
```
pip install portaudio
```
4. Get an OpenAI API key from [OpenAI](https://beta.openai.com/signup/).## Usage
1. Run the program by executing the following command:
```
python voicechatgpt.py
```
2. Speak into the microphone when prompted.