This is a sophisticated, personal AI voice assistant named Jarvis, built with Python. It can understand and respond in multiple languages, perform tasks, and answer a wide range of questions by connecting to various APIs.
- Multilingual Conversation: Understands and speaks in many languages (English, Hindi, Tamil, Telugu, etc.).
- Voice or Text Input: Can be run in voice mode (microphone) or text mode for debugging.
- Real-Time News: Fetches and summarizes the latest news headlines for India.
- Factual Answers: Integrates with WolframAlpha for complex calculations and factual data.
- Conversational AI: Powered by the Google Gemini LLM for general questions, summaries, and creative tasks.
- Built-in Tools: Includes an offline calculator and can search Wikipedia.
- System Commands: Can open websites like Google and YouTube and tell the current time.
-
Clone the repository:
git clone [https://github.com/YourUsername/Your-Repo-Name.git](https://github.com/YourUsername/Your-Repo-Name.git) cd Your-Repo-Name
-
Create a virtual environment:
python -m venv venv .\venv\Scripts\activate # On Windows # source venv/bin/activate # On macOS/Linux
-
Install the required packages:
pip install -r requirements.txt
-
Create a
.env
file: Create a file named.env
in the project root and add your API keys:GOOGLE_API_KEY="your_google_ai_api_key" WOLFRAM_APP_ID="your_wolframalpha_app_id" NEWS_API_KEY="your_newsapi_key"
-
Run the assistant:
python jarvis.py