Skip to content

AI Jarvis is an open-source AI chatbot developed in Python with the main inspiration taken from the film ‘Ironman’ and its iconic assistant Jarvis and powered by Google Open-AI. This project makes the future touch your hand by providing an advanced version of the AI assistant which can listen to voice commands, even claps and keyboard presses.

License

Notifications You must be signed in to change notification settings

Chaitanya029/AI-Jarvis-The-Advance-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Jarvis-The-Advance-Chatbot

AI Jarvis is an open-source AI chatbot developed in Python with the main inspiration taken from the film ‘Ironman’ and its iconic assistant Jarvis and powered by Google Open-AI. This project makes the future touch your hand by providing an advanced version of the AI assistant which can listen to voice commands, even claps and keyboard presses.

Inspired by Ironman's Jarvis, built with Python

ab3c01e6-a011-4287-afb0-f7c2dbf350cc (1)

AI Jarvis is a cutting-edge AI chatbot that brings the futuristic experience of having a personal assistant to your fingertips. This project utilizes the power of Python, Google Open-AI, and various libraries to create a highly advanced and interactive AI assistant.

Features

Voice and Clap Control Listen to your voice commands and respond accordingly Activate AI Jarvis with a simple clap, no need to press any buttons

ai-generated-8351757_640 (1)

WhatsApp Integration

Open WhatsApp and send text or files with just a voice command Send messages to your loved ones or share files with ease

Language Translation

Translate languages in real-time, supporting over 11 languages including Hindi, English, Spanish, and more Communicate with people from diverse linguistic backgrounds effortlessly

Customizable Voice Assistant

Choose from male or female voice assistants to suit your preference Get responses in a voice that's tailored to your liking

Setup Procedures

For getting JARVIS up and running, the instructions are given below :

2106 i201 007 F m004 c9 call center technical support isometric

Environment setup

Installing the required modules

  • First, navigate to this cloned repository and open cmd and then type :

pip install -r requirements.txt
  • Most of the times, you may run into an error saying 'no module named pyaudio'. If there is any error on installing SpeechRecognition, do check out this website. Please download the ".whl" file of pyaudio of your python version. Link to website - https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio . After downloading that, pip install that .whl file. For Eg:
pip install PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl
  • The above wheel is suitable for Python 3.8 version. amd64 means 64 bit and win32 means 32-bit. First pip install the wheel and then again run pip install -r requirements.txt . After all these procedures, we are ready to start testing out JARVIS.

Getting the models for our Speech Engine

  • Now, the next step is to download the models for our Vosk speech Engine. Go to this website to download the model of your choice - https://alphacephei.com/vosk/models

  • There are models available for several accents of English and I am currently using the Indian Model. If you are in the USA, you could download the usa-english model. The model is not uploaded on Git Hub as it will take up a large space.
  • Once you have downloaded the Vosk speech engine model, then extract all the files inside the downloaded folder and copy the files inside the 'vosk_speech_engine/model' folder. Make sure to place this in the model folder inside vosk_speech_engine.
  • Once you have placed that, we can successfully run our JARVIS program

Running the Python script

Now we can run our Python script. Just navigate to the cloned directory open cmd and then type :

python jarvis.py

This will initialize the Python program. If you run into any problems during the installation of any modules, feel free to open an issue. Thanks for supporting this project and happy coding !!

Technologies used

  • Libraries:
    • json for data manipulation
    • torch for machine learning capabilities
    • numpy for numerical computations
    • random for generating random responses
    • pyaudio for audio processing
    • struct for data structuring
    • math for mathematical operations
    • os for operating system interactions
    • keyboard for keyboard control
    • pyautogui for GUI automation
    • web-browser for web interactions

How it Works

ai-generated-8944584_640

AI Jarvis uses Google Open-AI to process and transmit data, enabling it to understand and respond to your voice commands. The project's advanced natural language processing (NLP) capabilities allow it to comprehend complex requests and provide accurate responses.

Getting Started

To run AI Jarvis, ensure you have Python 3.8 installed on your system. Clone this repository and install the required libraries using pip install -r requirements.txt. Then, simply run the main.py file to activate AI Jarvis.

Contributing

I welcome all contributions to AI Jarvis! If you want to improve or add features to this project, please fork the repository and submit a pull request.

License

AI Jarvis is licensed under the #MIT License. See LICENSE for details.

Acknowledgments

I want to thank the developers of the libraries used in this project, as well as the Google Open-AI team for providing the foundation for AI Jarvis's advanced capabilities.

About

AI Jarvis is an open-source AI chatbot developed in Python with the main inspiration taken from the film ‘Ironman’ and its iconic assistant Jarvis and powered by Google Open-AI. This project makes the future touch your hand by providing an advanced version of the AI assistant which can listen to voice commands, even claps and keyboard presses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages