AgentRemoteDialogflowAgent constructor
Creates a new AgentRemoteDialogflowAgent.
agent The
environmentId The environment ID of the Dialogflow agent be used for the agent
flowId The flow ID of the flow in the Dialogflow agent.
inputVariableMapping The mapping of the app variables names to the Dialogflow session
outputVariableMapping The mapping of the Dialogflow session parameters names to the app
respectResponseInterruptionSettings 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 allowPlaybackInterruption set to true will be interruptable, all other messages follow the app-level barge-in settings.
Implementation
const AgentRemoteDialogflowAgent({
required this.agent,
this.environmentId,
required this.flowId,
this.inputVariableMapping,
this.outputVariableMapping,
this.respectResponseInterruptionSettings,
});