Constants
gllm_intl.detection.constants
Constant definitions for detection module.
References
NONE
DEFAULT_DETECTED_LANGUAGE = DetectionLanguage(language_code='en', confidence=0.0)
module-attribute
MAXIMUM_CONFIDENCE = 0.99999
module-attribute
DetectionLanguage
Bases: BaseModel
Represents a single language detection candidate.
Attributes:
| Name | Type | Description |
|---|---|---|
language_code |
str
|
ISO 639-1 language code (e.g., "en"). |
confidence |
float
|
Detection confidence score between 0.0 and 1.0. |