Class StreamingDetectIntentResponse (0.2.0)

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 .gcdc_session.StreamingRecognitionResult
The result of speech recognition.
detect_intent_response .gcdc_session.DetectIntentResponse
The response from detect intent.