Class QueryInput (0.2.0)

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

Represents the query input. It can contain one of:

  1. A conversational query in the form of text.

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

  3. Natural language speech audio to be processed.

  4. An event to be triggered.

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.
event .gcdc_session.EventInput
The event to be triggered.
dtmf .gcdc_session.DtmfInput
The DTMF event to be handled.
language_code str
Required. The language of the input. See `Language Support