Text components

For outputting text

meya.text

Outputs text to the chat. This is the most fundamental component of a bot.

PropertyDescription
textthe text to outputRequired
speechText to speak to the user. This field also accepts SSML markup to customize pronunciation.Optional
component: meya.text
properties:
  text: Hello, World!
  speech: Hello, World!

meya.random_text

Optionally outputs a choice of a random text to the user.

PropertyDescription
responsesa list of strings to choose fromRequired
component: meya.random_text
properties:
  responses:
    - Hi :)
    - Hello, there!
    - Howdy!
    - Bonjour.

meya.cms_text

Displays text from Bot CMS based on the user's intent. Can be used with the cms_nlu trigger to easily create an FAQ bot.

493
component: meya.cms_text