assistant-sdk-python
assistant-sdk-python copied to clipboard
how to get supplemental_display_text in all responses?
Hi. I'm using the command:
python -m pushtotalk --device-id RaspberryPI --device-model-id RaspberryPI -v to talk with the google assistant. However, I need to get always the response of the assistant in text... Even if I can the sound with an answer, sometimes i don't get the supplemental_display_text.
Sometimes I only get:
DEBUG:root:AssistResponse: dialog_state_out { microphone_mode: CLOSE_MICROPHONE }
There is something solution for this?
The display text is supplemental, and there is no way to force the response. One alternative is to enable HTML output and then parse the HTML for the text.
How can I enable it ?
Thank you
The --display true
which you can then get.