MacでGoogle Assistant SDKを動かす

More than 1 year has passed since last update.

Google Homeがどんなものか知りたくて、以下を参考にGoogle Assistant SDKをMacで動かしてみました。

  • OS X 10.11.6 (El Capitan)
  • python 3.6 (anaconda)

How to get Google Assistant on your Windows, Mac, or Linux Machine

2017/10/09 現在、導入はこれでOKだったのですが、アシスタントを動かすコマンドは googlesamples-assistant-pushtotalk となっていました。

$ googlesamples-assistant-pushtotalk
INFO:root:Connecting to
2017-10-09 10:44:21.699 python[74442:7690850] 10:44:21.698 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
Press Enter to send a new request...
INFO:root:Recording audio request.
INFO:root:End of audio request detected
INFO:root:Transcript of user request: "OK Google good morning".
INFO:root:Playing assistant response.
WARNING:root:SoundDeviceStream write underflow (size: 1600)
INFO:root:Finished playing assistant response.
Press Enter to send a new request...