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

Chunk

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

A chunk of content within a message.

interface Chunk {
agentTransfer?: AgentTransfer;
defaultVariables?: {
[key: string]: any;
}
;
image?: Image;
payload?: {
[key: string]: any;
}
;
text?: string;
toolCall?: ToolCall;
toolResponse?: ToolResponse;
transcript?: string;
updatedVariables?: {
[key: string]: any;
}
;
}

§Properties

§
agentTransfer?: AgentTransfer
[src]

Optional. Agent transfer event.

§
defaultVariables?: {
[key: string]: any;
}
[src]

A struct represents default variables at the start of the conversation, keyed by variable names.

§
image?: Image
[src]

Optional. Image data.

§
payload?: {
[key: string]: any;
}
[src]

Optional. Custom payload data.

§
text?: string
[src]

Optional. Text data.

§
toolCall?: ToolCall
[src]

Optional. Tool execution request.

§
toolResponse?: ToolResponse
[src]

Optional. Tool execution response.

§
transcript?: string
[src]

Optional. Transcript associated with the audio.

§
updatedVariables?: {
[key: string]: any;
}
[src]

A struct represents variables that were updated in the conversation, keyed by variable names.