type: meya.directly.component.understand.predict
class: DirectlyUnderstandPredictComponent
path: /meya/directly/component/understand/predict.py
signature: -
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
integration | ○ | ◉ | DirectlyIntegrationRef | ||
text | ○ | ◉ | str |
Examples
Basic
triggers:
- keyword: meya.directly.component.understand.predict
steps:
- type: meya.directly.component.understand.predict
integration: integration.directly
text: STRING
Full
triggers:
- keyword: meya.directly.component.understand.predict
steps:
- type: meya.directly.component.understand.predict
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
integration: integration.directly
text: STRING