Skip to main content

supported_languages

Creates, updates, deletes, gets or lists a supported_languages resource.

Overview

Namesupported_languages
TypeResource
Idazure.ai_language.supported_languages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
languageCodestringThe language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc. Required.
languageNamestringThe language name. Required.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_supported_languagesselectprojectKind, endpointtop, skip, maxpagesizeLists the supported languages for the given project type.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client Endpoint parameter. (default: )
projectKindstringThe project kind. Known values are: "Conversation", "Orchestration", and "CustomConversationSummarization". Required.
maxpagesizeinteger
skipintegerThe number of result items to skip. Default value is None.
topintegerThe number of result items to return. Default value is None.

SELECT examples

Lists the supported languages for the given project type.

SELECT
languageCode,
languageName
FROM azure.ai_language.supported_languages
WHERE projectKind = '{{ projectKind }}' -- required
AND endpoint = '{{ endpoint }}' -- required
AND top = '{{ top }}'
AND skip = '{{ skip }}'
AND maxpagesize = '{{ maxpagesize }}'
;