Ava is a basic AI assistant powered by OpenAI's GPT-3.5 language model. It allows you to perform various tasks by speaking to it.
Before running the Ava AI assistant, make sure you have the following dependencies installed:
- Python 3.x
speech_recognition
librarypyttsx3
libraryopenai
librarywebbrowser
library
You will also need an OpenAI API key, which you can get from the OpenAI website.
- Clone this repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt
. - Obtain an OpenAI API key and replace
apikey
inconfig.py
with your actual API key.
To interact with Ava, run the ava.py
script in your terminal or command prompt.
$ python ava.py
Once the script is running, you can speak to Ava, and it will respond accordingly. Ava can do the following tasks:
- Open websites: Just say "Open [website name]" to open the desired website in your default web browser.
- Play Music: Say "Open music" and then tell Ava the name of the song you want to play.
- Check Time: Say "What is the time" or "Tell me the time" to know the current time.
- Open Applications: You can ask Ava to open applications by saying "Open [application name]."
- Use Artificial Intelligence: If you say "Using artificial intelligence" in your query, Ava will use GPT-3.5 to provide a response to your prompt.
- Exit: To exit Ava, say "Bye."
Contributions to this project are welcome. If you have any improvements or bug fixes, feel free to submit a pull request.
If you have any questions or suggestions, you can contact me at [email protected] or through my GitHub profile.