lifecycle

Element details

type: meya.lifecycle.trigger
class: LifecycleTrigger
path: /meya/lifecycle/trigger/trigger.py
signature: lifecycle_id

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.○○nullSpec
botBot used to evaluate this trigger.○○nullBotRef
actionAction executed if this trigger matches. Check the trigger action guide for more info.◉○TriggerActionEntry
ActionComponentSpec
when○○trueAny
confidenceOverride the default confidence with a custom value for trigger matches.○○nullReal
lifecycle_id◉◉str
text○○nullstr

Usage reference

Basic

triggers:
  - lifecycle_id: STRING
steps:
  - say: STRING

Full

type: meya.lifecycle.trigger
spec:
  type: STRING
  data:
    STRING: ANY
  timeout: 123
  trigger_when: ANY
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
lifecycle_id: STRING
text: STRING