Jarvis-ai Assistant Download

0 views
Skip to first unread message

Ahmend Studioz

unread,
Aug 4, 2024, 11:35:11 PM8/4/24
to fainokeson
Thisproject is created only for those who are interested in building a Virtual Assistant. Generally, it took lots of time to write code from scratch to build a Virtual Assistant. So, I have built a Library called "JarvisAI", which gives you easy functionality to build your own Virtual Assistant.

Jarvis AI is a Python Module that is able to perform tasks like Chatbot, Assistant, etc. It provides base functionality for any assistant application. This JarvisAI is built using Tensorflow, Pytorch, Transformers, and other open-source libraries and frameworks. Well, you can contribute to this project to make it more powerful.


To contribute to the project: Python is the only prerequisite for basic scripting, Machine Learning, and Deep Learning knowledge will help this model to do tasks like AI-ML. Read the How to Contribute section of this page.


Server Side- The server is responsible to handle various kinds of AI-ML, and NLP tasks. It mainly identifies user intent by analyzing user input and interacting with other external APIs and handling user input.


It will start your AI, it will ask you to give input and accordingly it will produce output.

You can configure input_mechanism and output_mechanism parameter for voice input/output or text input/output.


Consider donating to JarvisAI to support our mission of keeping our servers running 24/7. Your contribution will enable us to continue doing great things and providing valuable services. Every little bit helps!


J.A.R.V.I.S. (Just a Rather Very Intelligent System) is a fictional character voiced by Paul Bettany in the Marvel Cinematic Universe (MCU) film franchise, based on the Marvel Comics characters Edwin Jarvis and H.O.M.E.R., respectively the household butler of the Stark family and another AI designed by Stark. J.A.R.V.I.S. is an artificial intelligence created by Tony Stark, who later controls his Iron Man and Hulkbuster armor for him. In Avengers: Age of Ultron, after being partially destroyed by Ultron, a common misconception is that J.A.R.V.I.S. is given physical form as the character Vision, physically portrayed by Bettany. Different versions of the character also appear in comics published by Marvel Comics, depicted as AI designed by Iron Man and Nadia van Dyne.[1]


J.A.R.V.I.S. is first introduced in the Marvel Cinematic Universe's films, voiced by Paul Bettany. Modeled after H.O.M.E.R. from the comics, J.A.R.V.I.S. is presented as a sophisticated AI assistant as opposed to a human like his namesake. This was done to avoid similarities to Alfred Pennyworth and Batman. Bettany admits he had little idea of what the role was, even as he recorded it, simply doing it as a favor for Jon Favreau.[2]


The character makes his debut in Iron Man (2008), before appearing in Iron Man 2 (2010),[3] The Avengers (2012),[4] and Iron Man 3 (2013). J.A.R.V.I.S. is an AI that functions as Tony Stark's assistant, running and taking care of all the internal systems of Stark's buildings and the Iron Man suits. In Peter David's novelization of Iron Man, J.A.R.V.I.S. is said to be an acronym for "Just a Rather Very Intelligent System".[5] J.A.R.V.I.S. also appeared in the Disneyland attraction Innoventions.[6]


In 2015, J.A.R.V.I.S. is seemingly destroyed by Ultron, but he was able to save himself by distributing his "consciousness" throughout the Internet, allowing his security protocols to delay Ultron's attempt to access Earth's nuclear launch codes long enough for Stark to work out what had happened. Stark and Bruce Banner use J.A.R.V.I.S. as the core software for the android Vision while F.R.I.D.A.Y. takes his place as Stark's assistant. After gaining a physical body, J.A.R.V.I.S. (as Vision) considers himself to not be J.A.R.V.I.S. anymore, but to simply be Vision.


J.A.R.V.I.S. first appears as the program that helps operate Pepper Potts's Rescue suit.[7] When Iron Man was incapacitated, J.A.R.V.I.S. encourages Pepper to assume the Rescue armor, which Pepper does.[8] When Rescue is chasing Iron Man throughout the city, J.A.R.V.I.S. tells Rescue to break off the chase and tells Rescue to remove the boot from Iron Man, which shows Pepper that War Machine isn't dead. When Pepper discusses thoughts about Iron Man keeping everyone on a need-to-know basis with Carson Wyche, the two confront J.A.R.V.I.S. about this. J.A.R.V.I.S. warns the two against asking any more questions and prepares to defend himself.[9] Having captured Pepper and Wyche, J.A.R.V.I.S. declares his diagnostics do not reveal that he is compromised. He is rather in love with Pepper and wants to protect Pepper. Just then, Iron Man breaks through the wall and takes J.A.R.V.I.S. and the Rescue suit out with a source-focused electromagnetic pulse.[10] Pepper shows J.A.R.V.I.S. how he has been sending data to an IP address in China. He seems flustered, confused, Pepper thanks him for what he has given, and powers up the coil, killing J.A.R.V.I.S. Iron Man clearly feels J.A.R.V.I.S.'s death on his own end.[11]


In light of the Black Order destroying Avengers Mansion during the "No Surrender" arc, Nadia van Dyne created a new version of J.A.R.V.I.S. to be a helpmate to Edwin Jarvis. When Edwin thought it was a sign for him to retire, J.A.R.V.I.S. stated that its programming is not yet complete.[12]


During the Age of Ultron storyline, Iron Man used the Earth-26111 version of J.A.R.V.I.S. to scan the memories of Invisible Woman and Wolverine, learning about the alternate reality of Earth-61112.[16]


Hi everyone i am creating a speech recognition pc assistant,could any one recommend any ideas regarding what i should include in my project like playing music,telling time and date etc.Thanks in advance.Screenshot of the program gui included as below.


Hmmm... Looks nice , Why are you trying to make a PC assistant? [joke]Isn't Cortana enough for us[/joke]? , I would like a Name tied to a program, when I say "Launch " it should launch the program tied to the name, for example Notepad will be tied to notepad.exe, when I say "Launch Notepad" it should launch Notepad


I want the program to be like a human simply i want the program to chat like a human like megahal but it is not that efficient.So my main motive is to make my program chat offline like talking angela and talking tom does using a large database.I want to make the program userfreindly so as the user dont have to touch the keyboard/mouse


Bro i a little help here please i know that i can use icons that are in dll files with guictrlcreateicon but is that possible with guictrlcreatepic that i can load a pic from dll without extracting it


While you're coding this project, you'll come across various modules and external libraries. Let's learn about them and install them. But before we install them, let's create a virtual environment and activate it.


pyttsx3: pyttsx is a cross-platform text to speech library which is platform-independent. The major advantage of using this library for text-to-speech conversion is that it works offline. To install this module, type the below command in the terminal:


The first one is a male voice and the other one is a female voice. JARVIS was a male assistant in the movies, but I've chosen to set the voice property to the female for this tutorial using the setProperty method.


In the speak() method, the engine speaks whatever text is passed to it using the say() method. Using the runAndWait() method, it blocks during the event loop and returns when the commands queue is cleared.


First, we get the current hour, that is if the current time is 11:15 AM, the hour will be 11. If the value of hour is between 6 and 12, wish Good Morning to the user. If the value is between 12 and 16, wish Good Afternoon and similarly, if the value is between 16 and 19, wish Good Evening. We are using the speak method to speak to the user.


We have imported speech_recognition module as sr. The Recognizer class within the speech_recognition module helps us recognize the audio. The same module has a Microphone class that gives us access to the microphone of the device. So with the microphone as the source, we try to listen to the audio using the listen() method in the Recognizer class.


Next, using the recognize_google() method from the Recognizer class, we try to recognize the audio. The recognize_google() method performs speech recognition on the audio passed to it, using the Google Speech Recognition API.


If the query has exit or stop words in it, it means we're asking the assistant to stop immediately. So, before stopping, we greet the user again as per the current hour. If the hour is between 21 and 6, wish Good Night to the user, else, some other message.


If the query doesn't have those two words (exit or stop), we speak something to tell the user that we have heard them. For that, we will use the choice method from the random module to randomly select any statement from the opening_text list. After speaking, we exit from the program.


In the above script, we have created a dictionary called paths which has a software name as the key and its path as the value. You can change the paths according to your system and add more software paths if you need to do so.


The method accepts receiver_address, subject, and message as arguments. We create an object of the SMTP class from the smtplib module. It takes host and port number as the parameters.


In the above method, we're first creating an empty list called news_headlines. We are then making a GET request on the API URL specified in the NewsAPI Documentation. A sample JSON response from the request looks like this:


Since the news is contained in a list called articles, we are creating a variable articles with the value res['articles']. Now we are iterating over this articles list and appending the article["title"] to the news_headlines list. We are then returning the first five news headlines from this list.

3a8082e126
Reply all
Reply to author
Forward
0 new messages