============
Simple to use embedding of Google Voice Assistant.
- Test Google Voice Assistant
- Good manual
Clone this repo:
https://github.com/andreiliphd/marina-google-voice-assistant-embedding.git
I had problems with an official Google documentation. That's why I decided to provide additional screenshots to make life easier.
Official Google documentation can be found at Google Assistant SDK page.
- Go to Actions on Google. Add a new project. Provide a name of project and tune language and country settings.
- Enable Google Voice Assistant API.
- Fill in form in OAth consent screen.
- Register your model(device). . Don't forget to download key file.
- Install libraries. Google Voice Assistant works perfectly inside Anaconda environment.
sudo apt-get update
sudo apt-get install python3-dev
sudo apt-get install portaudio19-dev libffi-dev libssl-dev
pip install --upgrade google-assistant-sdk[samples]
pip install --upgrade google-auth-oauthlib[tool]
- Install OAth key that you generated in step 4.
google-oauthlib-tool --scope https://www.googleapis.com/auth/assistant-sdk-prototype \
--save --headless --client-secrets /path/to/client_secret_client-id.json
- Install packages that this repositary depends on.
conda install -c conda-forge python-sounddevice
pip install SoundFile
The rest of the packages usually installed inside Anaconda environment.
Just run cells.
Free