Add informal to Gladia TranslationConfig

This commit is contained in:
Dan Berg
2025-06-03 17:10:52 +02:00
committed by GitHub
parent f73eb4ebd9
commit b1a88af43c

View File

@@ -74,11 +74,13 @@ class TranslationConfig(BaseModel):
target_languages: List of target language codes for translation
model: Translation model to use ("base" or "enhanced")
match_original_utterances: Whether to align translations with original utterances
informal: Force informal language forms when available
"""
target_languages: Optional[List[str]] = None
model: Optional[str] = None
match_original_utterances: Optional[bool] = None
informal: Optional[bool] = None
class RealtimeProcessingConfig(BaseModel):