A simple voice recognition chatbot to help users with their voice inputs to get the information as a voice input using Speech Recognition python library. During the run time the program will ask the voice input from the user. User input is send to the openai website to fetch the data from the openai website to get the real-time data by using the openai API.
This repository contains the code for a Machine Learning voice chatbot built using the OPEN AI API. The chatbot is designed to interact with users through voice commands and provide relevant responses based on natural language processing and machine learning algorithms.
- Python
- openai
- Visual Studio code
This project has been developed in collaboration with Jerusha S. Their contributions have been valuable in the development and improvement of the chatbot.
To set up and run the chatbot locally, follow these steps:
- Clone the repository:
git clone https://github.com/Ruban2205/Machine-Learning-voice-chatbot.git
- Install the required dependencies. It is recommended to use a virtual environment:
cd Machine-Learning-voice-chatbot
python -m venv venv
source venv/bin/activate # For Unix/Linux
venv\Scripts\activate.bat # For Windows
-
Configure the API credentials for the OPEN AI API. You will need to obtain the necessary API key from OpenAI and set it as an environment variable or update the configuration file with your credentials.
-
Start the chatbot application:
python src/chatbot.py
Once the chatbot application is running, it will wait for voice commands. Users can speak their queries or commands, and the chatbot will process the input, generate a response, and provide it through the audio output.
If you would like to contribute to this project, please follow these steps:
-
Fork the repository on GitHub.
-
Create a new branch with a descriptive name:
git checkout -b feature/my-feature
-
Make your desired changes and commit them.
-
Push your changes to your forked repository.
-
Submit a pull request to the main repository, detailing the changes you have made.
Please ensure that your contributions align with the coding style, guidelines, and objectives of the project.
This project is licensed under the MIT License. See LICENSE for more details.
If you have any questions, suggestions, or feedback regarding this repository, please feel free to reach out. You can contact the repository owner, Ruban2205, through the following channels.
- GitHub: Ruban2205
- Email: [email protected]
Please allow some time for a response, as the owner have other commitments. Constructive feedback and contributions are highly appreciated.
Thank you for your interest in this repository!
Click below to gift ๐ a book to me.
Thank You!!