Class StreamingDetectIntentResponse (0.4.1)

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:

  1. If the input was set to streaming audio, the first one or more messages contain recognition_result. Each recognition_result represents a more complete transcript of what the user said. The last recognition_result has is_final set to true.

  2. The last message contains detect_intent_response.

Attributes

NameDescription
recognition_result google.cloud.dialogflowcx_v3beta1.types.StreamingRecognitionResult
The result of speech recognition.
detect_intent_response google.cloud.dialogflowcx_v3beta1.types.DetectIntentResponse
The response from detect intent.