SourceLanguageConfig Class
Represents source language configuration, allowing specifying the source language and customized endpoint
The configuration can be initialized in different ways:
from language: pass a language.
from language and custom endpoint: pass a language and an endpoint.
- Inheritance
-
builtins.objectSourceLanguageConfig
Constructor
SourceLanguageConfig(language: str, endpoint_id: str | None = None)
Parameters
Name | Description |
---|---|
language
Required
|
The source language. The language is specified in BCP-47 format |
endpoint_id
|
The custom endpoint id Default value: None
|
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python