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
If you don't specify `sentenceCount`, the model determines the summary length. Note that `sentenceCount` is the approximation of the sentence count of the output summary, range 1 to 20. Using sentenceCount is not recommended for abstractive summarization.
133
+
If you don't specify `summaryLength`, the model determines the summary length.
134
+
135
+
### Using the summaryLength parameter
136
+
For the `summaryLength` parameter, three values are accepted:
137
+
* oneSentence: Generates a summary of mostly 1 sentence, with around 80 tokens.
138
+
* short: Generates a summary of mostly 2-3 sentences, with around 120 tokens.
139
+
* medium: Generates a summary of mostly 4-6 sentences, with around 170 tokens.
140
+
* long: Generates a summary of mostly over 7 sentences, with around 210 tokens.
134
141
135
142
2. Make the following changes in the command where needed:
136
143
- Replace the value `your-language-resource-key` with your key.
@@ -255,7 +262,7 @@ curl -i -X POST https://<your-language-resource-endpoint>/language/analyze-text/
255
262
'
256
263
```
257
264
258
-
### Using the summaryParameter
265
+
### Using the summaryLength parameter
259
266
For the `summaryLength` parameter, three values are accepted:
260
267
* oneSentence: Generates a summary of mostly 1 sentence, with around 80 tokens.
261
268
* short: Generates a summary of mostly 2-3 sentences, with around 120 tokens.
0 commit comments