Skip to content
Draft
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
5 changes: 5 additions & 0 deletions sdk/rt/speechmatics/rt/_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ class OperatingPoint(str, Enum):

ENHANCED = "enhanced"
STANDARD = "standard"
MELIA_1 = "melia-1"


class Model(str, Enum):
"""Which model to use for transcription."""

ENHANCED = "enhanced"
STANDARD = "standard"
MELIA_1 = "melia-1"


@dataclass
Expand Down Expand Up @@ -130,6 +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: 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.
Expand Down Expand Up @@ -160,6 +164,7 @@ class ServerMessageType(str, Enum):
ADD_TRANSLATION = "AddTranslation"
ADD_PARTIAL_TRANSLATION = "AddPartialTranslation"
SPEAKERS_RESULT = "SpeakersResult"
LANGUAGE_INFO = "LanguageInfo"
INFO = "Info"
WARNING = "Warning"
ERROR = "Error"
Expand Down
Loading