sarvamai 0.1.5a14__py3-none-any.whl → 0.1.6__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.
@@ -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.5a14",
20
+ "User-Agent": "sarvamai/0.1.6",
21
21
  "X-Fern-Language": "Python",
22
22
  "X-Fern-SDK-Name": "sarvamai",
23
- "X-Fern-SDK-Version": "0.1.5a14",
23
+ "X-Fern-SDK-Version": "0.1.6",
24
24
  }
25
25
  headers["api-subscription-key"] = self.api_subscription_key
26
26
  return headers
@@ -58,13 +58,9 @@ class TextToSpeechClient:
58
58
  speaker : typing.Optional[TextToSpeechSpeaker]
59
59
  The speaker voice to be used for the output audio.
60
60
 
61
- **Default:** Meera
62
-
63
- **Model Compatibility (Speakers compatible with respective models):**
64
- - **bulbul:v1:**
65
- - Female: Diya, Maya, Meera, Pavithra, Maitreyi, Misha
66
- - Male: Amol, Arjun, Amartya, Arvind, Neel, Vian
61
+ **Default:** Anushka
67
62
 
63
+ **Model Compatibility (Speakers compatible with respective model):**
68
64
  - **bulbul:v2:**
69
65
  - Female: Anushka, Manisha, Vidya, Arya
70
66
  - Male: Abhilash, Karun, Hitesh
@@ -87,7 +83,7 @@ class TextToSpeechClient:
87
83
  Controls whether normalization of English words and numeric entities (e.g., numbers, dates) is performed. Set to true for better handling of mixed-language text. Default is false.
88
84
 
89
85
  model : typing.Optional[TextToSpeechModel]
90
- Specifies the model to use for text-to-speech conversion. Default is bulbul:v1.
86
+ Specifies the model to use for text-to-speech conversion. Default is bulbul:v2.
91
87
 
92
88
  request_options : typing.Optional[RequestOptions]
93
89
  Request-specific configuration.
@@ -167,13 +163,9 @@ class AsyncTextToSpeechClient:
167
163
  speaker : typing.Optional[TextToSpeechSpeaker]
168
164
  The speaker voice to be used for the output audio.
169
165
 
170
- **Default:** Meera
171
-
172
- **Model Compatibility (Speakers compatible with respective models):**
173
- - **bulbul:v1:**
174
- - Female: Diya, Maya, Meera, Pavithra, Maitreyi, Misha
175
- - Male: Amol, Arjun, Amartya, Arvind, Neel, Vian
166
+ **Default:** Anushka
176
167
 
168
+ **Model Compatibility (Speakers compatible with respective model):**
177
169
  - **bulbul:v2:**
178
170
  - Female: Anushka, Manisha, Vidya, Arya
179
171
  - Male: Abhilash, Karun, Hitesh
@@ -196,7 +188,7 @@ class AsyncTextToSpeechClient:
196
188
  Controls whether normalization of English words and numeric entities (e.g., numbers, dates) is performed. Set to true for better handling of mixed-language text. Default is false.
197
189
 
198
190
  model : typing.Optional[TextToSpeechModel]
199
- Specifies the model to use for text-to-speech conversion. Default is bulbul:v1.
191
+ Specifies the model to use for text-to-speech conversion. Default is bulbul:v2.
200
192
 
201
193
  request_options : typing.Optional[RequestOptions]
202
194
  Request-specific configuration.
@@ -55,13 +55,9 @@ class RawTextToSpeechClient:
55
55
  speaker : typing.Optional[TextToSpeechSpeaker]
56
56
  The speaker voice to be used for the output audio.
57
57
 
58
- **Default:** Meera
59
-
60
- **Model Compatibility (Speakers compatible with respective models):**
61
- - **bulbul:v1:**
62
- - Female: Diya, Maya, Meera, Pavithra, Maitreyi, Misha
63
- - Male: Amol, Arjun, Amartya, Arvind, Neel, Vian
58
+ **Default:** Anushka
64
59
 
60
+ **Model Compatibility (Speakers compatible with respective model):**
65
61
  - **bulbul:v2:**
66
62
  - Female: Anushka, Manisha, Vidya, Arya
67
63
  - Male: Abhilash, Karun, Hitesh
