Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions articles/v4sdk/bot-builder-howto-qna.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ public void ConfigureServices(IServiceCollection services)

var endpoint = new QnAMakerEndpoint
{
knowledgebaseId = "YOUR-KB-ID",
KnowledgebaseId = "YOUR-KB-ID",
// Get the Host from the HTTP request example at https://www.qnamaker.ai
// For GA services: https://<Service-Name>.azurewebsites.net/qnamaker
// For Preview services: https://westus.api.cognitive.microsoft.com/qnamaker/v2.0
Host = "YOUR-HTTP-REQUEST-HOST",
EndpointKey = "YOUR-QNA-MAKER-SUBSCRIPTION-KEY"
};
options.Middleware.Add(new QnAMakerMiddleware(new QnAMakerEndpoint(endpoint)));
options.Middleware.Add(new QnAMakerMiddleware(endpoint));
});
}
```
Expand Down