google.dialogflow

type: meya.google.dialogflow.trigger
class: DialogflowTrigger
path: /meya/google/dialogflow/trigger/trigger.py
signature: expect

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

integration

DialogflowIntegrationRef

language

str

null

intent

str
list
NoneType

null

intent_regex

str

null

min_confidence

Real

0.75

max_confidence

Real

1.0

input_context

bool
str
list
NoneType

true

bot

BotRef

null

Bot used to evaluate this trigger

action

TriggerActionEntry
ActionComponentSpec

Action executed if this trigger matches

when

typing.Any

Custom condition for when to evaluate this trigger

confidence

Real

null

Custom confidence override value for trigger matches

expect

Expect

null

Examples

Basic

triggers:
  - integration: integration.dialogflow
    when: ANY
    expect: dialogflow
steps:
  - say: STRING

Full

type: meya.google.dialogflow.trigger
spec: '?'
integration: integration.dialogflow
language: STRING
intent:
  - item1
  - item2
intent_regex: STRING
min_confidence: 123
max_confidence: 123
input_context: STRING
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
expect: dialogflow