Skip to content

A custom personal assistant like Alexa and Siri based on python

Notifications You must be signed in to change notification settings

QizaiMing/maryai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaryAI

A personal assistant like Alexa and Siri based on Python
Requirements

  • A working microphone plugged in

Installation (inside virtualvenv recommended)

pip install -r requirements.txt
python mary.py

Additional Config

#actions.py
CITY=your_city_of_choice

Available Commands
In order to execute a command you should say "Mary" when you ask for something, it doesn't matter the order, you just have to call her by her name.

  • Tell the time: KEYWORD = "time". Example: "Hey Mary, what time is it?".
  • Tell the weather: KEYWORD = "weather". Example: "Hey Mary, how is the weather?" (default city is "caracas" but you can edit it as shown above).
  • What day is today: KEYWORD = "today". Example: "Hey Mary, what day is today?".
  • Tell a joke: KEYWORD = "joke". Example: "Hey Mary, tell me a joke".
  • Set a reminder: KEYWORDS = "reminder", "(a number)", "(minutes or hours)". Example: "Hey Mary, set a reminder in 45 minutes".
  • Google a definition: KEYWORDS = "google", "(word you want to google)". Example: "Hey Mary, google democracy" (the order matters in this one since Mary will take the word righ after "google" and search for it. Sentences like "Hey Mary, google ABOUT democracy" won't work).

Tools:
- Pyttsx3 Python Package
- Speech Recognition Python Package
- Pyaudio Python Package
- Wikipedia Python Package

About

A custom personal assistant like Alexa and Siri based on python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages