StreamingDetectIntentResponse(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)The top-level message returned from the StreamingDetectIntent
method.
Multiple response messages can be returned in order:
If the input was set to streaming audio, the first one or more messages contain
recognition_result. Eachrecognition_resultrepresents a more complete transcript of what the user said. The lastrecognition_resulthasis_finalset totrue.If
enable_partial_responseis true, the following N messages (currently 1 <= N <= 4) containdetect_intent_response. The first (N-1)detect_intent_response\ s will haveresponse_typeset toPARTIAL. The lastdetect_intent_responsehasresponse_typeset toFINAL. Ifresponse_typeis false, response stream only contains the finaldetect_intent_response.
Attributes |
|
|---|---|
| Name | Description |
recognition_result |
google.cloud.dialogflowcx_v3.types.StreamingRecognitionResult
The result of speech recognition. |
detect_intent_response |
google.cloud.dialogflowcx_v3.types.DetectIntentResponse
The response from detect intent. |