google.dialogflow.ask.form

type: meya.google.dialogflow.component.ask.form
class: DialogflowAskFormComponent
path: /meya/google/dialogflow/component/ask/form.py
signature: ask_form, 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

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:
visibility:

markdown

list
bool
NoneType

null

Override the bot Markdown mode for this component

ask_form

str

null

expect

Expect

null

icon

IconElementSpec
str
NoneType

null

field_name

str

"text"

autocomplete

str

"off"

label

str

"Text"

placeholder

str

null

retries

Real

"inf"

error_message

str

"Invalid"

Examples

Basic

triggers:
  - keyword: meya.google.dialogflow.component.ask.form
steps:
  - integration: integration.dialogflow
    ask_form: STRING
    expect: dialogflow

Full

triggers:
  - keyword: meya.google.dialogflow.component.ask.form
steps:
  - spec: '?'
    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
        icon:
          url: STRING
          color: STRING
          path: STRING
        action: COMPONENT
        result: ANY
        data:
          STRING: ANY
        magic: false
        type: text|url|static|action|flow_next|component_next
        text: STRING
    composer:
      focus: file|image|text|blur
      placeholder: STRING
      visibility: collapse|hide|show
    markdown:
      - format|linkify|breaks|typographer
    ask_form: STRING
    expect: dialogflow
    icon:
      url: STRING
      color: STRING
      path: STRING
    field_name: STRING
    autocomplete: STRING
    label: STRING
    placeholder: STRING
    retries: 123
    error_message: STRING