- This project was made possible with the help of OpenAI GPT-3 API
- This project was built for a fun experiment
- One can contribute to the code to make it more advanced
- get code: https://github.com/bibitchhetri/AI-voice-assistant-using-GPT3
#AI Voice Assistant Using GPT-3 API
8 messages · Page 1 of 1 (latest)
Hi, How did you preprocess the voice before feeding it to the GPT model?
Hello,
I have used the SpeechRecognition i.e sr library to listen to the user's speech through the microphone and convert it to text using the recognize_sphinx() function. The resulting text is then returned as user_input. The user_input is then passed as a prompt to the OpenAI's GPT model via the chatbot function to generate a response.
@plain furnace
Hello
you are free to use and contribute