0

I am using the new sdk for the google assistant along with the new commands for it (python -m googlesamples.assistant.grpc.audio_helpers and python -m googlesamples.assistant.grpc.pushtotalk) it always passes the test but keeps coming up with this error when I try to use it.

C:\Users\oliverdavison>python -m googlesamples.assistant.grpc.pushtotalk
INFO:root:Connecting to embeddedassistant.googleapis.com
WARNING:root:Device config not found: [Errno 2] No such file or directory: 'C:\\Users\\oliverdavison\\AppData\\Roaming\\googlesamples-assistant\\device_config.json'
INFO:root:Registering device
ERROR:root:Option --device-model-id required when registering a device instance.

1 Answers1

0

You need to follow this guide to use the Actions console to register a device model id, after which you will use as a flag in your command line.

C:\Users\oliverdavison>python -m googlesamples.assistant.grpc.pushtotalk \
  --device-model-id <my-device-model-id>
Nick Felker
  • 11,536
  • 1
  • 21
  • 35