Module: Google::Cloud::Dialogflow::V2::StreamingRecognitionResult::MessageType

Defined in:
lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/session.rb

Overview

Type of the response message.

Constant Summary collapse

MESSAGE_TYPE_UNSPECIFIED =

Not specified. Should never be used.

0
TRANSCRIPT =

Message contains a (possibly partial) transcript.

1
END_OF_SINGLE_UTTERANCE =

Event indicates that the server has detected the end of the user's speech utterance and expects no additional speech. Therefore, the server will not process additional audio (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This message is only sent if single_utterance was set to true, and is not used otherwise.

2