Skip to content

Commit a53d113

Browse files
he-jamesAssemblyAI
andauthored
chore: sync sdk code with DeepLearning repo (#141)
Co-authored-by: AssemblyAI <engineering.sdk@assemblyai.com>
1 parent e3b3b3a commit a53d113

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

assemblyai/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.45.0"
1+
__version__ = "0.45.1"

assemblyai/transcriber.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,14 @@ def speech_model(self) -> Optional[str]:
368368

369369
return self._impl.transcript.speech_model
370370

371+
@property
372+
def speech_model_used(self) -> Optional[str]:
373+
"The actual speech model that was used for the transcription"
374+
if not self._impl.transcript:
375+
raise ValueError("The internal Transcript object is None.")
376+
377+
return self._impl.transcript.speech_model_used
378+
371379
@property
372380
def text(self) -> Optional[str]:
373381
"The text transcription of your media file"

0 commit comments

Comments
 (0)