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

AgentRemoteDialogflowAgent

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

The agent which will transfer execution to a remote Dialogflow CX agent. The Dialogflow agent will process subsequent user queries until the session ends or flow ends, and the control is transferred back to the parent CES agent.

interface AgentRemoteDialogflowAgent {
agent?: string;
environmentId?: string;
flowId?: string;
inputVariableMapping?: {
[key: string]: string;
}
;
outputVariableMapping?: {
[key: string]: string;
}
;
respectResponseInterruptionSettings?: boolean;
}

§Properties

§
agent?: string
[src]

Required. The Dialogflow agent resource name. Format: projects/{project}/locations/{location}/agents/{agent}

§
environmentId?: string
[src]

Optional. The environment ID of the Dialogflow agent to be used for the agent execution. If not specified, the draft environment will be used.

§
flowId?: string
[src]

Optional. The flow ID of the flow in the Dialogflow agent.

§
inputVariableMapping?: {
[key: string]: string;
}
[src]

Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input.

§
outputVariableMapping?: {
[key: string]: string;
}
[src]

Optional. The mapping of the Dialogflow session parameters names to the app variables names to be sent back to the CES agent after the Dialogflow agent execution ends.

§
respectResponseInterruptionSettings?: boolean
[src]

Optional. Indicates whether to respect the message-level interruption settings configured in the Dialogflow agent. * If false: all response messages from the Dialogflow agent follow the app-level barge-in settings.

  • If true: only response messages with allow_playback_interruption set to true will be interruptable, all other messages follow the app-level barge-in settings.