Skip to content

Commit 6bd914a

Browse files
authored
Merge pull request #85505 from diberry/0815-qnamaker-extract
[Cogsvcs] QnA Maker - alternate Qs in XLS
2 parents 457c778 + c742420 commit 6bd914a

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

articles/cognitive-services/QnAMaker/Concepts/data-sources-supported.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: qna-maker
1010
ms.topic: conceptual
11-
ms.date: 07/25/2019
11+
ms.date: 08/15/2019
1212
ms.author: diberry
1313
---
1414

@@ -128,10 +128,22 @@ QnAs in the form of structured *.txt*, *.tsv* or *.xls* files can also be upload
128128

129129
Any additional columns in the source file are ignored.
130130

131+
### Example of structured Excel file
132+
131133
Below is an example of a structured QnA *.xls* file, with HTML content:
132134

133135
![Structured QnA excel example for a knowledge base](../media/qnamaker-concepts-datasources/structured-qna-xls.png)
134136

137+
### Example of alternate questions for single answer in Excel file
138+
139+
Below is an example of a structured QnA *.xls* file, with several alternate questions for a single answer:
140+
141+
![Example of alternate questions for single answer in Excel file](../media/qnamaker-concepts-datasources/xls-alternate-question-example.png)
142+
143+
After the file is imported, the question-and-answer pair is in the knowledge base as shown below:
144+
145+
![Screenshot of alternate questions for single answer imported into knowledge base](../media/qnamaker-concepts-datasources/xls-alternate-question-example-after-import.png)
146+
135147
## Structured data format through import
136148

137149
Importing a knowledge base replaces the content of the existing knowledge base. Import requires a structured .tsv file that contains data source information. This information helps QnA Maker group the question-answer pairs and attribute them to a particular data source.
Loading
20.6 KB
Loading

0 commit comments

Comments
 (0)