Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.6] - 2025-06-19

- Moved channel_diarization_labels field from realtime transcription config to common class.

## [4.0.5] - 2025-06-18

- Added missing flag to call_middleware for multichannel mode.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.5
4.0.6
6 changes: 3 additions & 3 deletions speechmatics/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ def asdict(self) -> Dict[Any, Any]:
transcript_filtering_config: Optional[dict] = None
"""Configuration for applying filtering to the transcription."""

channel_diarization_labels: Optional[List[str]] = None
"""Add your own speaker or channel labels to the transcript"""


@dataclass
class RTSpeakerDiarizationConfig:
Expand Down Expand Up @@ -304,9 +307,6 @@ class TranscriptionConfig(_TranscriptionConfig):
audio_events_config: Optional[AudioEventsConfig] = None
"""Optional configuration for audio events"""

channel_diarization_labels: List[str] = None
"""Add your own speaker or channel labels to the transcript"""

def as_config(self):
dictionary = self.asdict()
dictionary.pop("translation_config", None)
Expand Down