Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
The audio data bytes encoded as specified in the request. Note: The output audio is generated based on the values of default platform text responses found in the queryResult.response_messages field. If multiple default text responses exist, they will be concatenated when generating audio. If no default platform text responses exist, the generated audio content will be empty.
In some scenarios, multiple output audio fields may be present in the response structure. In these cases, only the top-most-level audio output has content.
Indicates whether the partial response can be cancelled when a later response arrives. e.g. if the agent specified some music as partial response, it can be cancelled.
ResponseType
Represents different DetectIntentResponse types.
Enums
RESPONSE_TYPE_UNSPECIFIED
Not specified. This should never happen.
PARTIAL
Partial response. e.g. Aggregated responses in a Fulfillment that enables return_partial_response can be returned as partial response. WARNING: partial response is not eligible for barge-in.
[[["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 2025-03-05 UTC."],[[["This document describes the structure and fields of the `DetectIntent` method's response, including details about its JSON representation."],["The `responseId` field uniquely identifies the response, aiding in training or issue reporting."],["`outputAudio` contains audio data encoded as specified in the request, generated from default text responses."],["`ResponseType` indicates if the response is partial or final, with `PARTIAL` responses ineligible for barge-in."],["The `allowCancellation` field indicates if a partial response can be canceled upon receiving a later response, such as canceling music playback."]]],[]]