google.dialogflow.input

type: meya.google.dialogflow.component.input
class: DialogflowInputComponent
path: /meya/google/dialogflow/component/input.py
signature: -

Fields

field

signature

required

type

default

description               

spec

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

context

dict

{}

Send context data with this component's event

sensitive

bool

false

Mark this component's event as sensitive

triggers

list

[]

Activate these dynamic triggers when the component runs

quick_replies

list

[]

List of buttons that the user can select for replies

composer

ComposerElementSpec

focus: blur
placeholder:
collapse_placeholder:
visibility:

header

HeaderElementSpec

buttons:
title:
progress:
milestones:
extra_buttons:

Override the header for this component

markdown

list
bool
NoneType

null

Override the bot Markdown mode for this component

required

bool

false

label

str

null

disabled

bool

false

icon

IconElementSpec
str
NoneType

null

placeholder

str

null

default

str

null

error_message

str

"Invalid input, please try again."

Examples

Basic

triggers:
  - keyword: meya.google.dialogflow.component.input
steps:
  - type: meya.google.dialogflow.component.input
    integration: integration.dialogflow

Full

triggers:
  - keyword: meya.google.dialogflow.component.input
steps:
  - type: meya.google.dialogflow.component.input
    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
    quick_replies:
      - url: STRING
        javascript: STRING
        button_id: STRING
        context:
          STRING: ANY
        default: false
        disabled: false
        divider: false
        icon:
          url: STRING
          color: STRING
          path: STRING
        action: COMPONENT
        value: ANY
        result: ANY
        data:
          STRING: ANY
        magic: false
        type: text|url|static|menu|divider|action|flow_next|component_next
        menu:
          - BUTTONELEMENTSPEC
        text: STRING
    composer:
      focus: file|image|text|blur
      placeholder: STRING
      collapse_placeholder: STRING
      visibility: collapse|hide|show
    header:
      buttons:
        - url: STRING
          javascript: STRING
          button_id: STRING
          context:
            STRING: ANY
          default: false
          disabled: false
          divider: false
          icon:
            url: STRING
            color: STRING
            path: STRING
          action: COMPONENT
          value: ANY
          result: ANY
          data:
            STRING: ANY
          magic: false
          type: text|url|static|menu|divider|action|flow_next|component_next
          menu:
            - BUTTONELEMENTSPEC
          text: STRING
      title:
        text: STRING
        icon:
          url: STRING
          color: STRING
          path: STRING
      progress:
        value: 123
        show_percent: false
      milestones:
        - text: STRING
          current: false
      extra_buttons:
        - url: STRING
          javascript: STRING
          button_id: STRING
          context:
            STRING: ANY
          default: false
          disabled: false
          divider: false
          icon:
            url: STRING
            color: STRING
            path: STRING
          action: COMPONENT
          value: ANY
          result: ANY
          data:
            STRING: ANY
          magic: false
          type: text|url|static|menu|divider|action|flow_next|component_next
          menu:
            - BUTTONELEMENTSPEC
          text: STRING
    markdown:
      - format|linkify|breaks|typographer
    required: false
    label: STRING
    disabled: false
    icon:
      url: STRING
      color: STRING
      path: STRING
    placeholder: STRING
    default: STRING
    error_message: STRING