BotBuilder-带有调度错误的NLP没有此类主机 [英] BotBuilder - NLP with dispatch error No such host is known
问题描述
我是Bot Builder Framework的新手.我正在从Microsoft https上遵循本教程. ://docs.microsoft.com/zh-CN/azure/cognitive-services/qnamaker/tutorials/integrate-qnamaker-luis .
I am new in using Bot Builder Framework. I was following this tutorial from Microsoft https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/tutorials/integrate-qnamaker-luis.
我正在使用GitHub(NLP-with-dispatch)中的代码,并设置了DISPATCH,Luis,Qnamaker等的所有必要要求.
I am using the code from GitHub(NLP-with-dispatch) and set up all the necessary requirements DISPATCH, Luis, Qnamaker, etc.
但是使用机器人模拟器运行代码后,我收到了此错误消息.
But after running the code using the bot emulator I got this error message.
未知此类主机".
顺便说一句,我已经更新了appsettings.json和bot配置. 任何人都经历过吗?
BTW, I already updated the appsettings.json and bot config. Anyone experience this?
推荐答案
I actually just created a PR for this, since the issue is so common.
对于该示例,请确保appsettings.json
中的LuisAPIHostName
只是您的LUIS区域(即westus
).
With that sample, make sure that LuisAPIHostName
in appsettings.json
is just your LUIS region (ie westus
).
这篇关于BotBuilder-带有调度错误的NLP没有此类主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!