Skip to content

Bakar31/GPT-based-audio-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT Based Audio Chatbot

This bot is based on the text-davinci-0031 model from OpenAI.

Goals:

  • To practice English speaking. 

Working steps:

  • Captures and recognizes audio (listening phase).
  • Make an API request to OpenAI and get the response (processing phase).
  • Create an audio file from the text (output phase).

Libraries required:

  • openai
  • speech_recognition
  • gtts

Also, you need to create an account on the OpenAI website, and you will get your API key.

Installing commands:

  • pip install openai
  • pip install SpeechRecognition
  • pip install gTTS

NB: You can vary the sleep time to adjust the conversation pace.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages