Virtual Assistant is a voice commanding assistant service. It can recognize human speech, talk to user and execute basic
commands.
Tested and working on Windows 10.
Clone the repository
git clone https://github.com/Kowalski1024/Virtual-Assistant.git
Create virtual environment, for example
python -m venv venv
Activate virtual environment
.\venv\Scripts\activate
Install application dependencies
pip install -r requirements.txt
Install pyaudio
pip install pipwin
pipwin install pyaudio
or download and install from here.
Run the assistant
python .\run.py
python -m unittest discover -s .\assistant\tests\
Assistant will activate when the user presses a keyboard shortcut win+w
, there will be a sound effect indicating that
the assistant is waiting for speech input.
Below is a list of voice commands that activate a specific assistant skill. All skills can be found in the registry.py file, and more information on how they work can be found in the collection dictionary.
voice
- changes the assistant's replay mode to voicetext
- changes the assistant's replay mode to text
wikipedia
- searches given keyword on Wikipediaopen
- opens a web page in the browsersearch
- opens google.com with search results for given keywordsynonyms
- displays synonyms for the word the user specified
weather
- gets weather for given city
remind
- creates a simple reminder for the given time interval (seconds or minutes or hours)
show calendar
- gets events from Outlook Calendar in given rangeadd event
- creates an event in Outlook calendar
send email
- creates an email based on user input, sends it or saves as draft or cancels it