Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SessionConfig

import type { SessionConfig } from "https://googleapis.deno.dev/v1/ces:v1.ts";

The configuration for the session.

interface SessionConfig {
deployment?: string;
entryAgent?: string;
historicalContexts?: Message[];
inputAudioConfig?: InputAudioConfig;
outputAudioConfig?: OutputAudioConfig;
remoteDialogflowQueryParameters?: SessionConfigRemoteDialogflowQueryParameters;
timeZone?: string;
}

§Properties

§
deployment?: string
[src]

Optional. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}

§
entryAgent?: string
[src]

Optional. The entry agent to handle the session. If not specified, the session will be handled by the root agent of the app. Format: projects/{project}/locations/{location}/agents/{agent}

§
historicalContexts?: Message[]
[src]

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.

§
inputAudioConfig?: InputAudioConfig
[src]

Optional. Configuration for processing the input audio.

§
outputAudioConfig?: OutputAudioConfig
[src]

Optional. Configuration for generating the output audio.

§
remoteDialogflowQueryParameters?: SessionConfigRemoteDialogflowQueryParameters
[src]

Optional. QueryParameters to send to the remote Dialogflow agent when the session control is transferred to the remote agent.

§
timeZone?: string
[src]

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".