Skip to content

Commit 52a8640

Browse files
dan-ince-aaiAssemblyAI
andauthored
chore: sync sdk code with DeepLearning repo (#126)
Co-authored-by: AssemblyAI <[email protected]>
1 parent ef8dcc0 commit 52a8640

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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.41.1"
1+
__version__ = "0.41.2"

assemblyai/streaming/v3/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,14 @@ class StreamingSessionParameters(BaseModel):
6262
format_turns: Optional[bool] = None
6363

6464

65+
class Encoding(str, Enum):
66+
pcm_s16le = "pcm_s16le"
67+
pcm_mulaw = "pcm_mulaw"
68+
69+
6570
class StreamingParameters(StreamingSessionParameters):
6671
sample_rate: int
72+
encoding: Optional[Encoding] = None
6773

6874

6975
class UpdateConfiguration(StreamingSessionParameters):

0 commit comments

Comments
 (0)