Text components
For outputting text
meya.text
Outputs text to the chat. This is the most fundamental component of a bot.
Property | Description | |
---|---|---|
text | the text to output | Required |
speech | Text 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.
Property | Description | |
---|---|---|
responses | a list of strings to choose from | Required |
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.
component: meya.cms_text
Updated over 6 years ago