Reference documentation and code samples for the Dialogflow V2 API module Google::Cloud::Dialogflow::V2::StreamingRecognitionResult::MessageType.
Type of the response message.
Constants
MESSAGE_TYPE_UNSPECIFIED
value: 0 Not specified. Should never be used.
TRANSCRIPT
value: 1 Message contains a (possibly partial) transcript.
END_OF_SINGLE_UTTERANCE
value: 2 Event indicates that the server has detected the end of the user's speech
utterance and expects no additional inputs.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]