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

how to get supplemental_display_text in all responses? #391

Open
prvsousa opened this issue Mar 4, 2020 · 3 comments
Open

how to get supplemental_display_text in all responses? #391

prvsousa opened this issue Mar 4, 2020 · 3 comments

Comments

@prvsousa
Copy link

prvsousa commented Mar 4, 2020

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?

@Fleker
Copy link
Contributor

Fleker commented Mar 4, 2020

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.

@prvsousa
Copy link
Author

prvsousa commented Mar 4, 2020

How can I enable it ?

Thank you

@Fleker
Copy link
Contributor

Fleker commented Mar 4, 2020

The --display true which you can then get.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants