Class QueryInput (0.1.1)

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

Represents the query input. It can contain either:

  1. A conversational query in the form of text.

  2. An intent query that specifies which intent to trigger.

Attributes

NameDescription
text .gcdc_session.TextInput
The natural language text to be processed.
intent .gcdc_session.IntentInput
The intent to be triggered.
audio .gcdc_session.AudioInput
The natural language speech audio to be processed.
language_code str
Required. The language of the input. See `Language Support