Skip to content

Commit 43e30a5

Browse files
committed
regions and query-based changes
1 parent 7199c26 commit 43e30a5

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

articles/ai-services/language-service/summarization/how-to/document-summarization.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,14 @@ The following cURL commands are executed from a BASH shell. Edit these commands
222222

223223
The query-based text summarization API is an extension to the existing text summarization API.
224224

225-
The biggest difference is a new `query` field in the request body (under `tasks` > `parameters` > `query`). Additionally, there's a new way to specify the preferred `summaryLength` in "buckets" of short/medium/long, which we recommend using instead of `sentenceCount`, especially when using abstractive. Below is an example request:
225+
The biggest difference is a new `query` field in the request body (under `tasks` > `parameters` > `query`). Additionally, there's a new way to specify the preferred `summaryLength` in "buckets" of short/medium/long, which we recommend using instead of `sentenceCount`, especially when using abstractive.
226+
227+
> [!TIP]
228+
> Query based summarization has some differentiation in the utilization of length control based on the type of query based summarization you're using:
229+
> - Query based extractive summarization supports length control by specifying sentenceCount.
230+
> - Query based abstractive summarization doesn't support length control using either sentenceCount or summarylength.
231+
232+
Below is an example request:
226233

227234
```bash
228235
curl -i -X POST https://<your-language-resource-endpoint>/language/analyze-text/jobs?api-version=2023-11-15-preview \

articles/ai-services/language-service/summarization/region-support.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,14 @@ Some summarization features are only available in limited regions. More regions
2525
|North Europe |&#9989; |&#9989; |&#10060; |
2626
|East US |&#9989; |&#9989; |&#9989; |
2727
|East US 2 |&#9989; |&#9989; |&#10060; |
28+
|Central US |&#9989; |&#9989; |&#10060; |
29+
|South Central US |&#9989; |&#9989; |&#10060; |
2830
|West US |&#9989; |&#9989; |&#10060; |
29-
|USNat West |&#9989; |&#9989; |&#10060; |
31+
|West US 2 |&#9989; |&#9989; |&#10060; |
3032
|USNat East |&#9989; |&#9989; |&#10060; |
31-
|USSec West |&#9989; |&#9989; |&#10060; |
33+
|USNat West |&#9989; |&#9989; |&#10060; |
3234
|USSec East |&#9989; |&#9989; |&#10060; |
35+
|USSec West |&#9989; |&#9989; |&#10060; |
3336
|South UK |&#9989; |&#9989; |&#10060; |
3437
|Southeast Asia |&#9989; |&#9989; |&#10060; |
3538
|Australia East |&#9989; |&#9989; |&#10060; |

0 commit comments

Comments
 (0)