Skip to content

Commit 72bcd57

Browse files
Merge pull request #271434 from nachoalonsoportillo/patch-52
Fix size of new parameters to match size of existing ones
2 parents 2786628 + 2168374 commit 72bcd57

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

articles/postgresql/flexible-server/generative-ai-azure-cognitive.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Create AI applications with sentiment analysis, summarization, or k
44
author: mulander
55
ms.author: adamwolk
66
ms.reviewer: maghan
7-
ms.date: 04/05/2024
7+
ms.date: 04/08/2024
88
ms.service: postgresql
99
ms.subservice: flexible-server
1010
ms.topic: conceptual
@@ -56,7 +56,7 @@ azure_cognitive.analyze_sentiment(text text[], language text[] DEFAULT NULL::tex
5656

5757
`text` or `text[]` single value or array of values, depending on the overload of the function used, with the two-letter ISO 639-1 representation of the language(s) that the input is written in. Check [language support](../../ai-services/language-service/concepts/language-support.md) for allowed values.
5858

59-
#### `batch_size`
59+
##### `batch_size`
6060

6161
`integer DEFAULT 10` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
6262

@@ -72,11 +72,11 @@ azure_cognitive.analyze_sentiment(text text[], language text[] DEFAULT NULL::tex
7272

7373
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
7474

75-
#### `max_attempts`
75+
##### `max_attempts`
7676

7777
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for sentiment analysis if it fails with any retryable error.
7878

79-
#### `retry_delay_ms`
79+
##### `retry_delay_ms`
8080

8181
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for sentiment analysis, when it fails with any retryable error.
8282

@@ -103,7 +103,7 @@ azure_cognitive.detect_language(text text[], batch_size integer DEFAULT 1000, di
103103

104104
`text` or `text[]` single text or array of texts, depending on the overload of the function used, with the input to be processed.
105105

106-
#### `batch_size`
106+
##### `batch_size`
107107

108108
`integer DEFAULT 1000` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
109109

@@ -119,11 +119,11 @@ azure_cognitive.detect_language(text text[], batch_size integer DEFAULT 1000, di
119119

120120
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
121121

122-
#### `max_attempts`
122+
##### `max_attempts`
123123

124124
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for language detection if it fails with any retryable error.
125125

126-
#### `retry_delay_ms`
126+
##### `retry_delay_ms`
127127

128128
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for language detection, when it fails with any retryable error.
129129

@@ -155,7 +155,7 @@ azure_cognitive.extract_key_phrases(text text[], language text[] DEFAULT NULL::t
155155

156156
`text` or `text[]` single value or array of values, depending on the overload of the function used, with the two-letter ISO 639-1 representation of the language(s) that the input is written in. Check [language support](../../ai-services/language-service/concepts/language-support.md) for allowed values.
157157

158-
#### `batch_size`
158+
##### `batch_size`
159159

160160
`integer DEFAULT 10` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
161161

@@ -171,11 +171,11 @@ azure_cognitive.extract_key_phrases(text text[], language text[] DEFAULT NULL::t
171171

172172
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
173173

174-
#### `max_attempts`
174+
##### `max_attempts`
175175

176176
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for key phrase extraction if it fails with any retryable error.
177177

178-
#### `retry_delay_ms`
178+
##### `retry_delay_ms`
179179

180180
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for key phrase extraction, when it fails with any retryable error.
181181

@@ -207,7 +207,7 @@ azure_cognitive.linked_entities(text text[], language text[] DEFAULT NULL::text[
207207

208208
`text` or `text[]` single value or array of values, depending on the overload of the function used, with the two-letter ISO 639-1 representation of the language(s) that the input is written in. Check [language support](../../ai-services/language-service/concepts/language-support.md) for allowed values.
209209

210-
#### `batch_size`
210+
##### `batch_size`
211211

212212
`integer DEFAULT 5` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
213213

@@ -227,11 +227,11 @@ azure_cognitive.linked_entities(text text[], language text[] DEFAULT NULL::text[
227227

228228
`boolean DEFAULT false` the Language service logs your input text for 48 hours solely to allow for troubleshooting issues. Setting this property to `true` disables input logging and might limit our ability to investigate issues that occur.
229229

230-
#### `max_attempts`
230+
##### `max_attempts`
231231

232232
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for linked identities if it fails with any retryable error.
233233

234-
#### `retry_delay_ms`
234+
##### `retry_delay_ms`
235235

236236
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for linked identities, when it fails with any retryable error.
237237

@@ -264,7 +264,7 @@ azure_cognitive.recognize_entities(text text[], language text[] DEFAULT NULL::te
264264

265265
`text` or `text[]` single value or array of values, depending on the overload of the function used, with the two-letter ISO 639-1 representation of the language(s) that the input is written in. Check [language support](../../ai-services/language-service/concepts/language-support.md) for allowed values.
266266

267-
#### `batch_size`
267+
##### `batch_size`
268268

269269
`integer DEFAULT 5` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
270270

@@ -280,11 +280,11 @@ azure_cognitive.recognize_entities(text text[], language text[] DEFAULT NULL::te
280280

281281
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
282282

283-
#### `max_attempts`
283+
##### `max_attempts`
284284

285285
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for linked identities if it fails with any retryable error.
286286

287-
#### `retry_delay_ms`
287+
##### `retry_delay_ms`
288288

289289
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for linked identities, when it fails with any retryable error.
290290

@@ -320,7 +320,7 @@ azure_cognitive.recognize_pii_entities(text text[], language text[] DEFAULT NULL
320320

321321
`text DEFAULT 'none'::text`, the personal data domain used for personal data Entity Recognition. Valid values are `none` for no domain specified and `phi` for Personal Health Information.
322322

323-
#### `batch_size`
323+
##### `batch_size`
324324

325325
`integer DEFAULT 5` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
326326

@@ -336,11 +336,11 @@ azure_cognitive.recognize_pii_entities(text text[], language text[] DEFAULT NULL
336336

337337
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
338338

339-
#### `max_attempts`
339+
##### `max_attempts`
340340

341341
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for linked identities if it fails with any retryable error.
342342

343-
#### `retry_delay_ms`
343+
##### `retry_delay_ms`
344344

345345
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for linked identities, when it fails with any retryable error.
346346

@@ -378,7 +378,7 @@ azure_cognitive.summarize_abstractive(text text[], language text[] DEFAULT NULL:
378378

379379
`integer DEFAULT 3`, maximum number of sentences that the summarization should contain.
380380

381-
#### `batch_size`
381+
##### `batch_size`
382382

383383
`integer DEFAULT 25` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
384384

@@ -394,11 +394,11 @@ azure_cognitive.summarize_abstractive(text text[], language text[] DEFAULT NULL:
394394

395395
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
396396

397-
#### `max_attempts`
397+
##### `max_attempts`
398398

399399
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for linked identities if it fails with any retryable error.
400400

401-
#### `retry_delay_ms`
401+
##### `retry_delay_ms`
402402

403403
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for linked identities, when it fails with any retryable error.
404404

@@ -436,7 +436,7 @@ azure_cognitive.summarize_extractive(text text[], language text[] DEFAULT NULL::
436436

437437
`text DEFAULT ``offset``::text`, order of extracted sentences. Valid values are `rank` and `offset`.
438438

439-
#### `batch_size`
439+
##### `batch_size`
440440

441441
`integer DEFAULT 25` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
442442

@@ -452,11 +452,11 @@ azure_cognitive.summarize_extractive(text text[], language text[] DEFAULT NULL::
452452

453453
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
454454

455-
#### `max_attempts`
455+
##### `max_attempts`
456456

457457
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for linked identities if it fails with any retryable error.
458458

459-
#### `retry_delay_ms`
459+
##### `retry_delay_ms`
460460

461461
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for linked identities, when it fails with any retryable error.
462462

@@ -522,7 +522,7 @@ For more information on parameters, see [Translator API](../../ai-services/trans
522522
##### `target_script`
523523
`text DEFAULT NULL` Specific script of the input text.
524524

525-
#### `batch_size`
525+
##### `batch_size`
526526

527527
`integer DEFAULT 1000` number of records to process at a time (only available for the overload of the function for which parameter `text` is of type `text[]`).
528528

@@ -534,11 +534,11 @@ For more information on parameters, see [Translator API](../../ai-services/trans
534534

535535
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
536536

537-
#### `max_attempts`
537+
##### `max_attempts`
538538

539539
`integer DEFAULT 1` number of times the extension will retry calling the Azure Language Service endpoint for linked identities if it fails with any retryable error.
540540

541-
#### `retry_delay_ms`
541+
##### `retry_delay_ms`
542542

543543
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure Language Service endpoint for linked identities, when it fails with any retryable error.
544544

0 commit comments

Comments
 (0)