From 4598fe62b938b6cebd5fd07da65893441389233d Mon Sep 17 00:00:00 2001 From: rakeshv Date: Fri, 31 Jul 2026 11:14:30 +0530 Subject: [PATCH 1/2] melia-1 RT support --- sdk/rt/speechmatics/rt/_models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sdk/rt/speechmatics/rt/_models.py b/sdk/rt/speechmatics/rt/_models.py index 98bef5b..78f7c12 100644 --- a/sdk/rt/speechmatics/rt/_models.py +++ b/sdk/rt/speechmatics/rt/_models.py @@ -40,6 +40,7 @@ class OperatingPoint(str, Enum): ENHANCED = "enhanced" STANDARD = "standard" + MELIA_1 = "melia-1" class Model(str, Enum): @@ -47,6 +48,7 @@ class Model(str, Enum): ENHANCED = "enhanced" STANDARD = "standard" + MELIA_1 = "melia-1" @dataclass @@ -130,6 +132,7 @@ class ServerMessageType(str, Enum): AddPartialTranslation: Provides interim translation results that may change as more context becomes available. SpeakerResult: Provides the speaker identification data. + LanguageInfo: Provides information about the detected language(s). Info: Informational messages from the server. Warning: Warning messages that don't stop transcription. Error: Error messages indicating transcription failure. @@ -160,6 +163,7 @@ class ServerMessageType(str, Enum): ADD_TRANSLATION = "AddTranslation" ADD_PARTIAL_TRANSLATION = "AddPartialTranslation" SPEAKERS_RESULT = "SpeakersResult" + LANGUAGE_INFO = "LanguageInfo" INFO = "Info" WARNING = "Warning" ERROR = "Error" From 22db705f6c0306f0a5b0f804f298decda2f0ccd6 Mon Sep 17 00:00:00 2001 From: rakeshv Date: Fri, 31 Jul 2026 14:43:06 +0530 Subject: [PATCH 2/2] updated comments for LanguageInfo msg --- sdk/rt/speechmatics/rt/_models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/rt/speechmatics/rt/_models.py b/sdk/rt/speechmatics/rt/_models.py index 78f7c12..3824014 100644 --- a/sdk/rt/speechmatics/rt/_models.py +++ b/sdk/rt/speechmatics/rt/_models.py @@ -132,7 +132,8 @@ class ServerMessageType(str, Enum): AddPartialTranslation: Provides interim translation results that may change as more context becomes available. SpeakerResult: Provides the speaker identification data. - LanguageInfo: Provides information about the detected language(s). + LanguageInfo: Sent when a new language is detected, providing the + word delimiter and writing direction for that language. Info: Informational messages from the server. Warning: Warning messages that don't stop transcription. Error: Error messages indicating transcription failure.