Skip to content

Commit 252abce

Browse files
authored
Change domain example from finance to medical in batch and rt sdk (#40)
1 parent 3b5bc03 commit 252abce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/batch/speechmatics/batch/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class TranscriptionConfig:
7575
diarization: Type of diarization to use. Options: "none", "speaker".
7676
additional_vocab: Additional vocabulary for better recognition.
7777
punctuation_overrides: Custom punctuation configuration.
78-
domain: Domain-specific language pack.
78+
domain: Request a language pack optimized for a specific domain (e.g. 'medical')
7979
enable_entities: Whether to enable entity detection.
8080
speaker_diarization_config: Configuration for speaker diarization.
8181
channel_diarization_labels: Labels for channel diarization.

sdk/rt/speechmatics/rt/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class TranscriptionConfig:
278278
Defaults to None.
279279
punctuation_overrides: (Optional) Permitted punctuation marks for advanced punctuation.
280280
Defaults to None.
281-
domain: (Optional) Optionally request a language pack optimized for a specific domain (e.g. 'finance').
281+
domain: (Optional) Request a language pack optimized for a specific domain (e.g. 'medical').
282282
Defaults to None.
283283
enable_entities: (Optional) Whether to enable entity detection/recognition.
284284
Defaults to None.

0 commit comments

Comments
 (0)