Friday, July 24, 2020

Get Fun with Google Assistant

I first time read about it from Inquirer post of a Mod of Intercom device. And here is the Youtube clip: l
So I started to read about Google Assistant SDK. So basically there are two choices, based on what hardware platform you have: 1) with a Python-based library; 2) use gRPC API.
The Python lib option is a turnkey solution for anyone who wants to quickly integrate the Assistant into a prototype device. It supports linux-armv7l(include Raspberry Pi3) and linux-x86_64. gRPC is a modern open source high performance RPC framework that can run in any environment. It was initially created by Google, and was turned to open source in 2015.

For the Python solution, refer instruction here. If run into problem with 'python3 -m venv env', make sure the 'env' folder does not exist, also, refer to this stackoverflow post. If you already had done this step before, and want to upgrade, rename the old folder in case you have config/json file or code there, run the venv command, then copy over config file and your code after that.

0 Comments:

Post a Comment