Class DetectIntentRequest (0.2.0)

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

The request to detect user's intent.

Attributes

NameDescription
session str
Required. The name of the session this query is sent to. Format: projects/ or projects/. If Environment ID is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate Session ID. It can be a random number or some type of session identifiers (preferably hashed). The length of the Session ID must not exceed 36 characters. For more information, see the `sessions guide
query_params .gcdc_session.QueryParameters
The parameters of this query.
query_input .gcdc_session.QueryInput
Required. The input specification.
output_audio_config .audio_config.OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio.