GuidanceInstruction(mapping=None, *, ignore_unknown_fields=False, **kwargs)Guidance instruction for the companion agent.
Attributes |
|
|---|---|
| Name | Description |
display_name |
str
Optional. Display name for the instruction. This name should be unique within the companion agent. |
display_details |
str
Optional. The detailed description of this instruction. |
condition |
str
Optional. The condition of the instruction. For example, "the customer wants to cancel an order". If the users want the instruction to be triggered unconditionally, the condition can be empty. |
actions |
MutableSequence[google.cloud.dialogflow_v2.types.GuidanceInstruction.Action]
Optional. The action items that can be processed. |
trigger_event |
google.cloud.dialogflow_v2.types.CompanionAgent.TriggerEvent
Optional. Event that triggers the guidance instruction. If UNSPECIFIED, the instruction triggering will be the same as the skill's skill_triggering_event. |
disable_suggested_reply |
bool
Optional. Whether to disable suggested reply generation for this instruction. When set to true, guidance generated
from this instruction will not include a suggested reply.
Default is false (suggested reply enabled).
|
Classes
Action
Action(mapping=None, *, ignore_unknown_fields=False, **kwargs)Actions to take, including agent action and system action (automation).