我想在domain.yml文件上创建自定义模板
domain.yml示例
utter_ask_cards
- header: Heading1
image: <image url>
buttons:
- title: button_name1
payload: button1
- title: button_name2
payload: button2
答案 0 :(得分:1)
在Rasa中,可能有4种响应类型
您可以尝试这样的事情-
utter_ask_cards:
- text: " Heading1"
buttons:
- title: "button_name1"
payload: "button1"
- title: "button_name2"
payload: "button2"
希望这回答了您的问题。