A Python3 speech assistant bot using the SpeechRecognition library and Google's Text-to-Speech API.
Here are the commands that currently exist (see respond.txt
):
- What is your name?
- Where are you from?
- Who is your creator?
- What time is it?
- What is today's date?
- What day of the week is it?
- Search for pictures of
<Search Term>
- Search for videos of
<Search Term>
- Where is
<Search Term>
- Search for
<Search Term>
- Flip a coin.
- Roll the dice.
- Pick a card.
To install the dependencies, run:
pip3 install -r requirements.txt
Alternatively, you can install individually:
pip3 install speechrecognition
pip3 install pyaudio
pip3 install playsound
pip3 install PyObjC
pip3 install color
If you experience trouble while install pyaudio
, install Homebrew and do the following:
brew update
brew install portaudio
brew link --overwrite portaudio
In the repo directory, run the following in your terminal:
python3 main.py