Build Your Own Jarvis Or Alexa
Part 1: Introduction & Overview
3 min read
You have probably come across Jarvis If you watched Iron Man or are a part of the MCU fandom and specifically the Avengers. J.A.R.V.I.S was always ready to help Stark and willing to do what he asked. He was also well informed and logical as he was an
In this min-series, we shall build something similar to Jarvis but using Python and not using the complicated machine learning libraries.
Just A Rather Very Intelligent System (J.A.R.V.I.S.) was originally Tony Stark's natural-language user interface computer system, named after Edwin Jarvis, in honour of the butler who worked for Howard Stark and the Stark household.
On the other hand, Alexa is a voice-controlled virtual assistant. She can play audio, control your smart home, answer questions and engage your favourite services to keep you organized, informed, safe, connected and entertained.
We shall call our virtual assistant
Exie. At the end of this series, Exie should at least be able to perform some of the following actions if not all.
Wish me some good messages etc.. or greetings.
Tells the current time or date or month or day [e.g. 'tell me time or date or day or month']
Opens a web page [e.g. 'open google, 'open youtube', 'open stack overflow']
Tells about general questions [e.g. 'what is the length of great wall of china', 'who is Nelson Mandela']
Play music on Youtube [e.g. 'play so high', 'play bad boys']
Increase/decrease the speakers master volume and also can mute speakers volume [e.g. 'volume up', 'volume down']
Tells the internet speed i.e., upload and download speed [e.g. 'What's my internet speed']
Tells the weather for a particular city [e.g. 'tell me the weather in Mbarara Uganda']
Opens MS Office suite applications [e.g. 'open word', 'open powerpoint']
Set an alarm [e.g. 'set an alarm']
Write notes for reminder [e.g. 'write a note']
Read notes [e.g. 'read notes']
Search on wikipedia [e.g. 'Bobi Wine wikipedia', 'Amazon wikipedia']
Guide us about something [e.g. 'how to drive a car', 'how to become an engineer']
Clean the Recycle Bin [e.g. 'clear the recycle bin']
Tells Jokes [e.g. 'tell me a joke']
Do Arithmetic operations [e.g. 'calculate five plus three hundred plus twenty five' or 'calculate 5 + 300 + 25']
Convert currency [e.g. 'convert currency']
Take screenshots [e.g. 'take a screenshot']
Tells Poems [e.g. 'tell me a poem']
Close applications [e.g. 'close pycharm', 'close google chrome', 'close spotify']
Open applications [e.g. 'open eclipse', 'open notepad', 'open firefox']
Shutdown or Restart computer [e.g. 'shutdown computer', 'restart computer']
Searching anything on the internet [e.g. 'search Python', 'search Uganda']
If we can code all these sub-modules, then we shall be good to go with Exie.
I will be testing all this on a Windows environment and therefore my Exie might only be able to work well in that environment.
We shall start real coding in the next article in this series, you may want to follow me to keep updated on these instalments.
In the next article, we shall do hands-on and see also look at the various tools we shall need in order to get going.
Once again, hope you learned something today from my little closet.
Please consider subscribing or following me for related content, especially about Tech, Python & General Programming.
You can show extra love by buying me a coffee to support this free content and I am also open to partnerships, technical writing roles, collaborations and Python-related training or roles.