A simple Python-based Voice Assistant that can recognize speech, process natural language, and respond with text-to-speech.
- 🎤 Speech Recognition (convert voice → text)
- 🧠 NLU (Natural Language Understanding) for processing commands
- 🔊 Text-to-Speech responses
- ⚡ Lightweight and runs locally
- Python 3.x
speechrecognitionpyttsx3pyaudio(for microphone input)
voice_assistant/
│── skills.py # Skills
│── config.py # Configuration settings
│── recognizer.py # Speech recognition logic
│── nlu.py # Natural language understanding
│── tts.py # Text-to-speech engine
│── requirements.txt # Dependencies
│── README.md # Project documentation
Watch the Voice Assistant in action:

Click the image to view the demo.
-
Clone this repository:
git clone https://github.com/VishnuKumarLH/OIBSIP_Python_Programming_Task1.git cd OIBSIP_Python_Programming_Task1 -
Create and activate a virtual environment:
python -m venv venv venv\Scripts\activate # On Windows source venv/bin/activate # On Mac/Linux
-
Install dependencies:
pip install -r requirements.txt
-
Run the assistant:
python recognizer.py
- Speak into your microphone after starting the program.
- The assistant will recognize your speech, process commands, and reply with voice output.
You: "Hello assistant"
Assistant: "Hello! How can I help you today?"
This project is licensed under the MIT License.