RemoteDialogflowAgent(mapping=None, *, ignore_unknown_fields=False, **kwargs)The agent which will transfer execution to a remote Dialogflow
CX <https://docs.cloud.google.com/dialogflow/cx/docs/concept/agent>__
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.
Attributes |
|
|---|---|
| Name | Description |
agent |
str
Required. The Dialogflow __
agent resource name. Format:
projects/{project}/locations/{location}/agents/{agent}
|
flow_id |
str
Optional. The flow ID of the flow in the Dialogflow agent. |
environment_id |
str
Optional. The environment ID of the Dialogflow agent to be used for the agent execution. If not specified, the draft environment will be used. |
input_variable_mapping |
MutableMapping[str, str]
Optional. The mapping of the app variables names to the Dialogflow session parameters names to be sent to the Dialogflow agent as input. |
output_variable_mapping |
MutableMapping[str, str]
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. |
respect_response_interruption_settings |
bool
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.
|
Classes
InputVariableMappingEntry
InputVariableMappingEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
OutputVariableMappingEntry
OutputVariableMappingEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |