Jarvis AI Assistant
Overview
Jarvis AI Assistant is a voice-activated personal assistant that uses OpenAI's GPT-3.5 model for intelligent interactions. It performs tasks such as recognizing speech, responding to queries, opening websites, playing music, and announcing the time. This project combines advanced natural language processing with practical utilities for a seamless user experience.
Features
Voice Recognition: Captures and interprets user commands via microphone. Intelligent Responses: Generates human-like responses using GPT-3.5. Web Browsing: Opens YouTube, Wikipedia, Google, and more on command. Music Playback: Plays specified music files. Time Announcements: Provides the current time when asked. Customizable: Easily extendable with new features and commands. Error Handling: Handles errors gracefully with informative messages. Getting Started Prerequisites Python 3.7+ OpenAI API key pip (Python package installer) Installation Clone the repository:
sh Copy code git clone https://github.com/yourusername/jarvis-ai-assistant.git cd jarvis-ai-assistant Install required packages:
sh Copy code pip install -r requirements.txt Create a config.py file with your OpenAI API key:
python Copy code apikey = "your-openai-api-key" Run the application:
sh Copy code python main.py Usage Voice Commands: Speak commands like "Open YouTube" or "What's the time?" after "Listening...". Chat with AI: Speak queries to interact with the AI.