Element details
type: meya.directly.trigger.understand
class: DirectlyUnderstandTrigger
path: /meya/directly/trigger/understand.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
bot | Bot used to evaluate this trigger. | ○ | ○ | null | BotRef |
action | Action executed if this trigger matches. Check the trigger action guide for more info. | ◉ | ○ | TriggerActionEntry ActionComponentSpec | |
when | Custom condition for when to evaluate this trigger. Check the trigger when guide for more info. | ◉ | ○ | typing.Any | |
confidence | Override the default confidence with a custom value for trigger matches. | ○ | ○ | null | Real |
integration | ◉ | ○ | DirectlyIntegrationRef | ||
language | ○ | ○ | null | str | |
Usage reference
Basic
triggers:
- type: meya.directly.trigger.understand
when: ANY
integration: integration.directly
steps:
- say: STRING
Full
type: meya.directly.trigger.understand
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
integration: integration.directly
language: STRING