You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Question answering uses several Azure sources, each with a different purpose. Understanding how they are used individually allows you to plan for and select the correct pricing tier or know when to change your pricing tier. Understanding how they are used in combination allows you to find and fix problems when they occur.
3
+
description: Question answering uses several Azure sources, each with a different purpose. Understanding how they're used individually allows you to plan for and select the correct pricing tier or know when to change your pricing tier. Understanding how they're used in combination allows you to find and fix problems when they occur.
4
4
ms.service: azure-ai-language
5
5
ms.topic: conceptual
6
6
author: laujan
7
7
ms.author: lajanuar
8
-
ms.date: 06/30/2025
8
+
ms.date: 07/22/2025
9
9
ms.custom: language-service-question-answering
10
10
---
11
11
12
12
# Azure resources for custom question answering
13
13
14
-
Custom question answering uses several Azure sources, each with a different purpose. Understanding how they are used individually allows you to plan for and select the correct pricing tier or know when to change your pricing tier. Understanding how resources are used _in combination_ allows you to find and fix problems when they occur.
14
+
Custom question answering uses several Azure sources, each with a different purpose. Understanding how they're used individually allows you to plan for and select the correct pricing tier or know when to change your pricing tier. Understanding how resources are used _in combination_ allows you to find and fix problems when they occur.
15
15
16
16
## Resource planning
17
17
18
18
> [!TIP]
19
19
> "Knowledge base" and "project" are equivalent terms in custom question answering and can be used interchangeably.
20
20
21
-
When you first develop a project, in the prototype phase, it is common to have a single resource for both testing and production.
21
+
When you first develop a project, in the prototype phase, it's common to have a single resource for both testing and production.
22
22
23
23
When you move into the development phase of the project, you should consider:
24
24
@@ -34,14 +34,15 @@ Typically there are three parameters you need to consider:
34
34
35
35
* The throughput for custom question answering is currently capped at 10 text records per second for both management APIs and prediction APIs.
36
36
37
-
*This should also influence your **Azure AI Search** selection, see more details [here](/azure/search/search-sku-tier). Additionally, you might need to adjust Azure AI Search [capacity](/azure/search/search-capacity-planning) with replicas.
37
+
*The throughput cap should also influence your **Azure AI Search** selection. For more information, *see*[Azure AI Search](/azure/search/search-sku-tier). Additionally, you might need to adjust Azure AI Search [capacity](/azure/search/search-capacity-planning) with replicas.
38
38
39
39
***Size and the number of projects**: Choose the appropriate [Azure search SKU](https://azure.microsoft.com/pricing/details/search/) for your scenario. Typically, you decide the number of projects you need based on number of different subject domains. One subject domain (for a single language) should be in one project.
40
40
41
41
With custom question answering, you have a choice to set up your language resource in a single language or multiple languages. You can make this selection when you create your first project in the [Language Studio](https://language.azure.com/).
42
42
43
43
> [!IMPORTANT]
44
-
> You can publish N-1 projects of a single language or N/2 projects of different languages in a particular tier, where N is the maximum indexes allowed in the tier. Also check the maximum size and the number of documents allowed per tier.
44
+
> You can publish N-1 projects with a single language resource or N-2 projects with multiple language resources in a single tier. The `N` notation is the maximum indexes allowed in the tier.
45
+
> Also, check the maximum size and the number of documents allowed per tier.
45
46
46
47
For example, if your tier has 15 allowed indexes, you can publish 14 projects of the same language (one index per published project). The 15th index is used for all the projects for authoring and testing. If you choose to have projects in different languages, then you can only publish seven projects.
47
48
@@ -51,9 +52,9 @@ The following table gives you some high-level guidelines.
|**Experimentation**|Free Tier | Publish Up to 2KBs, 50MB size |
55
-
|**Dev/Test Environment**|Basic | Publish Up to 14KBs, 2GB size |
56
-
|**Production Environment**|Standard | Publish Up to 49KBs, 25GB size |
55
+
|**Experimentation**|Free Tier | Publish Up to 2-KBs, 50-MB size |
56
+
|**Dev/Test Environment**|Basic | Publish Up to 14-KBs, 2-GB size |
57
+
|**Production Environment**|Standard | Publish Up to 49-KBs, 25-GB size |
57
58
58
59
## Recommended settings
59
60
@@ -63,14 +64,14 @@ The throughput for custom question answering is currently capped at 10 text reco
63
64
64
65
## Keys in custom question answering
65
66
66
-
Your custom question answering feature deals with two kinds of keys: **authoring keys** and **Azure AI Search keys** used to access the service in the customer’s subscription.
67
+
Your custom question answering feature deals with two kinds of keys: **authoring keys** and **Azure AI Search keys** used to access the service in the customer's subscription.
67
68
68
69
Use these keys when making requests to the service through APIs.
69
70
70
71
|Name|Location|Purpose|
71
72
|--|--|--|
72
73
|Authoring/Subscription key|[Azure portal](https://azure.microsoft.com/free/cognitive-services/)|These keys are used to access the Language service APIs). These APIs let you edit the questions and answers in your project, and publish your project. These keys are created when you create a new resource.<br><br>Find these keys on the **Azure AI services** resource on the **Keys and Endpoint** page.|
73
-
|Azure AI Search Admin Key|[Azure portal](/azure/search/search-security-api-keys)|These keys are used to communicate with the Azure AI Search service deployed in the user’s Azure subscription. When you associate an Azure AI Search resource with the custom question answering feature, the admin key is automatically passed to custom question answering. <br><br>You can find these keys on the **Azure AI Search** resource on the **Keys** page.|
74
+
|Azure AI Search Admin Key|[Azure portal](/azure/search/search-security-api-keys)|These keys are used to communicate with the Azure AI Search service deployed in the user's Azure subscription. When you associate an Azure AI Search resource with the custom question answering feature, the admin key is automatically passed to custom question answering. <br><br>You can find these keys on the **Azure AI Search** resource on the **Keys** page.|
74
75
75
76
### Find authoring keys in the Azure portal
76
77
@@ -94,12 +95,12 @@ In custom question answering, both the management and the prediction services ar
94
95
95
96
Each Azure resource created with custom question answering feature has a specific purpose:
96
97
97
-
* Language resource (Also referred to as a Text Analytics resource depending on the context of where you are evaluating the resource.)
98
+
* Language resource (Also referred to as a Text Analytics resource depending on the context of where you're evaluating the resource.)
98
99
* Azure AI Search resource
99
100
100
101
### Language resource
101
102
102
-
The language resource with custom question answering feature provides access to the authoring and publishing APIs, hosts the ranking runtime as well as provides telemetry.
103
+
The language resource with custom question answering feature provides access to the authoring and publishing APIs, hosts the ranking runtime and provides telemetry.
Copy file name to clipboardExpand all lines: articles/ai-services/language-service/question-answering/concepts/limits.md
+20-16Lines changed: 20 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
2
title: Limits and boundaries - custom question answering
3
-
description: Custom question answering has meta-limits for parts of the knowledge base and service. It is important to keep your knowledge base within those limits in order to test and publish.
3
+
description: Custom question answering has meta-limits for parts of the knowledge base and service. It's important to keep your knowledge base within those limits in order to test and publish.
4
4
ms.service: azure-ai-language
5
5
author: laujan
6
6
ms.author: lajanuar
7
7
ms.topic: conceptual
8
-
ms.date: 06/21/2025
8
+
ms.date: 07/22/2025
9
9
---
10
10
11
11
# Project limits and boundaries
12
12
13
-
Custom question answering limits provided below are a combination of the [Azure AI Search pricing tier limits](/azure/search/search-limits-quotas-capacity) and custom question answering limits. Both sets of limits affect how many projects you can create per resource and how large each project can grow.
13
+
The following custom question answering limits are a combination of the [Azure AI Search pricing tier limits](/azure/search/search-limits-quotas-capacity) and custom question answering limits. Both sets of limits affect how many projects you can create per resource and how large each project can grow.
14
14
15
15
## Projects
16
16
@@ -21,7 +21,8 @@ Choose the appropriate [Azure search SKU](https://azure.microsoft.com/pricing/de
21
21
With custom question answering, you have a choice to set up your language resource in a single language or multiple languages. You can make this selection when you create your first project in the [Language Studio](https://language.azure.com/).
22
22
23
23
> [!IMPORTANT]
24
-
> You can publish N-1 projects of a single language or N/2 projects of different languages in a particular tier, where N is the maximum indexes allowed in the tier. Also check the maximum size and the number of documents allowed per tier.
24
+
> You can publish N-1 projects with a single language resource or N-2 projects with multiple language resources in a single tier. The `N` notation is the maximum indexes allowed in the tier.
25
+
> Also check the maximum size and the number of documents allowed per tier.
25
26
26
27
For example, if your tier has 15 allowed indexes, you can publish 14 projects of the same language (one index per published project). The 15th index is used for all the projects for authoring and testing. If you choose to have projects in different languages, then you can only publish seven projects.
27
28
@@ -32,7 +33,7 @@ For example, if your tier has 15 allowed indexes, you can publish 14 projects of
32
33
33
34
File names may not include the following characters:
34
35
35
-
|Do not use character|
36
+
|Don't use character|
36
37
|--|
37
38
|Single quote `'`|
38
39
|Double quote `"`|
@@ -51,17 +52,17 @@ File names may not include the following characters:
51
52
52
53
> [!NOTE]
53
54
> Custom question answering currently has no limits on the number of sources that can be added. Throughput is currently capped at 10 text records per second for both management APIs and prediction APIs.
54
-
> When using the F0 tier, upload is limited to 3 files.
55
+
> If you use the F0 tier, upload is limited to three files.
55
56
56
57
### Maximum number of deep-links from URL
57
58
58
59
The maximum number of deep-links that can be crawled for extraction of question answer pairs from a URL page is **20**.
59
60
60
61
## Metadata limits
61
62
62
-
Metadata is presented as a text-based `key:value` pair, such as `product:windows 10`. It is stored and compared in lower case. Maximum number of metadata fields is based on your **[Azure AI Search tier limits](/azure/search/search-limits-quotas-capacity)**.
63
+
Metadata is presented as a text-based `key:value` pair, such as `product:windows 10`. Metadata is stored and compared in lower case. The maximum number of metadata fields is based on your **[Azure AI Search tier limits](/azure/search/search-limits-quotas-capacity)**.
63
64
64
-
If you choose to projects with multiple languages in a single language resource, there is a dedicated test index per project. So the limit is applied per project in the language service.
65
+
If you choose to projects with multiple languages in a single language resource, there's a dedicated test index per project. So the limit is applied per project in the language service.
65
66
66
67
|**Azure AI Search tier**|**Free**|**Basic**|**S1**|**S2**|**S3**|**S3 HD**|
67
68
|---|---|---|---|---|---|----|
@@ -99,7 +100,7 @@ Overall limits on the content in the project:
99
100
100
101
## Create project call limits:
101
102
102
-
These represent the limits for each create project action; that is, selecting *Create new project* or calling the REST API to create a project.
103
+
The limits for each create project action, that is, selecting *Create new project* or calling the REST API to create a project are as follows:
103
104
104
105
* Recommended maximum number of alternate questions per answer: 300
105
106
* Maximum number of URLs: 10
@@ -108,7 +109,8 @@ These represent the limits for each create project action; that is, selecting *C
108
109
109
110
## Update project call limits
110
111
111
-
These represent the limits for each update action; that is, selecting *Save* or calling the REST API with an update request.
112
+
The limits for each update action, that is, selecting *Save* or calling the REST API with an update request are as follows:
113
+
112
114
* Length of each source name: 300
113
115
* Recommended maximum number of alternate questions added or deleted: 300
114
116
* Maximum number of metadata fields added or deleted: 10
@@ -118,19 +120,21 @@ These represent the limits for each update action; that is, selecting *Save* or
118
120
## Add unstructured file limits
119
121
120
122
> [!NOTE]
121
-
> * If you need to use larger files than the limit allows, you can break the file into smaller files before sending them to the API.
123
+
> * If you need to use larger files than the limit allows, you can break the file into smaller files before sending them to the API.
124
+
125
+
The limits when unstructured files are used to *Create new project* or call the REST API to create a project are as follows:
122
126
123
-
These represent the limits when unstructured files are used to *Create new project* or call the REST API to create a project:
124
-
* Length of file: We will extract first 32000 characters
127
+
* Length of file: The service extracts the first 32,000 characters.
125
128
* Maximum three responses per file.
126
129
127
130
## Prebuilt custom question answering limits
128
131
129
132
> [!NOTE]
130
-
> * If you need to use larger documents than the limit allows, you can break the text into smaller chunks of text before sending them to the API.
131
-
> * A document is a single string of text characters.
133
+
> * A document is a single string of text characters.
134
+
> * To use larger documents than the limit allows, you can break the text into smaller chunks before sending them to the API.
135
+
136
+
The limits when the REST API is used to answer a question without having to create a project is as follows:
132
137
133
-
These represent the limits when REST API is used to answer a question based without having to create a project:
134
138
* Number of documents: 5
135
139
* Maximum size of a single document: 5,120 characters
0 commit comments