Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This Python code utilizes various libraries, such as OpenAI GPT-3.5 Turbo, PyAudio, playsound, gTTS, and SpeechRecognition, to create a voice-activated chat system. The program continuously listens to audio input from a specified microphone, recognizes speech using Google Speech Recognition, and responds to specific phrases. If the user says "Hello," it generates a response using GPT-3.5 Turbo, converts it to speech using gTTS, saves it as an MP3 file, and plays the audio. If the user says "goodbye," the program terminates. The code also provides functionality to list available audio devices and allows the user to select a microphone for input.

About

This innovative initiative seeks to seamlessly infuse artificial intelligence into commonplace items, revolutionizing our daily surroundings for enhanced efficiency and convenience.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages