简体   繁体   English

在 RASA 聊天响应中获取点而不是连字符

[英]Getting Dot instead of Hyphen in RASA chat response

My domain.yml file content look like below:我的 domain.yml 文件内容如下所示:

utter_xyz utter_xyz

-

text: "Which of the below you will choose: \n - Option1\n - Option2" text: "您将选择以下哪一项:\n - Option1\n - Option2"

I want chatbot response like below:我想要如下聊天机器人响应:

Expected预期的

Chatbot should utter:聊天机器人应该说:

Choose query on below topics : 
- Option1
- Option2

But, chatbot is uttering like below instead of hyphen,i am getting dot但是,聊天机器人说的是下面而不是连字符,我得到了点

Choose query on below topics:选择以下主题的查询:

  • Option1选项1
  • Option2选项2

Please Help请帮忙

This will be dependent on whatever frontend you use, not Rasa itself.这将取决于您使用的任何前端,而不是 Rasa 本身。 For example, that is Markdown formatting, which is what the rasa-webchat uses to render lists.例如,这是 Markdown 格式,这是 rasa-webchat 用来呈现列表的格式。 If you want to change that you'd have to change the code in the frontend or choose another frontend that outputs differently.如果要更改,则必须更改前端中的代码或选择另一个输出不同的前端。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM