VoiceMate is a simple conversational AI bot that allows users to have a voice chat with a GPT-like model. The bot listens to user input, processes it, and generates a response. It is designed to be easy to set up and extend, making it a great starting point for building more advanced conversational AI projects.
VoiceMate is an interactive voice bot that simulates a conversational partner using natural language processing. It is built to understand user input and respond appropriately, making it useful for applications such as virtual assistants, customer service bots, or personal chat companions.
VoiceMate can be used to simulate a conversation with a GPT-like model. It can be integrated into various platforms where voice interaction is needed. Users can simply speak or type their input, and the bot will generate responses in real-time. The project can be customized to include more advanced NLP techniques or integrated with external APIs to enhance its conversational capabilities.
voicemate/ ├── .env ├── main.py ├── prompt.py ├── requirements.txt ├── .gitignore └── README.md
.env: This file contains environment variables such as API keys.main.py: This is the main script that runs the bot.prompt.py: This script handles the logic for generating responses.requirements.txt: This file lists the Python dependencies for the project..gitignore: This file specifies which files and directories to ignore in the repository.README.md: This file provides instructions on how to set up and run the project.
-
Clone the repository to your local machine.
git clone https://github.com/Animeshkr9044/voicemate.git cd voicemate -
Create a virtual environment and activate it.
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required dependencies.
pip install -r requirements.txt
-
Create a
.envfile and add your API key or other environment variables.echo "API_KEY=your_api_key_here" > .env
-
Run the main script.
python main.py
-
Start a conversation with VoiceMate by typing your input and pressing Enter. Type
exitorquitto end the conversation.
$ python main.py
Starting voice bot...
You: Hello
Bot: Received: Hello
You: How are you?
Bot: Received: How are you?
You: exit
Ending conversation.