sarvamai 0.1.8rc5__py3-none-any.whl → 0.1.8rc6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sarvamai/__init__.py +0 -2
- sarvamai/core/client_wrapper.py +2 -2
- sarvamai/requests/flush_signal.py +5 -0
- sarvamai/requests/initialize_connection.py +7 -0
- sarvamai/requests/initialize_connection_data.py +61 -0
- sarvamai/requests/ping_signal.py +5 -0
- sarvamai/text_to_speech_streaming/__init__.py +0 -3
- sarvamai/text_to_speech_streaming/client.py +4 -5
- sarvamai/text_to_speech_streaming/raw_client.py +4 -5
- sarvamai/types/flush_signal.py +5 -0
- sarvamai/types/initialize_connection.py +7 -0
- sarvamai/types/initialize_connection_data.py +72 -11
- sarvamai/types/initialize_connection_data_speaker.py +1 -22
- sarvamai/types/ping_signal.py +5 -0
- {sarvamai-0.1.8rc5.dist-info → sarvamai-0.1.8rc6.dist-info}/METADATA +1 -1
- {sarvamai-0.1.8rc5.dist-info → sarvamai-0.1.8rc6.dist-info}/RECORD +17 -19
- sarvamai/text_to_speech_streaming/types/__init__.py +0 -7
- sarvamai/text_to_speech_streaming/types/text_to_speech_streaming_model.py +0 -5
- {sarvamai-0.1.8rc5.dist-info → sarvamai-0.1.8rc6.dist-info}/WHEEL +0 -0
sarvamai/__init__.py
CHANGED
|
@@ -154,7 +154,6 @@ from .speech_to_text_translate_streaming import (
|
|
|
154
154
|
SpeechToTextTranslateStreamingModel,
|
|
155
155
|
SpeechToTextTranslateStreamingVadSignals,
|
|
156
156
|
)
|
|
157
|
-
from .text_to_speech_streaming import TextToSpeechStreamingModel
|
|
158
157
|
from .version import __version__
|
|
159
158
|
|
|
160
159
|
__all__ = [
|
|
@@ -274,7 +273,6 @@ __all__ = [
|
|
|
274
273
|
"TextToSpeechResponse",
|
|
275
274
|
"TextToSpeechResponseParams",
|
|
276
275
|
"TextToSpeechSpeaker",
|
|
277
|
-
"TextToSpeechStreamingModel",
|
|
278
276
|
"TimestampsModel",
|
|
279
277
|
"TimestampsModelParams",
|
|
280
278
|
"TooManyRequestsError",
|
sarvamai/core/client_wrapper.py
CHANGED
|
@@ -17,10 +17,10 @@ class BaseClientWrapper:
|
|
|
17
17
|
|
|
18
18
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
19
19
|
headers: typing.Dict[str, str] = {
|
|
20
|
-
"User-Agent": "sarvamai/0.1.
|
|
20
|
+
"User-Agent": "sarvamai/0.1.8rc6",
|
|
21
21
|
"X-Fern-Language": "Python",
|
|
22
22
|
"X-Fern-SDK-Name": "sarvamai",
|
|
23
|
-
"X-Fern-SDK-Version": "0.1.
|
|
23
|
+
"X-Fern-SDK-Version": "0.1.8rc6",
|
|
24
24
|
}
|
|
25
25
|
headers["api-subscription-key"] = self.api_subscription_key
|
|
26
26
|
return headers
|
|
@@ -6,4 +6,9 @@ import typing_extensions
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class FlushSignalParams(typing_extensions.TypedDict):
|
|
9
|
+
"""
|
|
10
|
+
Forces the text buffer to process immediately, regardless of the min_buffer_size threshold.
|
|
11
|
+
Use this when you need to process remaining text that hasn't reached the minimum buffer size.
|
|
12
|
+
"""
|
|
13
|
+
|
|
9
14
|
type: typing.Literal["flush"]
|
|
@@ -7,5 +7,12 @@ from .initialize_connection_data import InitializeConnectionDataParams
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class InitializeConnectionParams(typing_extensions.TypedDict):
|
|
10
|
+
"""
|
|
11
|
+
Configuration message required as the first message after establishing the WebSocket connection.
|
|
12
|
+
This initializes TTS parameters and can be updated at any time during the WebSocket lifecycle
|
|
13
|
+
by sending a new config message. When a config update is sent, any text currently in the buffer
|
|
14
|
+
will be automatically flushed and processed before applying the new configuration.
|
|
15
|
+
"""
|
|
16
|
+
|
|
10
17
|
type: typing.Literal["config"]
|
|
11
18
|
data: InitializeConnectionDataParams
|
|
@@ -10,13 +10,74 @@ from ..types.initialize_connection_data_target_language_code import InitializeCo
|
|
|
10
10
|
|
|
11
11
|
class InitializeConnectionDataParams(typing_extensions.TypedDict):
|
|
12
12
|
target_language_code: InitializeConnectionDataTargetLanguageCode
|
|
13
|
+
"""
|
|
14
|
+
The language of the text is BCP-47 format
|
|
15
|
+
"""
|
|
16
|
+
|
|
13
17
|
speaker: InitializeConnectionDataSpeaker
|
|
18
|
+
"""
|
|
19
|
+
The speaker voice to be used for the output audio.
|
|
20
|
+
|
|
21
|
+
**Default:** Anushka
|
|
22
|
+
|
|
23
|
+
**Model Compatibility (Speakers compatible with respective model):**
|
|
24
|
+
- **bulbul:v2:**
|
|
25
|
+
- Female: Anushka, Manisha, Vidya, Arya
|
|
26
|
+
- Male: Abhilash, Karun, Hitesh
|
|
27
|
+
|
|
28
|
+
**Note:** Speaker selection must match the chosen model version.
|
|
29
|
+
"""
|
|
30
|
+
|
|
14
31
|
pitch: typing_extensions.NotRequired[float]
|
|
32
|
+
"""
|
|
33
|
+
Controls the pitch of the audio. Lower values result in a deeper voice,
|
|
34
|
+
while higher values make it sharper. The suitable range is between -0.75
|
|
35
|
+
and 0.75. Default is 0.0.
|
|
36
|
+
"""
|
|
37
|
+
|
|
15
38
|
pace: typing_extensions.NotRequired[float]
|
|
39
|
+
"""
|
|
40
|
+
Controls the speed of the audio. Lower values result in slower speech,
|
|
41
|
+
while higher values make it faster. The suitable range is between 0.5
|
|
42
|
+
and 2.0. Default is 1.0.
|
|
43
|
+
"""
|
|
44
|
+
|
|
16
45
|
loudness: typing_extensions.NotRequired[float]
|
|
46
|
+
"""
|
|
47
|
+
Controls the loudness of the audio. Lower values result in quieter audio,
|
|
48
|
+
while higher values make it louder. The suitable range is between 0.3
|
|
49
|
+
and 3.0. Default is 1.0.
|
|
50
|
+
"""
|
|
51
|
+
|
|
17
52
|
speech_sample_rate: typing_extensions.NotRequired[int]
|
|
53
|
+
"""
|
|
54
|
+
Specifies the sample rate of the output audio. Supported values are
|
|
55
|
+
8000, 16000, 22050, 24000 Hz. If not provided, the default is 22050 Hz.
|
|
56
|
+
"""
|
|
57
|
+
|
|
18
58
|
enable_preprocessing: typing_extensions.NotRequired[bool]
|
|
59
|
+
"""
|
|
60
|
+
Controls whether normalization of English words and numeric entities
|
|
61
|
+
(e.g., numbers, dates) is performed. Set to true for better handling
|
|
62
|
+
of mixed-language text. Default is false.
|
|
63
|
+
"""
|
|
64
|
+
|
|
19
65
|
output_audio_codec: typing_extensions.NotRequired[typing.Literal["mp3"]]
|
|
66
|
+
"""
|
|
67
|
+
Audio codec (currently supports MP3 only, optimized for real-time playback)
|
|
68
|
+
"""
|
|
69
|
+
|
|
20
70
|
output_audio_bitrate: typing_extensions.NotRequired[InitializeConnectionDataOutputAudioBitrate]
|
|
71
|
+
"""
|
|
72
|
+
Audio bitrate (choose from 5 supported bitrate options)
|
|
73
|
+
"""
|
|
74
|
+
|
|
21
75
|
min_buffer_size: typing_extensions.NotRequired[int]
|
|
76
|
+
"""
|
|
77
|
+
Minimum character length that triggers buffer flushing for TTS model processing
|
|
78
|
+
"""
|
|
79
|
+
|
|
22
80
|
max_chunk_length: typing_extensions.NotRequired[int]
|
|
81
|
+
"""
|
|
82
|
+
Maximum length for sentence splitting (adjust based on content length)
|
|
83
|
+
"""
|
sarvamai/requests/ping_signal.py
CHANGED
|
@@ -11,7 +11,6 @@ from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
|
11
11
|
from ..core.request_options import RequestOptions
|
|
12
12
|
from .raw_client import AsyncRawTextToSpeechStreamingClient, RawTextToSpeechStreamingClient
|
|
13
13
|
from .socket_client import AsyncTextToSpeechStreamingSocketClient, TextToSpeechStreamingSocketClient
|
|
14
|
-
from .types.text_to_speech_streaming_model import TextToSpeechStreamingModel
|
|
15
14
|
|
|
16
15
|
|
|
17
16
|
class TextToSpeechStreamingClient:
|
|
@@ -33,7 +32,7 @@ class TextToSpeechStreamingClient:
|
|
|
33
32
|
def connect(
|
|
34
33
|
self,
|
|
35
34
|
*,
|
|
36
|
-
model: typing.Optional[
|
|
35
|
+
model: typing.Optional[typing.Literal["bulbul:v2"]] = None,
|
|
37
36
|
api_subscription_key: typing.Optional[str] = None,
|
|
38
37
|
request_options: typing.Optional[RequestOptions] = None,
|
|
39
38
|
) -> typing.Iterator[TextToSpeechStreamingSocketClient]:
|
|
@@ -43,7 +42,7 @@ class TextToSpeechStreamingClient:
|
|
|
43
42
|
|
|
44
43
|
Parameters
|
|
45
44
|
----------
|
|
46
|
-
model : typing.Optional[
|
|
45
|
+
model : typing.Optional[typing.Literal["bulbul:v2"]]
|
|
47
46
|
Text to speech model to use
|
|
48
47
|
|
|
49
48
|
api_subscription_key : typing.Optional[str]
|
|
@@ -103,7 +102,7 @@ class AsyncTextToSpeechStreamingClient:
|
|
|
103
102
|
async def connect(
|
|
104
103
|
self,
|
|
105
104
|
*,
|
|
106
|
-
model: typing.Optional[
|
|
105
|
+
model: typing.Optional[typing.Literal["bulbul:v2"]] = None,
|
|
107
106
|
api_subscription_key: typing.Optional[str] = None,
|
|
108
107
|
request_options: typing.Optional[RequestOptions] = None,
|
|
109
108
|
) -> typing.AsyncIterator[AsyncTextToSpeechStreamingSocketClient]:
|
|
@@ -113,7 +112,7 @@ class AsyncTextToSpeechStreamingClient:
|
|
|
113
112
|
|
|
114
113
|
Parameters
|
|
115
114
|
----------
|
|
116
|
-
model : typing.Optional[
|
|
115
|
+
model : typing.Optional[typing.Literal["bulbul:v2"]]
|
|
117
116
|
Text to speech model to use
|
|
118
117
|
|
|
119
118
|
api_subscription_key : typing.Optional[str]
|
|
@@ -10,7 +10,6 @@ from ..core.api_error import ApiError
|
|
|
10
10
|
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
11
11
|
from ..core.request_options import RequestOptions
|
|
12
12
|
from .socket_client import AsyncTextToSpeechStreamingSocketClient, TextToSpeechStreamingSocketClient
|
|
13
|
-
from .types.text_to_speech_streaming_model import TextToSpeechStreamingModel
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
class RawTextToSpeechStreamingClient:
|
|
@@ -21,7 +20,7 @@ class RawTextToSpeechStreamingClient:
|
|
|
21
20
|
def connect(
|
|
22
21
|
self,
|
|
23
22
|
*,
|
|
24
|
-
model: typing.Optional[
|
|
23
|
+
model: typing.Optional[typing.Literal["bulbul:v2"]] = None,
|
|
25
24
|
api_subscription_key: typing.Optional[str] = None,
|
|
26
25
|
request_options: typing.Optional[RequestOptions] = None,
|
|
27
26
|
) -> typing.Iterator[TextToSpeechStreamingSocketClient]:
|
|
@@ -31,7 +30,7 @@ class RawTextToSpeechStreamingClient:
|
|
|
31
30
|
|
|
32
31
|
Parameters
|
|
33
32
|
----------
|
|
34
|
-
model : typing.Optional[
|
|
33
|
+
model : typing.Optional[typing.Literal["bulbul:v2"]]
|
|
35
34
|
Text to speech model to use
|
|
36
35
|
|
|
37
36
|
api_subscription_key : typing.Optional[str]
|
|
@@ -80,7 +79,7 @@ class AsyncRawTextToSpeechStreamingClient:
|
|
|
80
79
|
async def connect(
|
|
81
80
|
self,
|
|
82
81
|
*,
|
|
83
|
-
model: typing.Optional[
|
|
82
|
+
model: typing.Optional[typing.Literal["bulbul:v2"]] = None,
|
|
84
83
|
api_subscription_key: typing.Optional[str] = None,
|
|
85
84
|
request_options: typing.Optional[RequestOptions] = None,
|
|
86
85
|
) -> typing.AsyncIterator[AsyncTextToSpeechStreamingSocketClient]:
|
|
@@ -90,7 +89,7 @@ class AsyncRawTextToSpeechStreamingClient:
|
|
|
90
89
|
|
|
91
90
|
Parameters
|
|
92
91
|
----------
|
|
93
|
-
model : typing.Optional[
|
|
92
|
+
model : typing.Optional[typing.Literal["bulbul:v2"]]
|
|
94
93
|
Text to speech model to use
|
|
95
94
|
|
|
96
95
|
api_subscription_key : typing.Optional[str]
|
sarvamai/types/flush_signal.py
CHANGED
|
@@ -7,6 +7,11 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class FlushSignal(UniversalBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
Forces the text buffer to process immediately, regardless of the min_buffer_size threshold.
|
|
12
|
+
Use this when you need to process remaining text that hasn't reached the minimum buffer size.
|
|
13
|
+
"""
|
|
14
|
+
|
|
10
15
|
type: typing.Literal["flush"] = "flush"
|
|
11
16
|
|
|
12
17
|
if IS_PYDANTIC_V2:
|
|
@@ -8,6 +8,13 @@ from .initialize_connection_data import InitializeConnectionData
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class InitializeConnection(UniversalBaseModel):
|
|
11
|
+
"""
|
|
12
|
+
Configuration message required as the first message after establishing the WebSocket connection.
|
|
13
|
+
This initializes TTS parameters and can be updated at any time during the WebSocket lifecycle
|
|
14
|
+
by sending a new config message. When a config update is sent, any text currently in the buffer
|
|
15
|
+
will be automatically flushed and processed before applying the new configuration.
|
|
16
|
+
"""
|
|
17
|
+
|
|
11
18
|
type: typing.Literal["config"] = "config"
|
|
12
19
|
data: InitializeConnectionData
|
|
13
20
|
|
|
@@ -10,17 +10,78 @@ from .initialize_connection_data_target_language_code import InitializeConnectio
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class InitializeConnectionData(UniversalBaseModel):
|
|
13
|
-
target_language_code: InitializeConnectionDataTargetLanguageCode
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
target_language_code: InitializeConnectionDataTargetLanguageCode = pydantic.Field()
|
|
14
|
+
"""
|
|
15
|
+
The language of the text is BCP-47 format
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
speaker: InitializeConnectionDataSpeaker = pydantic.Field()
|
|
19
|
+
"""
|
|
20
|
+
The speaker voice to be used for the output audio.
|
|
21
|
+
|
|
22
|
+
**Default:** Anushka
|
|
23
|
+
|
|
24
|
+
**Model Compatibility (Speakers compatible with respective model):**
|
|
25
|
+
- **bulbul:v2:**
|
|
26
|
+
- Female: Anushka, Manisha, Vidya, Arya
|
|
27
|
+
- Male: Abhilash, Karun, Hitesh
|
|
28
|
+
|
|
29
|
+
**Note:** Speaker selection must match the chosen model version.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
pitch: typing.Optional[float] = pydantic.Field(default=None)
|
|
33
|
+
"""
|
|
34
|
+
Controls the pitch of the audio. Lower values result in a deeper voice,
|
|
35
|
+
while higher values make it sharper. The suitable range is between -0.75
|
|
36
|
+
and 0.75. Default is 0.0.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
pace: typing.Optional[float] = pydantic.Field(default=None)
|
|
40
|
+
"""
|
|
41
|
+
Controls the speed of the audio. Lower values result in slower speech,
|
|
42
|
+
while higher values make it faster. The suitable range is between 0.5
|
|
43
|
+
and 2.0. Default is 1.0.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
loudness: typing.Optional[float] = pydantic.Field(default=None)
|
|
47
|
+
"""
|
|
48
|
+
Controls the loudness of the audio. Lower values result in quieter audio,
|
|
49
|
+
while higher values make it louder. The suitable range is between 0.3
|
|
50
|
+
and 3.0. Default is 1.0.
|
|
51
|
+
"""
|
|
52
|
+
|
|
53
|
+
speech_sample_rate: typing.Optional[int] = pydantic.Field(default=None)
|
|
54
|
+
"""
|
|
55
|
+
Specifies the sample rate of the output audio. Supported values are
|
|
56
|
+
8000, 16000, 22050, 24000 Hz. If not provided, the default is 22050 Hz.
|
|
57
|
+
"""
|
|
58
|
+
|
|
59
|
+
enable_preprocessing: typing.Optional[bool] = pydantic.Field(default=None)
|
|
60
|
+
"""
|
|
61
|
+
Controls whether normalization of English words and numeric entities
|
|
62
|
+
(e.g., numbers, dates) is performed. Set to true for better handling
|
|
63
|
+
of mixed-language text. Default is false.
|
|
64
|
+
"""
|
|
65
|
+
|
|
66
|
+
output_audio_codec: typing.Optional[typing.Literal["mp3"]] = pydantic.Field(default=None)
|
|
67
|
+
"""
|
|
68
|
+
Audio codec (currently supports MP3 only, optimized for real-time playback)
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
output_audio_bitrate: typing.Optional[InitializeConnectionDataOutputAudioBitrate] = pydantic.Field(default=None)
|
|
72
|
+
"""
|
|
73
|
+
Audio bitrate (choose from 5 supported bitrate options)
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
min_buffer_size: typing.Optional[int] = pydantic.Field(default=None)
|
|
77
|
+
"""
|
|
78
|
+
Minimum character length that triggers buffer flushing for TTS model processing
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
max_chunk_length: typing.Optional[int] = pydantic.Field(default=None)
|
|
82
|
+
"""
|
|
83
|
+
Maximum length for sentence splitting (adjust based on content length)
|
|
84
|
+
"""
|
|
24
85
|
|
|
25
86
|
if IS_PYDANTIC_V2:
|
|
26
87
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -3,26 +3,5 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
InitializeConnectionDataSpeaker = typing.Union[
|
|
6
|
-
typing.Literal[
|
|
7
|
-
"meera",
|
|
8
|
-
"pavithra",
|
|
9
|
-
"maitreyi",
|
|
10
|
-
"arvind",
|
|
11
|
-
"amol",
|
|
12
|
-
"amartya",
|
|
13
|
-
"diya",
|
|
14
|
-
"neel",
|
|
15
|
-
"misha",
|
|
16
|
-
"vian",
|
|
17
|
-
"arjun",
|
|
18
|
-
"maya",
|
|
19
|
-
"anushka",
|
|
20
|
-
"abhilash",
|
|
21
|
-
"manisha",
|
|
22
|
-
"vidya",
|
|
23
|
-
"arya",
|
|
24
|
-
"karun",
|
|
25
|
-
"hitesh",
|
|
26
|
-
],
|
|
27
|
-
typing.Any,
|
|
6
|
+
typing.Literal["anushka", "abhilash", "manisha", "vidya", "arya", "karun", "hitesh"], typing.Any
|
|
28
7
|
]
|
sarvamai/types/ping_signal.py
CHANGED
|
@@ -7,6 +7,11 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class PingSignal(UniversalBaseModel):
|
|
10
|
+
"""
|
|
11
|
+
Send ping signal to keep the WebSocket connection alive. The connection automatically
|
|
12
|
+
closes after one minute of inactivity.
|
|
13
|
+
"""
|
|
14
|
+
|
|
10
15
|
type: typing.Literal["ping"] = "ping"
|
|
11
16
|
|
|
12
17
|
if IS_PYDANTIC_V2:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
sarvamai/__init__.py,sha256=
|
|
1
|
+
sarvamai/__init__.py,sha256=PHOfArF05nQpPgHVlAeWbzuU3fj_a_1nb4KTPV5OuoE,8838
|
|
2
2
|
sarvamai/chat/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
3
3
|
sarvamai/chat/client.py,sha256=xOSj83Gr6Q7eY2qUeATiuXYQqBqWqSCQlIEopK5fKus,11022
|
|
4
4
|
sarvamai/chat/raw_client.py,sha256=A2kRuZcVWlJhyYCD7YKgqNkZEp3cYa1731KhRkhirU0,17885
|
|
5
5
|
sarvamai/client.py,sha256=aI1sw5LVGMjgukgZLDlUmA17ecK1yGsQxH-W_JiCrco,7177
|
|
6
6
|
sarvamai/core/__init__.py,sha256=YE2CtXeASe1RAbaI39twKWYKCuT4tW5is9HWHhJjR_g,1653
|
|
7
7
|
sarvamai/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
8
|
-
sarvamai/core/client_wrapper.py,sha256=
|
|
8
|
+
sarvamai/core/client_wrapper.py,sha256=XLVb0UOmyM8ir1Ht42b7D13ojMz0QetLyGKaImhbMcI,2080
|
|
9
9
|
sarvamai/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
10
10
|
sarvamai/core/events.py,sha256=j7VWXgMpOsjCXdzY22wIhI7Q-v5InZ4WchRzA88x_Sk,856
|
|
11
11
|
sarvamai/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
@@ -50,11 +50,11 @@ sarvamai/requests/error_message.py,sha256=-J21pfEJghsms4pNe55O_9qkODNd-BKLMt96AO
|
|
|
50
50
|
sarvamai/requests/error_response.py,sha256=A8j12JQ7JJkUcnt26k2M9uwXXkwyT-LNqG3BO3U8NIk,288
|
|
51
51
|
sarvamai/requests/error_response_data.py,sha256=l9tGTykaKZ8pKxdw9RKitpW49kKcs4aGibH7rKG2v7w,461
|
|
52
52
|
sarvamai/requests/events_data.py,sha256=3seSash8DysPUWX6mKPzoEzWZlsrK4Tann2GFSbQjZg,286
|
|
53
|
-
sarvamai/requests/flush_signal.py,sha256=
|
|
54
|
-
sarvamai/requests/initialize_connection.py,sha256=
|
|
55
|
-
sarvamai/requests/initialize_connection_data.py,sha256=
|
|
53
|
+
sarvamai/requests/flush_signal.py,sha256=Aj_PzphMNcHMMOaxvTi1uQ5y36ZTtKEsUGCprbWIOvw,406
|
|
54
|
+
sarvamai/requests/initialize_connection.py,sha256=H4SMx6-TkJ_oyDtQkUpbS8H-njItwNDfHkl9bppLuwk,720
|
|
55
|
+
sarvamai/requests/initialize_connection_data.py,sha256=NEvOWOO5UmIH3qxXsfBgjH2sLnG54HrR9x1AdYfBgCE,2918
|
|
56
56
|
sarvamai/requests/language_identification_response.py,sha256=BdS5U9Gic-71vb--ph6HGvd2hGNKDXERC7yrn8vFcvI,1098
|
|
57
|
-
sarvamai/requests/ping_signal.py,sha256=
|
|
57
|
+
sarvamai/requests/ping_signal.py,sha256=TSgmfz2k4X1L6TzvX8u2SKZ6XQY3bSf7nPZf8mUViaM,343
|
|
58
58
|
sarvamai/requests/send_text.py,sha256=DWzbNgeNN2xSIYgk2zEisgLqjwq5oleqJVHrtOnIqbE,267
|
|
59
59
|
sarvamai/requests/send_text_data.py,sha256=2jds-xd77u-YTgIWQsTUBKE-_7tsrFshXXuC_Ld4ULo,161
|
|
60
60
|
sarvamai/requests/speech_to_text_response.py,sha256=GS3jNmHDOxqNZ7cvftD62khUMSBIQUu6zEPdCqk8zJk,1041
|
|
@@ -97,12 +97,10 @@ sarvamai/text/raw_client.py,sha256=lQ7bV9aVqxjwEUHMPEZ4x0_Xs036_yFArMK9rnYT4ZI,4
|
|
|
97
97
|
sarvamai/text_to_speech/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
98
98
|
sarvamai/text_to_speech/client.py,sha256=aVvwdGTfgVUekALLpdyxKNsGUZQ2Ee2OZBLx6WP6g_E,8842
|
|
99
99
|
sarvamai/text_to_speech/raw_client.py,sha256=3Zu6HN_FOY683Vm-EN-OL7YAbLsftjJlFm5OyRGNtYc,14780
|
|
100
|
-
sarvamai/text_to_speech_streaming/__init__.py,sha256=
|
|
101
|
-
sarvamai/text_to_speech_streaming/client.py,sha256=
|
|
102
|
-
sarvamai/text_to_speech_streaming/raw_client.py,sha256=
|
|
100
|
+
sarvamai/text_to_speech_streaming/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
101
|
+
sarvamai/text_to_speech_streaming/client.py,sha256=geTF5xy-batzO12XVt0sPw_XJCi7-m2sDFK_B7SL7qc,6088
|
|
102
|
+
sarvamai/text_to_speech_streaming/raw_client.py,sha256=asOcNw1WAViOiXDVWH4sxWSXGVoLwAOh9vUtq_xralA,5269
|
|
103
103
|
sarvamai/text_to_speech_streaming/socket_client.py,sha256=qZpHFC1z1c6T_FaGOW6CPtWE15glmqClmdc5Iixa7FY,10429
|
|
104
|
-
sarvamai/text_to_speech_streaming/types/__init__.py,sha256=DUsvIGTtST5N1v3Hnodq5aNKfPcTBlod28DSypc8NzA,198
|
|
105
|
-
sarvamai/text_to_speech_streaming/types/text_to_speech_streaming_model.py,sha256=1uOMrJIaAxi_XzwCYmnG5XA-il66cq9uC4ZuiI7HCHo,176
|
|
106
104
|
sarvamai/types/__init__.py,sha256=_5KKlTtdY4kOQ3go9T60EPmSA53AOFGbF5VJOkcnros,6320
|
|
107
105
|
sarvamai/types/audio_data.py,sha256=rgOukLkLNJ_HBBVE2g5dfEL2CWjRoGiMvCtpq0qTB1Y,829
|
|
108
106
|
sarvamai/types/audio_message.py,sha256=sB4EgkWkWJzipYXobkmM9AYZTTZtCpg_ySKssUeznUE,560
|
|
@@ -127,16 +125,16 @@ sarvamai/types/error_response.py,sha256=3m17Aj3GY_-mSY2lH-GkbuiyewTm-wNL9UQ1exLv
|
|
|
127
125
|
sarvamai/types/error_response_data.py,sha256=hncN_zmPg8kqSHjNciYLn2QeNqzqHxKiZDlKOvjKdwA,838
|
|
128
126
|
sarvamai/types/events_data.py,sha256=hDSOyODc8-lmpduJIQkps9kHlUZKYXGw3lETi8irHt0,681
|
|
129
127
|
sarvamai/types/finish_reason.py,sha256=PBWtBNkX4FMaODmlUehpF6qLB5uH_zR-Mw3M4uhIB6U,209
|
|
130
|
-
sarvamai/types/flush_signal.py,sha256=
|
|
128
|
+
sarvamai/types/flush_signal.py,sha256=N7MJWb658KoxRpFN9cIbyQGY45zZcg8YCou3E1v--9o,759
|
|
131
129
|
sarvamai/types/format.py,sha256=57LicD0XLqW4D1QEnZWsWGifzRy1GV9P5utKPXLoxtg,144
|
|
132
|
-
sarvamai/types/initialize_connection.py,sha256=
|
|
133
|
-
sarvamai/types/initialize_connection_data.py,sha256=
|
|
130
|
+
sarvamai/types/initialize_connection.py,sha256=cXHmWJ1GrD1JX9fDMpQzUSRBXWTDAPekoEYtESRtQos,1062
|
|
131
|
+
sarvamai/types/initialize_connection_data.py,sha256=vfHqhN29dg6IwjYMsDKgoAaoYwi6JAljPOQTrCx5CEM,3431
|
|
134
132
|
sarvamai/types/initialize_connection_data_output_audio_bitrate.py,sha256=Wl2b6KR_shf6FzsBr1RJxBeVduS6AtO8skwQqOaffFc,209
|
|
135
|
-
sarvamai/types/initialize_connection_data_speaker.py,sha256=
|
|
133
|
+
sarvamai/types/initialize_connection_data_speaker.py,sha256=pdLyERHk0NtAKj-7lvebElF7QR1ac2T2jZ-keJsWba8,231
|
|
136
134
|
sarvamai/types/initialize_connection_data_target_language_code.py,sha256=iEuRFQJPsXO6lCwbNOoB7BzvoLCPIXL7UbIOKOMIjPs,276
|
|
137
135
|
sarvamai/types/language_identification_response.py,sha256=jG4ZQ6KQHCiEDqC51OniOwiRdW14Fbz22bbTsUDp_kc,1483
|
|
138
136
|
sarvamai/types/numerals_format.py,sha256=xg3lYiHcnzyFwuwRcaIteJLH_Pz6pJ9n9kTlYPEnCBU,165
|
|
139
|
-
sarvamai/types/ping_signal.py,sha256=
|
|
137
|
+
sarvamai/types/ping_signal.py,sha256=cE53FRIXlc8bSo18z6jlAnOh6DhZEMX36huWEX6X3-A,695
|
|
140
138
|
sarvamai/types/reasoning_effort.py,sha256=_TBLn3rQgzJAdnKqV2g0PETbrSBZl0fPLfQ5ZE9H4Pc,164
|
|
141
139
|
sarvamai/types/response_type.py,sha256=yyk0QTIQlNa9W0Uoj_5_ey_Q3Bu8Jij5GkgR0Rt_WnU,163
|
|
142
140
|
sarvamai/types/role.py,sha256=3eY01zZQKB8BSD4cFDeVjz-o2qnHJKz1vnToLqbExxs,115
|
|
@@ -175,6 +173,6 @@ sarvamai/types/transliterate_mode.py,sha256=1jSEMlGcoLkWuk12TgoOpSgwifa4rThGKZ1h
|
|
|
175
173
|
sarvamai/types/transliterate_source_language.py,sha256=bSY9wJszF0sg-Cgg6F-YcWC8ly1mIlj9rqa15-jBtx8,283
|
|
176
174
|
sarvamai/types/transliteration_response.py,sha256=yt-lzTbDeJ_ZL4I8kQa6oESxA9ebeJJY7LfFHpdEsmM,815
|
|
177
175
|
sarvamai/version.py,sha256=Qkp3Ee9YH-O9RTix90e0i7iNrFAGN-QDt2AFwGA4n8k,75
|
|
178
|
-
sarvamai-0.1.
|
|
179
|
-
sarvamai-0.1.
|
|
180
|
-
sarvamai-0.1.
|
|
176
|
+
sarvamai-0.1.8rc6.dist-info/METADATA,sha256=tSU-7crW7SJuPf0lcP4nigyvM2VN1rkBTe7KzaxmnGw,26760
|
|
177
|
+
sarvamai-0.1.8rc6.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
178
|
+
sarvamai-0.1.8rc6.dist-info/RECORD,,
|
|
File without changes
|