Jarvis is a Python-based AI assistant that leverages speech recognition and text-to-speech technologies to perform tasks such as web searches, responding to user queries, telling jokes, and more.
- Voice Activation: Wake up the assistant with the command "wake up".
- Speech Recognition: Understands and processes voice commands using Google's Speech Recognition API.
- Text-to-Speech: Responds to user queries with a natural-sounding voice using the
pyttsx3
library. - Task Execution:
- Opens websites like Google, YouTube, and Wikipedia.
- Provides time updates and tells jokes.
- Plays random songs from a specified directory.
- Introduces itself and provides basic conversational responses.
To run this project, ensure you have the following Python libraries installed:
pyttsx3
speech_recognition
pyaudio
pyjokes
webbrowser
os
datetime
- Clone the repository:
git clone https://github.com/your-username/jarvis-assistant.git cd jarvis-assistant
- pip install pyttsx3 speechrecognition pyaudio pyjokes
- python jarvis.py
"Hello" "Google " "YouTube " "Wikipedia " "Tell me a joke" "Play a song" "Go to sleep"