Skip to content

Commit 02a0ecd

Browse files
committed
edits
1 parent 2971e42 commit 02a0ecd

File tree

2 files changed

+51
-6
lines changed

2 files changed

+51
-6
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: Content types - QnA Maker
3+
description: Content types include many standard structured documents such as PDF, DOC, and TXT.
4+
services: cognitive-services
5+
ms.topic: conceptual
6+
ms.date: 02/24/2020
7+
---
8+
9+
# Content types of documents you can add to a knowledge base
10+
Content types include many standard structured documents such as PDF, DOC, and TXT.
11+
12+
## File and URL data types
13+
14+
The table below summarizes the types of content and file formats that are supported by QnA Maker.
15+
16+
|Source Type|Content Type| Examples|
17+
|--|--|--|
18+
|URL|FAQs<br> (Flat, with sections or with a topics homepage)<br>Support pages <br> (Single page how-to articles, troubleshooting articles etc.)|[Plain FAQ](https://docs.microsoft.com/azure/cognitive-services/qnamaker/faqs), <br>[FAQ with links](https://www.microsoft.com/en-us/software-download/faq),<br> [FAQ with topics homepage](https://www.microsoft.com/Licensing/servicecenter/Help/Faq.aspx)<br>[Support article](https://docs.microsoft.com/azure/cognitive-services/qnamaker/concepts/best-practices)|
19+
|PDF / DOC|FAQs,<br> Product Manual,<br> Brochures,<br> Paper,<br> Flyer Policy,<br> Support guide,<br> Structured QnA,<br> etc.|**Without Multi-turn**<br>[Structured QnA.doc](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/structured.docx),<br> [Sample Product Manual.pdf](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/product-manual.pdf),<br> [Sample semi-structured.doc](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/semi-structured.docx),<br> [Sample white paper.pdf](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/white-paper.pdf),<br><br>**Multi-turn**:<br>[Surface Pro (docx)](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/multi-turn.docx)<br>[Contoso Benefits (docx)](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/Multiturn-ContosoBenefits.docx)<br>[Contoso Benefits (pdf)](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/Multiturn-ContosoBenefits.pdf)|
20+
|*Excel|Structured QnA file<br> (including RTF, HTML support)|[Sample QnA FAQ.xls](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/QnA%20Maker%20Sample%20FAQ.xlsx)|
21+
|*TXT/TSV|Structured QnA file|[Sample chit-chat.tsv](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/qna-maker/data-source-formats/Scenario_Responses_Friendly.tsv)|
22+
23+
If you need authentication for your data source, consider the following methods to get that content into QnA Maker:
24+
25+
* Download file manually and import into QnA Maker
26+
* Add file from authenticated [Sharepoint location](../how-to/add-sharepoint-datasources.md)
27+
28+
## URL content
29+
30+
Two types of documents can be imported via **URL** in QnA Maker:
31+
32+
* FAQ URLs
33+
* Support URLs
34+
35+
Each type indicates an expected format.
36+
37+
## File-based content
38+
39+
You can add files to a knowledge base from a public source, or your local file system, in the [QnA Maker portal](https://www.qnamaker.ai).
40+
41+
## Content format guidelines
42+
43+
Learn more about the [format guidelines](reference-document-format-guidelines.md) for the different files.
44+
45+
## Next steps
46+
47+
Understand what information is stored in a [question and answer (QnA) set](question-answer-set.md).

articles/cognitive-services/QnAMaker/toc.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@
115115
- name: Create and publish a knowledge base
116116
href: Quickstarts/create-publish-knowledge-base.md
117117
displayName: create bot, bot, publish to bot, test, edit
118-
- name: Get answer using metadata
119-
href: How-To/metadata-generateanswer-usage.md
120-
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
121118
- name: Create bot with QnA Maker and LUIS
122119
href: Tutorials/integrate-qnamaker-luis.md
123120
- name: Language selection
@@ -142,12 +139,13 @@
142139
- name: Add a secured SharePoint file
143140
href: How-To/add-sharepoint-datasources.md
144141
displayName: Sharepoint, secure, AAD, azure directory, admin, permission, authorization, file, authentication
145-
- name: Query knowledge base
146-
href: How-To/query-knowledge-base.md
142+
- name: Query knowledge base
143+
href: How-To/metadata-generateanswer-usage.md
144+
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
147145
- name: Use with a client application
148146
items:
149147
- name: Bot framework
150-
href: How-To/integrate-with-bot-framework.md
148+
href: Tutorials/integrate-with-bot-framework.md
151149
- name: LUIS and QnA Maker
152150
href: Tutorials/integrate-qnamaker-luis.md
153151
- name: Analytics and telemetry

0 commit comments

Comments
 (0)