AutoDetectSourceLanguageConfig Class
Represents auto detection source language configuration, allowing open range, specifying the potential source languages and corresponding customized endpoint
The configuration can be initialized in different ways:
from open range: pass nothing, for source language auto detection in synthesis and multilingual translation.
from languages: pass a list of potential source languages, for source language auto detection in recognition.
from sourceLanguageConfigs: pass a list of source language configurations, for source language auto detection in recognition.
- Inheritance
-
builtins.objectAutoDetectSourceLanguageConfig
Constructor
AutoDetectSourceLanguageConfig(languages: List[str] | None = None, sourceLanguageConfigs: List[SourceLanguageConfig] | None = None)
Parameters
Name | Description |
---|---|
languages
|
The list of potential source languages. The language is specified in BCP-47 format Default value: None
|
sourceLanguageConfigs
|
The list of source language configurations Default value: None
|
Azure SDK for Python