[GSSOC'23] Voice Assistant AI Bot: Empowering Conversations with OpenAI Integration
Aim
The aim of the AI Bot project is to create a voice assistant that can understand user input, generate responses using the OpenAI API, and provide both textual and auditory feedback.
Details
The script will have the following features:
-
Voice Input and Recognition: Users can interact with the AI Bot by speaking through a microphone. The script utilizes the speech_recognition library to record audio and convert it into text for further processing.
-
OpenAI Integration: The project integrates with the OpenAI API to generate responses based on user input. The script sends the user's text as a prompt to the OpenAI API and receives a response, which is then displayed and spoken by the AI Bot.
-
Text Display and Audio Output: The script includes a graphical user interface (GUI) created using tkinter. The responses generated by the AI Bot are displayed in a text box within the GUI, allowing users to read the responses. Additionally, the pyttsx3 library is used to convert the responses into audio, providing auditory feedback to the users.
-
Conversation Logging: The script saves the conversation between the user and the bot in a text file named "conversation.txt". Each user input and the corresponding AI response are logged with a timestamp, allowing users to review the conversation history.
pls assign this to i have the work ready with me @avinashkranjan
Go Ahead @slayerrr12