1

With the ON_RECOGNIZING_SPEECH_FINISHED event, the user's query is obtained in text. But how do you get a text response of the Assistant's reply ? Is there any text field in ON_RESPONDING_FINISHED event. I want to display the assistant's reply, how is that possible ?

mukilane
  • 302
  • 3
  • 9

1 Answers1

0

There is not a way to do this as of the Google Assistant Service developer preview v1alpha2.

See this similar StackOverflow question for more context: How to receive answer from Google Assistant as a String, not as an audio stream

Update 4/18/18: You might want to check out supplemental_display_text. It's not a transcription of the audio, but works pretty well in many cases.

J Wang
  • 2,075
  • 1
  • 20
  • 26