LanguageSettings
import type { LanguageSettings } from "https://googleapis.deno.dev/v1/ces:v1.ts";Language settings of the app.
interface LanguageSettings {
defaultLanguageCode?: string;
enableMultilingualSupport?: boolean;
fallbackAction?: string;
supportedLanguageCodes?: string[];
}§Properties
§
enableMultilingualSupport?: boolean
[src]Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
§
fallbackAction?: string
[src]Optional. The action to perform when an agent receives input in an unsupported language. This can be a predefined action or a custom tool call. Valid values are: - A tool's full resource name, which triggers a specific tool execution. - A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.