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

Callback

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

A callback defines the custom logic to be executed at various stages of agent interaction.

interface Callback {
description?: string;
disabled?: boolean;
pythonCode?: string;
}

§Properties

§
description?: string
[src]

Optional. Human-readable description of the callback.

§
disabled?: boolean
[src]

Optional. Whether the callback is disabled. Disabled callbacks are ignored by the agent.

§
pythonCode?: string
[src]

Required. The python code to execute for the callback.