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

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

§
defaultLanguageCode?: string
[src]

Optional. The default language code of the app.

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

§
supportedLanguageCodes?: string[]
[src]

Optional. List of languages codes supported by the app, in addition to the default_language_code.