Class DetectIntentRequest (0.8.2)

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

The request to detect user's intent. .. attribute:: session

Required. The name of the session this query is sent to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. 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 <https://cloud.google.com/dialogflow/cx/docs/concept/session>__.

Note: Always use agent versions for production traffic. See Versions and environments <https://cloud.google.com/dialogflow/cx/docs/concept/version>__.

:type: str

Attributes

NameDescription
query_params google.cloud.dialogflowcx_v3beta1.types.QueryParameters
The parameters of this query.
query_input google.cloud.dialogflowcx_v3beta1.types.QueryInput
Required. The input specification.
output_audio_config google.cloud.dialogflowcx_v3beta1.types.OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio.