SessionOutput
import type { SessionOutput } from "https://googleapis.deno.dev/v1/ces:v1.ts";Output for the session.
interface SessionOutput {
audio?: Uint8Array;
citations?: Citations;
diagnosticInfo?: SessionOutputDiagnosticInfo;
endSession?: EndSession;
googleSearchSuggestions?: GoogleSearchSuggestions;
payload?: {};
[key: string]: any;
text?: string;
toolCalls?: ToolCalls;
turnCompleted?: boolean;
turnIndex?: number;
}§Properties
§
diagnosticInfo?: SessionOutputDiagnosticInfo
[src]Optional. Diagnostic information contains execution details during the
processing of the input. Only populated in the last SessionOutput (with
turn_completed=true) for each turn.
§
endSession?: EndSession
[src]Indicates the session has ended.
§
googleSearchSuggestions?: GoogleSearchSuggestions
[src]The suggestions returned from Google Search as a result of invoking the GoogleSearchTool.