Skip to content

Commit 25f3077

Browse files
authored
Merge pull request #115316 from diberry/diberry/luis-qna-maker-blend-0514
[Cogsvcs] LUIS/QnA Maker decision
2 parents be9e7be + 5b8d91f commit 25f3077

File tree

7 files changed

+10
-246
lines changed

7 files changed

+10
-246
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,11 @@
756756
"redirect_url": "/azure/cognitive-services/Content-Moderator/client-libraries?pivots=programming-language-python",
757757
"redirect_document_id": false
758758
},
759+
{
760+
"source_path": "articles/cognitive-services/QnAMaker/Tutorials/integrate-qnamaker-luis.md",
761+
"redirect_url": "/azure/cognitive-services/luis/choose-natural-language-processing-service",
762+
"redirect_document_id": false
763+
},
759764
{
760765
"source_path": "articles/cognitive-services/QnAMaker/Tutorials/create-publish-query-in-portal.md",
761766
"redirect_url": "/azure/cognitive-services/QnAMaker/Quickstarts/create-publish-knowledge-base",

articles/cognitive-services/QnAMaker/How-To/metadata-generateanswer-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,4 +251,4 @@ You can search through the published kb, using `isTest=false`, or in the test kb
251251
The **Publish** page also provides information to [generate an answer](../Quickstarts/get-answer-from-knowledge-base-using-url-tool.md) with Postman or cURL.
252252

253253
> [!div class="nextstepaction"]
254-
> [Create a knowledge base bot](../tutorials/integrate-qnamaker-luis.md)
254+
> [Get analytics on your knowledge base](../how-to/get-analytics-knowledge-base.md)

articles/cognitive-services/QnAMaker/Tutorials/integrate-qnamaker-luis.md

Lines changed: 0 additions & 238 deletions
This file was deleted.

articles/cognitive-services/QnAMaker/index.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ landingContent:
104104

105105
- text: "Portal: Create a QnA Bot"
106106
url: tutorials/create-qna-bot.md
107-
- text: ".Net: Create a bot with QnA Maker and Language Understanding"
108-
url: tutorials/integrate-qnamaker-luis.md
109107
- text: Other bot samples
110108
url: https://github.com/Microsoft/BotBuilder-Samples/blob/master/README.md
111109

articles/cognitive-services/QnAMaker/toc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@
109109
- name: Query knowledge base
110110
href: How-To/metadata-generateanswer-usage.md
111111
displayName: isTest, test, route, request, http, post, body, header, json, metadata, top, strictFilters, GenerateAnswer, API, answer, RankerType, id, text, question, context, 200, 2xx, 400, 401, 403, 404
112-
- name: Use with a client application
113-
items:
114-
- name: LUIS and QnA Maker
115-
href: Tutorials/integrate-qnamaker-luis.md
116112
- name: Analytics and telemetry
117113
href: How-To/get-analytics-knowledge-base.md
118114
- name: Using REST APIs
253 KB
Loading

articles/cognitive-services/includes/luis-qnamaker-shared-concept.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ If your chat bot receives the text `How do I get to the Human Resources building
3333
|QnA Maker|**Returns the answer to the question** from a custom knowledge base. For example, this text is determined as a question with the static text answer of `Get on the #9 bus and get off at Franklin street`.|
3434
|||
3535

36+
> [!div class="mx-imgBorder"]
37+
> ![Infographic to determine when to use LUIS and when to use QnA Maker](./luis-qna-maker-together-decision.png)
38+
3639
## When do you use LUIS?
3740

3841
Use LUIS when you need to know the intention of the utterance as part of a process in the chat bot. Continuing with the example text, `How do I get to the Human Resources building on the Seattle North campus?`, once you know the user's intention is to find a location, you can pass details about the utterance (pulled out with entities) to another service, such as a transportation server, to get the answer.
@@ -65,7 +68,7 @@ You can present this third-party answer to the user for validation. Once you hav
6568

6669
If your chat bot needs more information than either service provides, to continue through a decision tree, use both services and process both responses in the client application.
6770

68-
Use the Bot framework **[Dispatch CLI](https://github.com/Microsoft/botbuilder-tools/tree/master/packages/Dispatch)** tool to help build a process to work with both services. This tool builds a top LUIS app of intents that dispatches between LUIS and QnA Maker as child apps.
71+
Use the Bot framework **[Dispatch CLI](https://github.com/Microsoft/botbuilder-tools/tree/master/packages/Dispatch)** tool to help build a process to work with both services. This tool builds a top LUIS app of intents that dispatches between LUIS and QnA Maker as child apps. [Learn more](https://docs.microsoft.com/azure/bot-service/bot-builder-tutorial-dispatch?view=azure-bot-service-4.0&tabs=cs) about integrating with LUIS, QnA Maker, and Bot framework.
6972

7073
Use the Bot builder sample, **NLP with dispatch**, in [C#](https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/14.nlp-with-dispatch) or [Node.js](https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/javascript_nodejs/14.nlp-with-dispatch), to implement this type of chat bot.
7174

0 commit comments

Comments
 (0)