The Virtual Voice Assistant is a Python-based application that performs various tasks such as retrieving information, setting alarms, and managing to-do lists through voice commands. It leverages voice recognition technologies to provide a hands-free, intuitive user experience.
- Information Retrieval: Get answers to basic queries like weather updates and general information.
- Task Management: Set alarms and create, view, and manage a to-do list via voice commands.
- Voice Interaction: Operate the assistant hands-free using voice commands, enhancing accessibility and productivity.
- Python: Core programming language.
- SpeechRecognition: For capturing and interpreting voice commands.
- pyttsx3: For text-to-speech conversion.
- Google Speech API: For accurate voice recognition.
- Google APIs: For retrieving information such as weather updates.
-
Clone the Repository:
git clone https://github.com/yourusername/virtual-voice-assistant.git cd virtual-voice-assistant
-
Install Dependencies: Ensure you have Python installed. Then, install required packages using:
pip install -r requirements.txt
-
Set Up APIs:
- Obtain API keys for the Google Speech API and other Google services.
- Replace placeholders in the code with your API keys.
- Run the Application:
python voice_assistant.py
- Interact with the Assistant:
- Speak commands like "Set an alarm for 7 AM" or "Add milk to my to-do list."
- The assistant will respond and perform the requested tasks.
- Information: "What's the weather today?"
- Alarm: "Set an alarm for 6:30 AM."
- To-Do List: "Add groceries to my to-do list."
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.