/AI_assistant

A voice assistant or intelligent personal assistant is a software agent that can perform tasks or services for an individual based on verbal commands i.e. by interpreting human speech and respond via synthesized voices. Users can ask their assistants’ questions, control home automation devices, and media playback via voice, and manage other basic tasks such as email, to-do lists, open or close any application etc with verbal commands.

Primary LanguagePython

AI Assistant

![Image of Yaktocat] (https://cdn.prdaily.com/wp-content/uploads/2019/01/Artificial_Intelligence_Assistant.jpg) Python-written software agent that can perform tasks or services for an individual based on verbal commands i.e. by interpreting human speech and respond via synthesized voices.

Supported commands

  • Are you a robot?
  • What is the weather for today in Lviv?
  • Are you intelligent?
  • Open Google and search for Ukrainian Catholic University
  • What do you dream about?
  • Hey Siri, please open Google
  • How old are you?
  • Send email to my friend
  • What are you made of?
  • Tell me the recent news
  • What’s your favorite color?
  • Please flip a coin for me
  • What is your favorite animal?
  • Calculate 10 times 4 plus 6 minus 2 divided by 4
  • What are you scared of?
  • Change my name to Andrew
  • Do you have any pets?
  • What time is it now?
  • What are you doing?
  • What date is it today?
  • Do you have a boyfriend?
  • Can I kiss you?
  • What are you wearing?

Getting Started

These instructions will get you started and running on your local machine. Enjoy my program!

Prerequisites

In oder to start, you need to install following libraries on your local machine or install them from requirements.txt.

pip install smtplib
pip install gtts
pip install pygame
pip install newsapi
pip install smtplib
pip install speech_recognition

To run the program

A step by step guide to run the AI Assistant

Run the main.py file.
Greet AI Assistant.
Keep the conversation :)
Enjoy!

Running the program

Installation

$ git clone https://github.com/romek-ucu/AI_assistant.git
$ cd AI_assistant
$ pip install -r requirements.txt

Modules

  • ADT - Abstract Data Type to work with news articles
  • read_answers.pt - Reads available answers and picks one
  • calc_math.py - Calculates math expressions and return the result
  • find_song.py - Searchs for song
  • listen.py - Operates the voice and converts it to string
  • mail.py - Sends email
  • news.py - Searchs for recents news
  • talk.py - Converts string to audio and plays it
  • weather.py - Looks for the weather in the stated city
  • main.py - main file app

Summary

All in all, this software agent is a great way to smooth your interaction with computer.

Also, it provides a convenient way to interact with PC for people with bad eye sight.

Enjoy the program!

Authors

  • Roman Bilets - Initial work - UCU IT&BA Student

License

This project is licensed under the UCU License.

All rights reserved.