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

TriggerAction

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

Action that is taken when a certain precondition is met.

interface TriggerAction {
generativeAnswer?: TriggerActionGenerativeAnswer;
respondImmediately?: TriggerActionRespondImmediately;
}

§Properties

§

Optional. Respond with a generative answer.

§

Optional. Immediately respond with a preconfigured response.

§

Optional. Transfer the conversation to a different agent.