Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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.

License

Notifications You must be signed in to change notification settings

enoobis/voice-chatgpt-python

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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
  1. Install portaudio by running the following command:
pip install portaudio
  1. Get an OpenAI API key from OpenAI.

Usage

  1. Run the program by executing the following command:
python voicechatgpt.py
  1. Speak into the microphone when prompted.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.