在MS Health Bot Service中配置默认​​方案

时间:2019-02-10 18:59:42

标签: azure botframework

我正在使用Microsoft的Health Bot Service创建医疗机器人。

我已经创建了2个场景,我希望其中一个成为在开始新对话时启动的场景。

我无法在Health Bot Service门户中的任何地方找到如何配置它的方法。

1 个答案:

答案 0 :(得分:0)

如果您希望漫游器在用户与场景进行交互之前启动场景,则该功能自"before triggering a scenario, the bot waits for initial input from the end user."起就不可用

由于上周才向公众开放了Health Bot,因此将来可能会添加该功能,但我不确定。

当前,如果用户以前已经发起了与漫游器的对话,则可以send proactive messages

否则,建议您执行以下操作以接近所需的内容:

  1. 在“配置”>“对话”>“交互”中,将“自动欢迎”更改为“说“开始方案”开始”。显然,将“开始方案”更改为最适合您的用例的内容。

步骤:

enter image description here

结果:

enter image description here

  1. 转到方案>管理并创建“启动”方案

步骤:

enter image description here

enter image description here

  1. 转到“语言”>“模型”,然后创建一个新模型。使用LUIS或RegEx,但请确保其查找的表达式是您在步骤1中告诉用户的表达式。然后,对于Intent Mapping,将其指向在步骤2中创建的方案。

步骤:

enter image description here

结果:

enter image description here