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
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/generative-ai-azure-cognitive.md
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Create AI applications with sentiment analysis, summarization, or k
4
4
author: mulander
5
5
ms.author: adamwolk
6
6
ms.reviewer: maghan
7
-
ms.date: 04/05/2024
7
+
ms.date: 04/08/2024
8
8
ms.service: postgresql
9
9
ms.subservice: flexible-server
10
10
ms.topic: conceptual
@@ -56,7 +56,7 @@ azure_cognitive.analyze_sentiment(text text[], language text[] DEFAULT NULL::tex
56
56
57
57
`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.
58
58
59
-
#### `batch_size`
59
+
#####`batch_size`
60
60
61
61
`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[]`).
62
62
@@ -72,11 +72,11 @@ azure_cognitive.analyze_sentiment(text text[], language text[] DEFAULT NULL::tex
72
72
73
73
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
74
74
75
-
#### `max_attempts`
75
+
#####`max_attempts`
76
76
77
77
`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.
78
78
79
-
#### `retry_delay_ms`
79
+
#####`retry_delay_ms`
80
80
81
81
`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.
`text` or `text[]` single text or array of texts, depending on the overload of the function used, with the input to be processed.
105
105
106
-
#### `batch_size`
106
+
#####`batch_size`
107
107
108
108
`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[]`).
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
121
121
122
-
#### `max_attempts`
122
+
#####`max_attempts`
123
123
124
124
`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.
125
125
126
-
#### `retry_delay_ms`
126
+
#####`retry_delay_ms`
127
127
128
128
`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.
129
129
@@ -155,7 +155,7 @@ azure_cognitive.extract_key_phrases(text text[], language text[] DEFAULT NULL::t
155
155
156
156
`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.
157
157
158
-
#### `batch_size`
158
+
#####`batch_size`
159
159
160
160
`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[]`).
161
161
@@ -171,11 +171,11 @@ azure_cognitive.extract_key_phrases(text text[], language text[] DEFAULT NULL::t
171
171
172
172
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
173
173
174
-
#### `max_attempts`
174
+
#####`max_attempts`
175
175
176
176
`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.
177
177
178
-
#### `retry_delay_ms`
178
+
#####`retry_delay_ms`
179
179
180
180
`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.
181
181
@@ -207,7 +207,7 @@ azure_cognitive.linked_entities(text text[], language text[] DEFAULT NULL::text[
207
207
208
208
`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.
209
209
210
-
#### `batch_size`
210
+
#####`batch_size`
211
211
212
212
`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[]`).
213
213
@@ -227,11 +227,11 @@ azure_cognitive.linked_entities(text text[], language text[] DEFAULT NULL::text[
227
227
228
228
`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.
229
229
230
-
#### `max_attempts`
230
+
#####`max_attempts`
231
231
232
232
`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.
233
233
234
-
#### `retry_delay_ms`
234
+
#####`retry_delay_ms`
235
235
236
236
`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.
237
237
@@ -264,7 +264,7 @@ azure_cognitive.recognize_entities(text text[], language text[] DEFAULT NULL::te
264
264
265
265
`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.
266
266
267
-
#### `batch_size`
267
+
#####`batch_size`
268
268
269
269
`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[]`).
270
270
@@ -280,11 +280,11 @@ azure_cognitive.recognize_entities(text text[], language text[] DEFAULT NULL::te
280
280
281
281
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
282
282
283
-
#### `max_attempts`
283
+
#####`max_attempts`
284
284
285
285
`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.
286
286
287
-
#### `retry_delay_ms`
287
+
#####`retry_delay_ms`
288
288
289
289
`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.
290
290
@@ -320,7 +320,7 @@ azure_cognitive.recognize_pii_entities(text text[], language text[] DEFAULT NULL
320
320
321
321
`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.
322
322
323
-
#### `batch_size`
323
+
#####`batch_size`
324
324
325
325
`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[]`).
326
326
@@ -336,11 +336,11 @@ azure_cognitive.recognize_pii_entities(text text[], language text[] DEFAULT NULL
336
336
337
337
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
338
338
339
-
#### `max_attempts`
339
+
#####`max_attempts`
340
340
341
341
`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.
342
342
343
-
#### `retry_delay_ms`
343
+
#####`retry_delay_ms`
344
344
345
345
`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.
346
346
@@ -378,7 +378,7 @@ azure_cognitive.summarize_abstractive(text text[], language text[] DEFAULT NULL:
378
378
379
379
`integer DEFAULT 3`, maximum number of sentences that the summarization should contain.
380
380
381
-
#### `batch_size`
381
+
#####`batch_size`
382
382
383
383
`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[]`).
384
384
@@ -394,11 +394,11 @@ azure_cognitive.summarize_abstractive(text text[], language text[] DEFAULT NULL:
394
394
395
395
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
396
396
397
-
#### `max_attempts`
397
+
#####`max_attempts`
398
398
399
399
`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.
400
400
401
-
#### `retry_delay_ms`
401
+
#####`retry_delay_ms`
402
402
403
403
`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.
404
404
@@ -436,7 +436,7 @@ azure_cognitive.summarize_extractive(text text[], language text[] DEFAULT NULL::
436
436
437
437
`text DEFAULT ``offset``::text`, order of extracted sentences. Valid values are `rank` and `offset`.
438
438
439
-
#### `batch_size`
439
+
#####`batch_size`
440
440
441
441
`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[]`).
442
442
@@ -452,11 +452,11 @@ azure_cognitive.summarize_extractive(text text[], language text[] DEFAULT NULL::
452
452
453
453
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
454
454
455
-
#### `max_attempts`
455
+
#####`max_attempts`
456
456
457
457
`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.
458
458
459
-
#### `retry_delay_ms`
459
+
#####`retry_delay_ms`
460
460
461
461
`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.
462
462
@@ -522,7 +522,7 @@ For more information on parameters, see [Translator API](../../ai-services/trans
522
522
##### `target_script`
523
523
`text DEFAULT NULL` Specific script of the input text.
524
524
525
-
#### `batch_size`
525
+
#####`batch_size`
526
526
527
527
`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[]`).
528
528
@@ -534,11 +534,11 @@ For more information on parameters, see [Translator API](../../ai-services/trans
534
534
535
535
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
536
536
537
-
#### `max_attempts`
537
+
#####`max_attempts`
538
538
539
539
`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.
540
540
541
-
#### `retry_delay_ms`
541
+
#####`retry_delay_ms`
542
542
543
543
`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.
0 commit comments