Python Digital Assistant
Assist as per the user's query
Hello World!!!
In this article, we are going to discuss how to create a personal assistant in Python, which can respond as per the user query.👍
Before we start, how to build it. Let's see what it can do.
In this, the user can ask the query in two ways:
- Type✍
- Speak🗣
And, based on the query, the assistant responds. Obviously, there are two ways it can respond.
- Successful message
- Error message
as shown below:
Now, Let's see how to build it.✌✌
Prerequisite:
- Any Code IDE (I used Pycharm editor.)
- Good Processing PC with Python environment
- WolframAlpha and Wikipedia modules (API)
- pyttsx3 module (For Assistant to speak)
- Tkinter module (GUI)
- speech_recognition module (Listen and Read Audio)
- pyaudio module
- Patience and focus
APP ID:
Create AppID in WolframAlpha using (developer.wolframalpha.com/portal/myapps)
Once the app Id is created, now we can use the module to perform the user's query.
Code:
You can get the full code from the Github repository.
How to Run it:
You can find the demo from here.
Drop a star⭐⭐⭐ if you find it useful.
Thank you for reading, I would love to connect with you at Twitter | LinkedIn
Do share your valuable suggestions, I appreciate your honest feedback!
See you in my next Blog article, Take care!!!
No Comments Yet