Search code examples
botframeworkazure-language-understandingdispatchazure-qna-maker

BotBuilder - NLP with dispatch error No such host is known


I am new in using Bot Builder Framework. I was following this tutorial from Microsoft https://learn.microsoft.com/en-us/azure/cognitive-services/qnamaker/tutorials/integrate-qnamaker-luis.

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.

"No such host is known".

enter image description here

BTW, I already updated the appsettings.json and bot config. Anyone experience this?


Solution

  • I actually just created a PR for this, since the issue is so common.

    With that sample, make sure that LuisAPIHostName in appsettings.json is just your LUIS region (ie westus).