@@ -84,7 +80,7 @@ class RawTextToSpeechClient:
84
80
  Controls whether normalization of English words and numeric entities (e.g., numbers, dates) is performed. Set to true for better handling of mixed-language text. Default is false.
85
81
 
86
82
  model : typing.Optional[TextToSpeechModel]
87
- Specifies the model to use for text-to-speech conversion. Default is bulbul:v1.
83
+ Specifies the model to use for text-to-speech conversion. Default is bulbul:v2.
88
84
 
89
85
  request_options : typing.Optional[RequestOptions]
90
86
  Request-specific configuration.
@@ -218,13 +214,9 @@ class AsyncRawTextToSpeechClient:
218
214
  speaker : typing.Optional[TextToSpeechSpeaker]
219
215
  The speaker voice to be used for the output audio.
220
216
 
221
- **Default:** Meera
222
-
223
- **Model Compatibility (Speakers compatible with respective models):**
224
- - **bulbul:v1:**
225
- - Female: Diya, Maya, Meera, Pavithra, Maitreyi, Misha
226
- - Male: Amol, Arjun, Amartya, Arvind, Neel, Vian
217
+ **Default:** Anushka
227
218
 
219
+ **Model Compatibility (Speakers compatible with respective model):**
228
220
  - **bulbul:v2:**
229
221
  - Female: Anushka, Manisha, Vidya, Arya
230
222
  - Male: Abhilash, Karun, Hitesh
@@ -247,7 +239,7 @@ class AsyncRawTextToSpeechClient:
247
239
  Controls whether normalization of English words and numeric entities (e.g., numbers, dates) is performed. Set to true for better handling of mixed-language text. Default is false.
248
240
 
249
241
  model : typing.Optional[TextToSpeechModel]
250
- Specifies the model to use for text-to-speech conversion. Default is bulbul:v1.
242
+ Specifies the model to use for text-to-speech conversion. Default is bulbul:v2.
251
243
 
252
244
  request_options : typing.Optional[RequestOptions]
253
245
  Request-specific configuration.
@@ -2,4 +2,4 @@
2
2
 
3
3
  import typing
4
4
 
5
- TextToSpeechModel = typing.Union[typing.Literal["bulbul:v1", "bulbul:v2"], typing.Any]
5
+ TextToSpeechModel = typing.Literal["bulbul:v2"]
@@ -3,26 +3,5 @@
3
3
  import typing
4
4
 
5
5
  TextToSpeechSpeaker = 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
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sarvamai
3
- Version: 0.1.5a14
3
+ Version: 0.1.6
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -5,7 +5,7 @@ sarvamai/chat/raw_client.py,sha256=A2kRuZcVWlJhyYCD7YKgqNkZEp3cYa1731KhRkhirU0,1
5
5
  sarvamai/client.py,sha256=5-fW9679vlfqw6hQCtFIG0gnqd6tdz2W8BWx2ypFUHE,6855
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=a9EClnhAIjINM2aTSKgrG-q3k7M8Z85hiQhB3X1KytE,2080
8
+ sarvamai/core/client_wrapper.py,sha256=bhcuvbPbeVNO-t82IlCbIbLn9dgs5UVDbsDdHs8DLYQ,2074
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
@@ -85,8 +85,8 @@ sarvamai/text/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
85
85
  sarvamai/text/client.py,sha256=CMwDVtMsPor08e8F9a7yhHtgrdLzd1__samwm4S9CGM,30525
86
86
  sarvamai/text/raw_client.py,sha256=lQ7bV9aVqxjwEUHMPEZ4x0_Xs036_yFArMK9rnYT4ZI,48625
87
87
  sarvamai/text_to_speech/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
88
- sarvamai/text_to_speech/client.py,sha256=dyJlmHhVHUiXsi_5uh8Oged-ynN_NcDzD7JC_MByzV4,9164
89
- sarvamai/text_to_speech/raw_client.py,sha256=dwVPzx1kjXjuYGuNUjB1ibxHrYHXQJOJ6TnMGpDZOdo,15102
88
+ sarvamai/text_to_speech/client.py,sha256=aVvwdGTfgVUekALLpdyxKNsGUZQ2Ee2OZBLx6WP6g_E,8842
89
+ sarvamai/text_to_speech/raw_client.py,sha256=3Zu6HN_FOY683Vm-EN-OL7YAbLsftjJlFm5OyRGNtYc,14780
90
90
  sarvamai/types/__init__.py,sha256=OWVmsa_5dWjmCtLRsCpSlXrlTPd1ZLNAxqfAYvxAF80,5226
