Skip to content

aryash45/AI-Jarvis-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Jarvis AI Assistant 🧠

A Python-powered virtual assistant capable of performing a variety of tasks such as opening websites, playing music, fetching news, telling jokes, searching on Google, and much more. Jarvis is activated by the wake word "Sydney" and responds to your voice commands intelligently. πŸŽ™οΈπŸ€–

✨ Features πŸ’» Web Navigation πŸ‘‰ Open Google, YouTube, LinkedIn, and other websites with simple voice commands.

🎡 Music Playback 🎢 Plays your favorite songs using a predefined library.

πŸ“° News Fetching 🌍 Stay updated with top headlines fetched from reliable sources via NewsAPI.

πŸ“š Wikipedia Search πŸ” Provides summaries of topics using Wikipedia.

πŸŽ₯ YouTube Control ⏯️ Pause, play, mute, or search videos directly on YouTube.

πŸ˜‚ Joke Teller 🀣 Brighten your day with jokes fetched from a joke API.

🎀 Voice Interaction πŸ—£οΈ Fully voice-controlled, powered by SpeechRecognition and pyttsx3.

πŸ’± Currency Conversion (Future Scope) πŸ’΅ Placeholder for Forex functionality using forex-python.

πŸ› οΈ Installation πŸ“₯ Clone the Repository:

bash Copy code git clone https://github.com/yourusername/jarvis-ai-assistant.git cd jarvis-ai-assistant πŸ“¦ Install Dependencies: Ensure Python 3 is installed. Then, install the required libraries:

bash Copy code pip install speechrecognition pyttsx3 pyautogui forex-python wikipedia requests πŸ”‘ Set Up NewsAPI:

Visit NewsAPI to generate your API key. Replace the placeholder API key (newsapi = "1744842a4c0f4eb69e078c97f97c86ff") in the script with your own. 🎼 Music Library:

Create a musicLibrary.py file in the same directory. Define a dictionary of song names and URLs. Example: python Copy code music = { "song1": "https://example.com/song1", "song2": "https://example.com/song2" } 🚦 How to Run ⚑ Launch the Assistant: Run the script in your Python environment:

bash Copy code python jarvis.py 🎧 Activate with Wake Word: Say "Sydney" to activate the assistant.

πŸ—’οΈ Give Commands: Once active, speak your commands, such as:

"Open Google" 🌐 "Play [song name]" 🎢 "Tell me a joke" πŸ˜‚ "Search for Python tutorials" πŸ” πŸ›‘οΈ How It Works πŸŽ™οΈ Voice Recognition: Listens for the wake word using SpeechRecognition and processes voice commands.

πŸ—£οΈ Text-to-Speech: Responds audibly using pyttsx3.

πŸ“œ Command Handling: Executes commands based on your input:

Browsing the web 🌐 Playing music 🎡 Fetching news πŸ“° Searching Wikipedia πŸ“š βš™οΈ Error Handling: Handles exceptions gracefully, providing helpful feedback.

πŸ› οΈ Customization 🎀 Voice Settings: Modify the set_voice_to_female function to select different voices.

🎢 Music Library: Update the musicLibrary.py file with your favorite tracks.

βž• Additional Commands: Extend the processcommand function to add more features.

🚧 Limitations ⚠️ Requires an active internet connection for most functionalities. πŸŽ™οΈ Wake word detection and accuracy depend on microphone quality.

🌟 Future Enhancements 🌐 Integration with smart home devices. πŸ€– Advanced natural language processing with AI models. πŸ”Š Continuous listening for hands-free operation. πŸ™Œ Credits Developed by Aryash Gupta. πŸ“© Contributions and feedback are always welcome! 😊

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages