This is a personal Assistant AI "Friday".
An AI personal assistant is a piece of software that understands verbal or written commands and completes task assigned by the client. It is an example of weak AI that is it can only execute and perform quest designed by the user.
With the python programming language, a script most commonly used by the developers can be used to build your personal AI assistant to perform task designed by the users.
The implemented voice assistant can perform the following task it can open YouTube, Gmail, Google chrome and stack overflow. Predict current time, take a photo, search Wikipedia to abstract required data, predict weather in different cities, get top headline news from Times of India and can answer computational and geographical questions too.
The following queries of the voice assistant can be manipulated as per the users need.
To build a personal voice assistant it’s necessary to install the following packages in your system using the pip command.
- Speech recognition — Speech recognition is an important feature used in house automation and in artificial intelligence devices. The main function of this library is it tries to understand whatever the humans speak and converts the speech to text.
- pyttsx3 — pyttxs3 is a text to speech conversion library in python. This package supports text to speech engines on Mac os x, Windows and on Linux.
- wikipedia — Wikipedia is a multilingual online encyclopedia used by many people from academic community ranging from freshmen to students to professors who wants to gain information over a particular topic. This package in python extracts data’s required from Wikipedia.
- ecapture — This module is used to capture images from your camera.
- datetime — This is an inbuilt module in python and it works on date and time.
- os — This module is a standard library in python and it provides the function to interact with operating system.
- time — The time module helps us to display time.
- Web browser — This is an in-built package in python. It extracts data from the web.
- Subprocess — This is a standard library use to process various system commands like to log off or to restart your PC.
- Json- The json module is used for storing and exchanging data.
- request- The request module is used to send all types of HTTP request. Its accepts URL as parameters and gives access to the given URL’S.
- wolfram alpha — Wolfram Alpha is an API which can compute expert-level answers using Wolfram’s algorithms, knowledge base and AI technology. It is made possible by the Wolfram Language.
https://towardsdatascience.com/how-to-build-your-own-ai-personal-assistant-using-python-f57247b4494b