Skip to content

Virtual Assistant project done in the Middlesex University with Dr. Nawaz Khan by scholarship of the ErasmusPlus program.

License

Notifications You must be signed in to change notification settings

bauyrzhanospan/VirtualAssistant

Repository files navigation

Virtual Assistant

Welcome to the Virtual Assistant project repository Virtual Assistant

SIGNIFICANT INFO

I will not answer any of your questions if you did not read the Wiki
You can find all information about the system in the Wiki Page
Seriously, read it, please. I spend a week to write it

Passport of the project

Virtual Assistant is the project of the Erasmus-Plus program students in the Middlesex University, London. The main idea of the system is to control Smart-Home environment with dialogue based control interface. The system is developed to to assists people with different preferences in their Activities of Daily Life (ADL). The system uses Graphical User Interface with text based dialogue window; speech recognition and text to speech generating software (Google API). Virtual Assistant uses pre-defined preferences based on age of the user profile with differentiated priorities of the needs including health, food, work, entertainment, security and energy consumption of the devices. Virtual Assistant passed the validation tests done by the developers and showed acceptable results in conflict resolution. The system uses Case-Based Reasoning module to resolve conflicts, Feed-Forward Artificial Neural Networks to classify orders of the users and the reasons of the orders. Place of the research Sunny Hill House, Middlesex University, London.

VirtAss demo page
Interface of the project.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

  1. Linux Uubuntu 16.04 (can be used any other Linux, but with other steps below)
  2. Git 2.7.4.
sudo apt install git
  1. Python 3.6 and PIP for Python 3.6.
sudo apt install python3-dev python3-pip
  1. Copy repository of the system to your machine:
git clone https://github.com/BiggyBaron/VirtualAssistant.git
cd VirtualAssistant
  1. Install all libraries:
sudo pip3 install -r requirements.txt
  1. Download Natural Language Toolkit database:
python3 install_nltk.py

Installing MySQL

  1. Update package index and packages:
sudo apt-get update
sudo apt-get upgrade
  1. Install MySQL:
sudo apt-get install mysql-server
  1. Set up MySQL (user=root, password="123"):
sudo mysql_secure_installation
  1. Check if MySQL is running:
systemctl status mysql.service
  1. Create MySQL database "virtass":
  • Enter to MySQL command line (password=123):
mysql -u root -p
  • Enter MySQL command to create it:
CREATE DATABASE virtass;
  1. Import database from repository:
cd VirtualAssistant/DataBaseBackup
mysql -u root -p virtass < virtass.sql

Running all system

To run all system, go to the repository folder and start main.py:

cd VirtualAssistant
python3 main.py

In browser open:
https://localhost:8090/
Or:
https://your_ip:8090/

Built With

Authors

  • Bauyrzhan Ospan
  • Mario Jose Quinde Li Say Tan
  • Kenzhegali Nurgaliyev

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

Bibliography