TranslationTextModelFactory.GetSupportedLanguagesResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Response for the languages API.
public static Azure.AI.Translation.Text.GetSupportedLanguagesResult GetSupportedLanguagesResult(string requestId = default, Azure.ETag etag = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.Translation.Text.TranslationLanguage> translation = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.Translation.Text.TransliterationLanguage> transliteration = default, System.Collections.Generic.IEnumerable<string> models = default);
static member GetSupportedLanguagesResult : string * Azure.ETag * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.Translation.Text.TranslationLanguage> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.Translation.Text.TransliterationLanguage> * seq<string> -> Azure.AI.Translation.Text.GetSupportedLanguagesResult
Public Shared Function GetSupportedLanguagesResult (Optional requestId As String = Nothing, Optional etag As ETag = Nothing, Optional translation As IReadOnlyDictionary(Of String, TranslationLanguage) = Nothing, Optional transliteration As IReadOnlyDictionary(Of String, TransliterationLanguage) = Nothing, Optional models As IEnumerable(Of String) = Nothing) As GetSupportedLanguagesResult
Parameters
- requestId
- String
Value generated by the service to identify the request. It is used for troubleshooting purposes.
- etag
- ETag
Current value of the entity tag for the requested groups of supported languages.
To make subsequent requests more efficient, the client may send the ETag value in an
If-None-Match header field.
- translation
- IReadOnlyDictionary<String,TranslationLanguage>
Languages that support translate API.
- transliteration
- IReadOnlyDictionary<String,TransliterationLanguage>
Languages that support transliteration API.
- models
- IEnumerable<String>
LLM models supported.
Returns
A new GetSupportedLanguagesResult instance for mocking.