Version 3.1 YAML format buttons not picked up in chat widget
working_demo.yml
has two buttons - one in ask-name
and one in age
(shown below). When uploaded as version: 3
, the button appears in the chat widget. When uploaded as version:3.1
, the button does not appear in the chat widget.
The chatbot script loads successfully regardless of version 3 or 3.1.
- name: ask-name
actions:
- send_message:
bot_text: What is your name?
triggers:
- user_text: "__default__"
target: vlad
- user_text: "vlad"
target: vlad
button_text: "vlad"
It also doesn't pick up the button in the age state.
- name: age
actions:
- extract_user_text:
key_to_update: age
- send_message:
bot_text: "You are now {{ age }} years old! In one year you will turn {{ age + 1 }}!"
triggers:
- user_text: "OK"
button_text: "OK"
target: bye