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

EndSession

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

Indicates the session has terminated, due to either successful completion (e.g. user says "Good bye!" ) or an agent escalation. The agent will not process any further inputs after session is terminated and the client should half-close and disconnect after receiving all remaining responses from the agent.

interface EndSession {
metadata?: {
[key: string]: any;
}
;
}

§Properties

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

Optional. Provides additional information about the end session signal, such as the reason for ending the session.