diff --git a/CHANGELOG.md b/CHANGELOG.md index b7978a056..48328a25d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -118,6 +118,9 @@ asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) `DailyTransport.stop_transcription()` to be able to start and stop Daily transcription dynamically (maybe with different settings). +- Added the option `informal` to `TranslationConfig` on Gladia config. + Allowing to force informal language forms when available. + ### Changed - Reverted the default model for `GeminiMultimodalLiveLLMService` back to diff --git a/src/pipecat/services/gladia/config.py b/src/pipecat/services/gladia/config.py index 275554418..4bcde35bb 100644 --- a/src/pipecat/services/gladia/config.py +++ b/src/pipecat/services/gladia/config.py @@ -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):