This project is a voice-controlled AI assistant named Jarvis. It utilizes various libraries and APIs to perform tasks such as voice recognition, text-to-speech conversion, web browsing, weather updates, and communication with the OpenAI GPT-3 model for natural language processing.
- Clone the repository to your local machine.
- Install the required dependencies by running
pip install -r requirements.txt
. - Obtain the necessary API keys for OpenAI and RapidAPI. Update the
config.py
file with your API keys.
- Run the
main.py
file to start the Jarvis AI assistant. - Wait for the assistant to say, "Hello, I am Jarvis, Assistant of Master, Utsav!"
- Speak out your command or query when prompted by the assistant.
- Jarvis will listen to your command and perform various actions accordingly.
- To open a specific website, say "Open ". Supported websites include YouTube, Wikipedia, and Google.
- To get the current time, say "What's the time?".
- Jarvis will respond with the current time in the format HH:MM:SS.
- To get weather updates for a specific city, say "Weather update" and follow the prompts.
- Jarvis will fetch the weather data from the RapidAPI and provide information such as maximum temperature, minimum temperature, humidity, and "feels like" temperature for the specified city.
- To interact with the OpenAI GPT-3 model, say "Using artificial intelligence" and follow the prompts.
- Jarvis will utilize the GPT-3 model to generate responses based on the provided input prompt.
- To exit the Jarvis assistant, say "Exit".
- To reset the chat conversation history, say "Reset chat".
Contributions to this project are welcome. You can submit bug reports, feature requests, or pull requests through the GitHub repository.
1.Utsav Tiwari