Class QueryInput (2.0.0)

QueryInput(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.
  2. A conversational query in the form of text,.

  3. An event that specifies which intent to trigger.

Attributes

NameDescription
audio_config .gcd_audio_config.InputAudioConfig
Instructs the speech recognizer how to process the speech audio.
text .gcd_session.TextInput
The natural language text to be processed.
event .gcd_session.EventInput
The event to be processed.