A voice-activated virtual assistant named Jarvis, powered by Google’s Gemini model. It listens to user input via microphone and responds using AI.
- Python 3.x
- Install dependencies:
pip install requests speechrecognition
- Gemini API Key: Get a valid API key from Google to use the Gemini model.
graphql
Copy code
jarvis-assistant/ │ ├── config.py # Stores Gemini API key ├── speech.py # Handles microphone input └── main.py # Core logic to interact with Gemini
-
Add API Key
Createconfig.py
and add:key = "your_gemini_api_key_here"
- Start the Assistant
Run the following command:
`python main.py`
-
Speak Your Query
- Wait for the prompt: "Say something."
- Speak clearly into the microphone.
- Jarvis will recognize your input and respond accordingly.
This project is licensed under the MIT License.