The configuration for the session.
| JSON representation |
|---|
{ "session": string, "inputAudioConfig": { object ( |
| Fields | |
|---|---|
session |
Required. The unique identifier of the session. Format: |
inputAudioConfig |
Optional. Configuration for processing the input audio. |
outputAudioConfig |
Optional. Configuration for generating the output audio. |
historicalContexts[] |
Optional. The historical context of the session, including user inputs, agent responses, and other messages. Typically, CES agent would manage session automatically so client doesn't need to explicitly populate this field. However, client can optionally override the historical contexts to force the session start from certain state. |
entryAgent |
Optional. The entry agent to handle the session. If not specified, the session will be handled by the |
deployment |
Optional. The deployment of the app to use for the session. Format: |
timeZone |
Optional. The time zone of the user. If provided, the agent will use the time zone for date and time related variables. Otherwise, the agent will use the time zone specified in the App.time_zone_settings. The format is the IANA Time Zone Database time zone, e.g. "America/Los_Angeles". |
useToolFakes |
Optional. Whether to use tool fakes for the session. If this field is set, the agent will attempt use tool fakes instead of calling the real tools. |
remoteDialogflowQueryParameters |
Optional. QueryParameters to send to the remote Dialogflow agent when the session control is transferred to the remote agent. |
enableTextStreaming |
Optional. Whether to enable streaming text outputs from the model. By default, text outputs from the model are collected before sending to the client. NOTE: This is only supported for text (non-voice) sessions via |
SessionConfig.RemoteDialogflowQueryParameters
QueryParameters to send to the remote Dialogflow agent when the session control is transferred to the remote agent.
| JSON representation |
|---|
{ "webhookHeaders": { string: string, ... }, "payload": { object }, "endUserMetadata": { object } } |
| Fields | |
|---|---|
webhookHeaders |
Optional. The HTTP headers to be sent as webhookHeaders in QueryParameters. An object containing a list of |
payload |
Optional. The payload to be sent in QueryParameters. |
endUserMetadata |
Optional. The end user metadata to be sent in QueryParameters. |