File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1- __version__ = "0.45.4 "
1+ __version__ = "0.45.5 "
Original file line number Diff line number Diff line change 11from .client import StreamingClient
22from .models import (
33 BeginEvent ,
4+ Encoding ,
45 EventMessage ,
6+ SpeechModel ,
57 StreamingClientOptions ,
68 StreamingError ,
79 StreamingEvents ,
1416
1517__all__ = [
1618 "BeginEvent" ,
19+ "Encoding" ,
1720 "EventMessage" ,
21+ "SpeechModel" ,
1822 "StreamingClient" ,
1923 "StreamingClientOptions" ,
2024 "StreamingError" ,
Original file line number Diff line number Diff line change @@ -72,9 +72,18 @@ def __str__(self):
7272 return self .value
7373
7474
75+ class SpeechModel (str , Enum ):
76+ universal_streaming_multilingual = "universal-streaming-multilingual"
77+ universal_streaming_english = "universal-streaming-english"
78+
79+ def __str__ (self ):
80+ return self .value
81+
82+
7583class StreamingParameters (StreamingSessionParameters ):
7684 sample_rate : int
7785 encoding : Optional [Encoding ] = None
86+ speech_model : Optional [SpeechModel ] = None
7887
7988
8089class UpdateConfiguration (StreamingSessionParameters ):
You can’t perform that action at this time.
0 commit comments