91
91
  sarvamai/types/audio_data.py,sha256=rgOukLkLNJ_HBBVE2g5dfEL2CWjRoGiMvCtpq0qTB1Y,829
92
92
  sarvamai/types/audio_message.py,sha256=sB4EgkWkWJzipYXobkmM9AYZTTZtCpg_ySKssUeznUE,560
@@ -130,9 +130,9 @@ sarvamai/types/speech_to_text_translate_transcription_data.py,sha256=-cZZm21um6e
130
130
  sarvamai/types/spoken_form_numerals_format.py,sha256=soBly93wMkazIcp2GDM0Mf1MjY140Pe24hBlwNoWge0,169
131
131
  sarvamai/types/stop_configuration.py,sha256=yA_q4s4BIrbl3FotZpg4ZcyL10C7gVI0s2dqvH32BNw,136
132
132
  sarvamai/types/text_to_speech_language.py,sha256=T5-rP93WyJwkdJTmNZuvNkkoVtgU0G25a8R2F3OwRZ4,254
133
- sarvamai/types/text_to_speech_model.py,sha256=pQT3AA7CgxbwFAHLAsMM0ZIXmtLbellJF-jtP5U7bLc,167
133
+ sarvamai/types/text_to_speech_model.py,sha256=qRkpGCcfrLD45l499cBUcBgZDo_qKPZtFxA7wPbp1NQ,128
134
134
  sarvamai/types/text_to_speech_response.py,sha256=Yzvwvwm65IR2vUzxZws9OLBW0GgB6bbmvjClqSuZzdg,742
135
- sarvamai/types/text_to_speech_speaker.py,sha256=r-khCl0iD-oZu5Mf9FMoO3FzFKKLTzaUmfi0CySrFok,495
135
+ sarvamai/types/text_to_speech_speaker.py,sha256=300mXxDKnWV9O7ccuO8EkLooAu2-y2ZdqDynrckaHew,219
136
136
  sarvamai/types/timestamps_model.py,sha256=ZlqcxYNtAcm2c61NIwTcS2nGYMeM-T7hfhI0BMnnhI0,852
137
137
  sarvamai/types/transcription_metrics.py,sha256=jSQAjBY-gpGq_USnIpHNwTWUQKDvaYWrkX2FlFu58oo,717
138
138
  sarvamai/types/translate_mode.py,sha256=lLBJyAaawLMH1eCGWTZKuzAA0iCEc2TL_7cpRZzmIac,210
@@ -146,6 +146,6 @@ sarvamai/types/transliterate_mode.py,sha256=1jSEMlGcoLkWuk12TgoOpSgwifa4rThGKZ1h
146
146
  sarvamai/types/transliterate_source_language.py,sha256=bSY9wJszF0sg-Cgg6F-YcWC8ly1mIlj9rqa15-jBtx8,283
147
147
  sarvamai/types/transliteration_response.py,sha256=yt-lzTbDeJ_ZL4I8kQa6oESxA9ebeJJY7LfFHpdEsmM,815
148
148
  sarvamai/version.py,sha256=Qkp3Ee9YH-O9RTix90e0i7iNrFAGN-QDt2AFwGA4n8k,75
149
- sarvamai-0.1.5a14.dist-info/METADATA,sha256=lNBU8MkacRV__lZfNW49jdBk1-rMfRkeGQA7o4fKb0o,1038
150
- sarvamai-0.1.5a14.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
151
- sarvamai-0.1.5a14.dist-info/RECORD,,
149
+ sarvamai-0.1.6.dist-info/METADATA,sha256=DW3eeStVixYGiHsf1xXcjYfVSl9tvC8JRbxl0VBqooQ,1035
150
+ sarvamai-0.1.6.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
151
+ sarvamai-0.1.6.dist-info/RECORD,,