【问题标题】:How to add buttons in rasa chat bot integrating with telegram ui如何在 rasa 聊天机器人与电报 ui 集成中添加按钮
【发布时间】:2022-12-25 00:23:18
【问题描述】:

我想在 rasa 聊天机器人中添加按钮以与电报集成,但是每当我添加此按钮时,它们只会在一行中出现,我只想为每一行添加一个按钮,它应该采用按钮标题的宽度。此外,如何在 rasa This is code for buttons 和 utter_message 函数中仅将按钮作为参数传递 This is output in telegram window where buttons title is not visible completly and also all they are in one line

我试图更改 utter_message 函数的参数,但它不起作用

【问题讨论】:

标签: python chatbot rasa


【解决方案1】:

您的代码中似乎有错字。你设置了"button_type":"verticle",而它应该是"button_type":"vertical"。尝试改变它,看看它是否有效。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-12-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-07-26
    相关资源
    最近更新 更多