type: meya.google.dialogflow.component.detect
class: DialogflowDetectComponent
path: /meya/google/dialogflow/component/detect.py
signature: detect_dialogflow
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
integration | ○ | ◉ | DialogflowIntegrationRef | ||
language | ○ | ○ | str | null | |
intent | ○ | ○ | str | null | |
intent_regex | ○ | ○ | str | null | |
min_confidence | ○ | ○ | Real | 0.75 | |
max_confidence | ○ | ○ | Real | 1.0 | |
input_context | ○ | ○ | bool | true | |
context | ○ | ○ | dict | {} | Send context data with this component's event |
sensitive | ○ | ○ | bool | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
detect_dialogflow | ◉ | ◉ | str |
Examples
Basic
triggers:
- keyword: meya.google.dialogflow.component.detect
steps:
- integration: integration.dialogflow
detect_dialogflow: STRING
Full
triggers:
- keyword: meya.google.dialogflow.component.detect
steps:
- spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
integration: integration.dialogflow
language: STRING
intent:
- item1
- item2
intent_regex: STRING
min_confidence: 123
max_confidence: 123
input_context: STRING
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
detect_dialogflow: STRING