Skip to content

andreiliphd/marina-google-voice-assistant-embedding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marina

============

Simple to use embedding of Google Voice Assistant.


Features

  • Test Google Voice Assistant
  • Good manual

Setup

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.

  1. Go to Actions on Google. Add a new project. Provide a name of project and tune language and country settings. Add new project
  2. Enable Google Voice Assistant API. Enable API
  3. Fill in form in OAth consent screen. OAth consent screen
  4. Register your model(device). Device registration. Don't forget to download key file.
  5. 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]
  1. 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
  1. 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.


Usage

Just run cells.


License

Free

About

Simple code to embed Google Voice Assistant into your application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published