From 26cd12c124c7feec9db25b122eeac95d929bc4b5 Mon Sep 17 00:00:00 2001 From: Dumitru Gutu Date: Thu, 2 Oct 2025 08:53:12 +0100 Subject: [PATCH] Change domain example from finance to medical in batch and rt sdk --- sdk/batch/speechmatics/batch/_models.py | 2 +- sdk/rt/speechmatics/rt/_models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/batch/speechmatics/batch/_models.py b/sdk/batch/speechmatics/batch/_models.py index c8529113..404d2958 100644 --- a/sdk/batch/speechmatics/batch/_models.py +++ b/sdk/batch/speechmatics/batch/_models.py @@ -75,7 +75,7 @@ class TranscriptionConfig: diarization: Type of diarization to use. Options: "none", "speaker". additional_vocab: Additional vocabulary for better recognition. punctuation_overrides: Custom punctuation configuration. - domain: Domain-specific language pack. + domain: Request a language pack optimized for a specific domain (e.g. 'medical') enable_entities: Whether to enable entity detection. speaker_diarization_config: Configuration for speaker diarization. channel_diarization_labels: Labels for channel diarization. diff --git a/sdk/rt/speechmatics/rt/_models.py b/sdk/rt/speechmatics/rt/_models.py index 8c650aae..65446312 100644 --- a/sdk/rt/speechmatics/rt/_models.py +++ b/sdk/rt/speechmatics/rt/_models.py @@ -278,7 +278,7 @@ class TranscriptionConfig: Defaults to None. punctuation_overrides: (Optional) Permitted punctuation marks for advanced punctuation. Defaults to None. - domain: (Optional) Optionally request a language pack optimized for a specific domain (e.g. 'finance'). + domain: (Optional) Request a language pack optimized for a specific domain (e.g. 'medical'). Defaults to None. enable_entities: (Optional) Whether to enable entity detection/recognition. Defaults to None.