Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit d5091b0

Browse files
committed
Adds device_model_id flag to library README
Bug: 71593532 Change-Id: I574ed33ccc25e743dfba69250a4c28f460737ad7
1 parent e0e8bd8 commit d5091b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

google-assistant-sdk/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ This reference sample implements a simple but functional client for the `Google
115115

116116
- Run the push to talk sample. The sample records a voice query after a key press and plays back the Google Assistant's answer::
117117

118-
googlesamples-assistant-pushtotalk --device-id 'my-device-identifier'
118+
googlesamples-assistant-pushtotalk --device-model-id 'my-device-model' --device-id 'my-device-identifier'
119119

120120
- Try some Google Assistant voice query like "What time is it?" or "Who am I?".
121121

122122
- Try a device action query like "Turn <nickname / model product name> on".
123123

124124
- Run in verbose mode to see the gRPC communication with the Google Assistant API::
125125

126-
googlesamples-assistant-pushtotalk --device-id 'my-device-identifier' -v
126+
googlesamples-assistant-pushtotalk --device-model-id 'my-device-model' --device-id 'my-device-identifier' -v
127127

128128
googlesamples-assistant-hotword
129129
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -137,7 +137,7 @@ This reference sample implements a simple but functional client for the `Google
137137

138138
- Try the hotword sample::
139139

140-
googlesamples-assistant-hotword
140+
googlesamples-assistant-hotword --device_model_id 'my-model-identifier'
141141

142142
For Maintainers
143143
---------------

google-assistant-sdk/googlesamples/assistant/library/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Run the sample
5656

5757
- Run the hotword sample. The sample waits for the "Ok Google" hotword, then records a voice query and plays back the Google Assistant's answer::
5858

59-
python -m hotword
59+
python -m hotword --device_model_id 'my-model-identifier'
6060

6161
Troubleshooting
6262
---------------

0 commit comments

Comments
 (0)