Skip to content

Commit 7ca5962

Browse files
committed
translation limited to specific version
1 parent 86a651c commit 7ca5962

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,12 @@ For example, if invoked with a `text` set to `'PostgreSQL features transactions
283283
azure_cognitive.translate(text text, target_language text, timeout_ms integer DEFAULT NULL, throw_on_error boolean DEFAULT true, source_language text DEFAULT NULL, text_type text DEFAULT 'plain', profanity_action text DEFAULT 'NoAction', profanity_marker text DEFAULT 'Asterisk', suggested_source_language text DEFAULT NULL , source_script text DEFAULT NULL , target_script text DEFAULT NULL)
284284
```
285285

286+
> [!NOTE]
287+
> Translation is only available in version 0.2.0 of azure_ai extension. To check the version
288+
```postgresql
289+
select * from pg_available_extensions where name = 'azure_ai';
290+
```
291+
286292
#### Arguments
287293
For more details on parameters see [Translator API](../../ai-services/translator/reference/v3-0-translate.md).
288294
##### `text`

0 commit comments

Comments
 (0)