Skip to content

tryout for a voice assistant, which does a couple of things if you are reaaaaaally busy with something.

Notifications You must be signed in to change notification settings

stobinaator/virtual-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup


  1. Create new environment with python>=3.7.7
  2. Execute this command: pip install -r requirements.txt
  3. Lastly, start the assistant with python __init__.py

Functionality


B - browser
C - console

  1. How are you?
  2. What time is it?
  3. Who made you?
  4. Where is? - Google Maps (B).
  5. What is the weather in? - OpenWeatherMap (C).
  6. Search? - Google (B).
  7. Calendar? - GCal (show next 5/10 events) (C).
  8. Sites? -> list possibilities.
  9. "Reddit"/"Golem" etc. to choose which site to open BY NAME (B).
  10. Open - Spotify/Messenger.
  11. Chuck Norris? - get a random joke (C).
  12. Numbers? - random number facts (C).
  13. Advice? - random advice (C).
  14. Who is + 2 names? - wikipedia (C)
  15. Stop Listening/Thank you.

CHANGES


  • used to open browser like that location_url = "https://www.google.com/search?q=" + sentence site_arg = '/usr/bin/open -a "/Applications/Brave Browser.app" ' + location_url os.system(site_arg)

-> changed to: webbrowser.open(URL)

  • Pick a random name from a list to call me.
  • changed "news" to be "sites" command.
  • changed the site references from triggers "1/2/3" to their respective names "reddit/golem" etc.
  • changed some variables to constants.
  • added a configurations file, moved the constants there.
  • added json file for the greeting names/responses.
  • added a requirements file.

Releases

No releases published

Packages

No packages published

Languages