无法将 QnA maker 连接到 Bot Framework Emulator

Cannot connect QnA maker into Bot Frameowrk Emulator

我正在尝试将我的 QnA maker 和我的 QnA 聊天机器人从 Azure 加载到 Bot Framework Emulator 中。

我已经能够成功加载我的聊天机器人并返回响应。我已经在 Azure 聊天机器人设置中输入了所需的知识库数据以及 Visual Studio 代码 (C#)。但是当我在 bot 框架模拟器内的聊天机器人中输入文本时,它会回复:Please set QnAKnowledgebaseId, QnAAuthKey and QnAEndpointHostName (if applicable) in App Settings. Learn how to get them at https://aka.ms/qnaabssetup.

Screen shot of what is displayed when I make contact with my chatbot inside of the bot framework emulator

如能帮助解决此问题,我们将不胜感激!

QnA Maker 将于 2018 年 5 月全面上市。新架构构建在 Azure 上,运行时现在部署在 Azure App 上。

现在,如果您使用的是新的 QnA Maker GA,它需要三个参数才能与 Azure Bot Web App Bot 建立连接。知识库 ID、AuthKey 和主机名。

主机名不过是创建 QnA Maker 服务时部署的 Web 应用 URL, appname.azurewebsites.net/qnamaker

您必须在 Azure 门户的应用程序设置中或在构造函数代码部分中提供此信息。

谢谢!