sarvamai 0.1.12a1__py3-none-any.whl → 0.1.13a2__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.
@@ -5,19 +5,12 @@ import typing
5
5
  from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
6
6
  from ..core.request_options import RequestOptions
7
7
  from ..requests.bulk_job_callback import BulkJobCallbackParams
8
- from ..requests.speech_to_text_translate_job_parameters import (
9
- SpeechToTextTranslateJobParametersParams,
10
- )
8
+ from ..requests.speech_to_text_translate_job_parameters import SpeechToTextTranslateJobParametersParams
11
9
  from ..types.bulk_job_init_response_v_1 import BulkJobInitResponseV1
12
10
  from ..types.files_download_response import FilesDownloadResponse
13
11
  from ..types.files_upload_response import FilesUploadResponse
14
- from ..types.job_status_v_1 import JobStatusV1
15
- from ..types.speech_to_text_translate_model import SpeechToTextTranslateModel
16
- from .job import AsyncSpeechToTextTranslateJob, SpeechToTextTranslateJob
17
- from .raw_client import (
18
- AsyncRawSpeechToTextTranslateJobClient,
19
- RawSpeechToTextTranslateJobClient,
20
- )
12
+ from ..types.job_status_v_1_response import JobStatusV1Response
13
+ from .raw_client import AsyncRawSpeechToTextTranslateJobClient, RawSpeechToTextTranslateJobClient
21
14
 
22
15
  # this is used as the default value for optional parameters
23
16
  OMIT = typing.cast(typing.Any, ...)
@@ -25,9 +18,7 @@ OMIT = typing.cast(typing.Any, ...)
25
18
 
26
19
  class SpeechToTextTranslateJobClient:
27
20
  def __init__(self, *, client_wrapper: SyncClientWrapper):
28
- self._raw_client = RawSpeechToTextTranslateJobClient(
29
- client_wrapper=client_wrapper
30
- )
21
+ self._raw_client = RawSpeechToTextTranslateJobClient(client_wrapper=client_wrapper)
31
22
 
32
23
  @property
33
24
  def with_raw_response(self) -> RawSpeechToTextTranslateJobClient:
@@ -81,16 +72,13 @@ class SpeechToTextTranslateJobClient:
81
72
  )
82
73
  """
83
74
  _response = self._raw_client.initialise(
84
- job_parameters=job_parameters,
85
- ptu_id=ptu_id,
86
- callback=callback,
87
- request_options=request_options,
75
+ job_parameters=job_parameters, ptu_id=ptu_id, callback=callback, request_options=request_options
88
76
  )
89
77
  return _response.data
90
78
 
91
79
  def get_status(
92
80
  self, job_id: str, *, request_options: typing.Optional[RequestOptions] = None
93
- ) -> JobStatusV1:
81
+ ) -> JobStatusV1Response:
94
82
  """
95
83
  Get the status of a speech to text translate bulk job V1
96
84
 
@@ -104,7 +92,7 @@ class SpeechToTextTranslateJobClient:
104
92
 
105
93
  Returns
106
94
  -------
107
- JobStatusV1
95
+ JobStatusV1Response
108
96
  Successful Response
109
97
 
110
98
  Examples
@@ -127,7 +115,7 @@ class SpeechToTextTranslateJobClient:
127
115
  *,
128
116
  ptu_id: typing.Optional[int] = None,
129
117
  request_options: typing.Optional[RequestOptions] = None,
130
- ) -> JobStatusV1:
118
+ ) -> JobStatusV1Response:
131
119
  """
132
120
  Start a speech to text translate bulk job V1
133
121
 
@@ -143,7 +131,7 @@ class SpeechToTextTranslateJobClient:
143
131
 
144
132
  Returns
145
133
  -------
146
- JobStatusV1
134
+ JobStatusV1Response
147
135
  Successful Response
148
136
 
149
137
  Examples
@@ -157,9 +145,7 @@ class SpeechToTextTranslateJobClient:
157
145
  job_id="job_id",
158
146
  )
159
147
  """
160
- _response = self._raw_client.start(
161
- job_id, ptu_id=ptu_id, request_options=request_options
162
- )
148
+ _response = self._raw_client.start(job_id, ptu_id=ptu_id, request_options=request_options)
163
149
  return _response.data
164
150
 
165
151
  def get_upload_links(
@@ -250,77 +236,10 @@ class SpeechToTextTranslateJobClient:
250
236
  )
251
237
  return _response.data
252
238
 
253
- def create_job(
254
- self,
255
- model: SpeechToTextTranslateModel = "saaras:v2.5",
256
- with_diarization: bool = False,
257
- prompt: typing.Optional[str] = None,
258
- num_speakers: typing.Optional[int] = None,
259
- callback: typing.Optional[BulkJobCallbackParams] = OMIT,
260
- request_options: typing.Optional[RequestOptions] = None,
261
- ) -> SpeechToTextTranslateJob:
262
- """
263
- Create a new Speech-to-Text-Translate bulk job.
264
-
265
- Parameters
266
- ----------
267
- model : typing.Optional[SpeechToTextTranslateModel], default="saaras:v2.5"
268
- The model to use for speech-to-text translation.
269
-
270
- with_diarization : typing.Optional[bool], default=False
271
- Whether to enable speaker diarization (i.e., distinguishing who is speaking).
272
-
273
- prompt : typing.Optional[str], default=None
274
- An optional prompt to guide the transcription and translation model.
275
-
276
- num_speakers : typing.Optional[int], default=None
277
- The number of distinct speakers in the input audio, if known.
278
-
279
- callback : typing.Optional[BulkJobCallbackParams], default=OMIT
280
- Optional callback configuration to receive job completion events via webhook.
281
-
282
- request_options : typing.Optional[RequestOptions], default=None
283
- Optional configuration for request timeout, retries, etc.
284
-
285
- Returns
286
- -------
287
- SpeechToTextTranslateJob
288
- A handle to the newly created Speech-to-Text-Translate job.
289
- """
290
- response = self.initialise(
291
- job_parameters=SpeechToTextTranslateJobParametersParams(
292
- prompt=prompt, # type: ignore[typeddict-item]
293
- model=model,
294
- with_diarization=with_diarization,
295
- num_speakers=num_speakers, # type: ignore[typeddict-item]
296
- ),
297
- callback=callback,
298
- request_options=request_options,
299
- )
300
- return SpeechToTextTranslateJob(job_id=response.job_id, client=self)
301
-
302
- def get_job(self, job_id: str) -> SpeechToTextTranslateJob:
303
- """
304
- Get an existing Speech-to-Text-Translate job handle by job ID.
305
-
306
- Parameters
307
- ----------
308
- job_id : str
309
- The job ID of the previously created Speech-to-Text-Translate job.
310
-
311
- Returns
312
- -------
313
- SpeechToTextTranslateJob
314
- A job handle which can be used to check status or retrieve results.
315
- """
316
- return SpeechToTextTranslateJob(job_id=job_id, client=self)
317
-
318
239
 
319
240
  class AsyncSpeechToTextTranslateJobClient:
320
241
  def __init__(self, *, client_wrapper: AsyncClientWrapper):
321
- self._raw_client = AsyncRawSpeechToTextTranslateJobClient(
322
- client_wrapper=client_wrapper
323
- )
242
+ self._raw_client = AsyncRawSpeechToTextTranslateJobClient(client_wrapper=client_wrapper)
324
243
 
325
244
  @property
326
245
  def with_raw_response(self) -> AsyncRawSpeechToTextTranslateJobClient:
@@ -382,16 +301,13 @@ class AsyncSpeechToTextTranslateJobClient:
382
301
  asyncio.run(main())
383
302
  """
384
303
  _response = await self._raw_client.initialise(
385
- job_parameters=job_parameters,
386
- ptu_id=ptu_id,
387
- callback=callback,
388
- request_options=request_options,
304
+ job_parameters=job_parameters, ptu_id=ptu_id, callback=callback, request_options=request_options
389
305
  )
390
306
  return _response.data
391
307
 
392
308
  async def get_status(
393
309
  self, job_id: str, *, request_options: typing.Optional[RequestOptions] = None
394
- ) -> JobStatusV1:
310
+ ) -> JobStatusV1Response:
395
311
  """
396
312
  Get the status of a speech to text translate bulk job V1
397
313
 
@@ -405,7 +321,7 @@ class AsyncSpeechToTextTranslateJobClient:
405
321
 
406
322
  Returns
407
323
  -------
408
- JobStatusV1
324
+ JobStatusV1Response
409
325
  Successful Response
410
326
 
411
327
  Examples
@@ -427,9 +343,7 @@ class AsyncSpeechToTextTranslateJobClient:
427
343
 
428
344
  asyncio.run(main())
429
345
  """
430
- _response = await self._raw_client.get_status(
431
- job_id, request_options=request_options
432
- )
346
+ _response = await self._raw_client.get_status(job_id, request_options=request_options)
433
347
  return _response.data
434
348
 
435
349
  async def start(
@@ -438,7 +352,7 @@ class AsyncSpeechToTextTranslateJobClient:
438
352
  *,
439
353
  ptu_id: typing.Optional[int] = None,
440
354
  request_options: typing.Optional[RequestOptions] = None,
441
- ) -> JobStatusV1:
355
+ ) -> JobStatusV1Response:
442
356
  """
443
357
  Start a speech to text translate bulk job V1
444
358
 
@@ -454,7 +368,7 @@ class AsyncSpeechToTextTranslateJobClient:
454
368
 
455
369
  Returns
456
370
  -------
457
- JobStatusV1
371
+ JobStatusV1Response
458
372
  Successful Response
459
373
 
460
374
  Examples
@@ -476,9 +390,7 @@ class AsyncSpeechToTextTranslateJobClient:
476
390
 
477
391
  asyncio.run(main())
478
392
  """
479
- _response = await self._raw_client.start(
480
- job_id, ptu_id=ptu_id, request_options=request_options
481
- )
393
+ _response = await self._raw_client.start(job_id, ptu_id=ptu_id, request_options=request_options)
482
394
  return _response.data
483
395
 
484
396
  async def get_upload_links(
@@ -584,68 +496,3 @@ class AsyncSpeechToTextTranslateJobClient:
584
496
  job_id=job_id, files=files, ptu_id=ptu_id, request_options=request_options
585
497
  )
586
498
  return _response.data
587
-
588
- async def create_job(
589
- self,
590
- model: SpeechToTextTranslateModel = "saaras:v2.5",
591
- with_diarization: bool = False,
592
- prompt: typing.Optional[str] = None,
593
- num_speakers: typing.Optional[int] = None,
594
- callback: typing.Optional[BulkJobCallbackParams] = OMIT,
595
- request_options: typing.Optional[RequestOptions] = None,
596
- ) -> "AsyncSpeechToTextTranslateJob":
597
- """
598
- Create a new Speech-to-Text-Translate bulk job.
599
-
600
- Parameters
601
- ----------
602
- model : typing.Optional[SpeechToTextTranslateModel], default="saaras:v2.5"
603
- The model to use for speech-to-text translation.
604
-
605
- with_diarization : typing.Optional[bool], default=False
606
- Whether to enable speaker diarization (i.e., distinguishing who is speaking).
607
-
608
- prompt : typing.Optional[str], default=None
609
- An optional prompt to guide the transcription and translation model.
610
-
611
- num_speakers : typing.Optional[int], default=None
612
- The number of distinct speakers in the input audio, if known.
613
-
614
- callback : typing.Optional[BulkJobCallbackParams], default=OMIT
615
- Optional callback configuration to receive job completion events via webhook.
616
-
617
- request_options : typing.Optional[RequestOptions], default=None
618
- Optional configuration for request timeout, retries, etc.
619
-
620
- Returns
621
- -------
622
- AsyncSpeechToTextTranslateJob
623
- A handle to the newly created job.
624
- """
625
- response = await self.initialise(
626
- job_parameters=SpeechToTextTranslateJobParametersParams(
627
- prompt=prompt, # type: ignore[typeddict-item]
628
- model=model,
629
- with_diarization=with_diarization, # type: ignore[typeddict-item]
630
- num_speakers=num_speakers, # type: ignore[typeddict-item]
631
- ),
632
- callback=callback,
633
- request_options=request_options,
634
- )
635
- return AsyncSpeechToTextTranslateJob(job_id=response.job_id, client=self)
636
-
637
- async def get_job(self, job_id: str) -> "AsyncSpeechToTextTranslateJob":
638
- """
639
- Get an existing Speech-to-Text-Translate job handle by job ID.
640
-
641
- Parameters
642
- ----------
643
- job_id : str
644
- The job ID of the previously created speech-to-text-translate job.
645
-
646
- Returns
647
- -------
648
- AsyncSpeechToTextTranslateJob
649
- A job handle which can be used to check status or retrieve results.
650
- """
651
- return AsyncSpeechToTextTranslateJob(job_id=job_id, client=self)
@@ -21,7 +21,7 @@ from ..requests.speech_to_text_translate_job_parameters import SpeechToTextTrans
21
21
  from ..types.bulk_job_init_response_v_1 import BulkJobInitResponseV1
22
22
  from ..types.files_download_response import FilesDownloadResponse
23
23
  from ..types.files_upload_response import FilesUploadResponse
24
- from ..types.job_status_v_1 import JobStatusV1
24
+ from ..types.job_status_v_1_response import JobStatusV1Response
25
25
 
26
26
  # this is used as the default value for optional parameters
27
27
  OMIT = typing.cast(typing.Any, ...)
@@ -164,7 +164,7 @@ class RawSpeechToTextTranslateJobClient:
164
164
 
165
165
  def get_status(
166
166
  self, job_id: str, *, request_options: typing.Optional[RequestOptions] = None
167
- ) -> HttpResponse[JobStatusV1]:
167
+ ) -> HttpResponse[JobStatusV1Response]:
168
168
  """
169
169
  Get the status of a speech to text translate bulk job V1
170
170
 
@@ -178,7 +178,7 @@ class RawSpeechToTextTranslateJobClient:
178
178
 
179
179
  Returns
180
180
  -------
181
- HttpResponse[JobStatusV1]
181
+ HttpResponse[JobStatusV1Response]
182
182
  Successful Response
183
183
  """
184
184
  _response = self._client_wrapper.httpx_client.request(
@@ -190,9 +190,9 @@ class RawSpeechToTextTranslateJobClient:
190
190
  try:
191
191
  if 200 <= _response.status_code < 300:
192
192
  _data = typing.cast(
193
- JobStatusV1,
193
+ JobStatusV1Response,
194
194
  parse_obj_as(
195
- type_=JobStatusV1, # type: ignore
195
+ type_=JobStatusV1Response, # type: ignore
196
196
  object_=_response.json(),
197
197
  ),
198
198
  )
@@ -274,7 +274,7 @@ class RawSpeechToTextTranslateJobClient:
274
274
  *,
275
275
  ptu_id: typing.Optional[int] = None,
276
276
  request_options: typing.Optional[RequestOptions] = None,
277
- ) -> HttpResponse[JobStatusV1]:
277
+ ) -> HttpResponse[JobStatusV1Response]:
278
278
  """
279
279
  Start a speech to text translate bulk job V1
280
280
 
@@ -290,7 +290,7 @@ class RawSpeechToTextTranslateJobClient:
290
290
 
291
291
  Returns
292
292
  -------
293
- HttpResponse[JobStatusV1]
293
+ HttpResponse[JobStatusV1Response]
294
294
  Successful Response
295
295
  """
296
296
  _response = self._client_wrapper.httpx_client.request(
@@ -305,9 +305,9 @@ class RawSpeechToTextTranslateJobClient:
305
305
  try:
306
306
  if 200 <= _response.status_code < 300:
307
307
  _data = typing.cast(
308
- JobStatusV1,
308
+ JobStatusV1Response,
309
309
  parse_obj_as(
310
- type_=JobStatusV1, # type: ignore
310
+ type_=JobStatusV1Response, # type: ignore
311
311
  object_=_response.json(),
312
312
  ),
313
313
  )
@@ -771,7 +771,7 @@ class AsyncRawSpeechToTextTranslateJobClient:
771
771
 
772
772
  async def get_status(
773
773
  self, job_id: str, *, request_options: typing.Optional[RequestOptions] = None
774
- ) -> AsyncHttpResponse[JobStatusV1]:
774
+ ) -> AsyncHttpResponse[JobStatusV1Response]:
775
775
  """
776
776
  Get the status of a speech to text translate bulk job V1
777
777
 
@@ -785,7 +785,7 @@ class AsyncRawSpeechToTextTranslateJobClient:
785
785
 
786
786
  Returns
787
787
  -------
788
- AsyncHttpResponse[JobStatusV1]
788
+ AsyncHttpResponse[JobStatusV1Response]
789
789
  Successful Response
790
790
  """
791
791
  _response = await self._client_wrapper.httpx_client.request(
@@ -797,9 +797,9 @@ class AsyncRawSpeechToTextTranslateJobClient:
797
797
  try:
798
798
  if 200 <= _response.status_code < 300:
799
799
  _data = typing.cast(
800
- JobStatusV1,
800
+ JobStatusV1Response,
801
801
  parse_obj_as(
802
- type_=JobStatusV1, # type: ignore
802
+ type_=JobStatusV1Response, # type: ignore
803
803
  object_=_response.json(),
804
804
  ),
805
805
  )
@@ -881,7 +881,7 @@ class AsyncRawSpeechToTextTranslateJobClient:
881
881
  *,
882
882
  ptu_id: typing.Optional[int] = None,
883
883
  request_options: typing.Optional[RequestOptions] = None,
884
- ) -> AsyncHttpResponse[JobStatusV1]:
884
+ ) -> AsyncHttpResponse[JobStatusV1Response]:
885
885
  """
886
886
  Start a speech to text translate bulk job V1
887
887
 
@@ -897,7 +897,7 @@ class AsyncRawSpeechToTextTranslateJobClient:
897
897
 
898
898
  Returns
899
899
  -------
900
- AsyncHttpResponse[JobStatusV1]
900
+ AsyncHttpResponse[JobStatusV1Response]
901
901
  Successful Response
902
902
  """
903
903
  _response = await self._client_wrapper.httpx_client.request(
@@ -912,9 +912,9 @@ class AsyncRawSpeechToTextTranslateJobClient:
912
912
  try:
913
913
  if 200 <= _response.status_code < 300:
914
914
  _data = typing.cast(
915
- JobStatusV1,
915
+ JobStatusV1Response,
916
916
  parse_obj_as(
917
- type_=JobStatusV1, # type: ignore
917
+ type_=JobStatusV1Response, # type: ignore
918
918
  object_=_response.json(),
919
919
  ),
920
920
  )
@@ -45,7 +45,7 @@ from .files_upload_response import FilesUploadResponse
45
45
  from .finish_reason import FinishReason
46
46
  from .flush_signal import FlushSignal
47
47
  from .job_state import JobState
48
- from .job_status_v_1 import JobStatusV1
48
+ from .job_status_v_1_response import JobStatusV1Response
49
49
  from .language_identification_response import LanguageIdentificationResponse
50
50
  from .numerals_format import NumeralsFormat
51
51
  from .ping_signal import PingSignal
@@ -136,7 +136,7 @@ __all__ = [
136
136
  "FinishReason",
137
137
  "FlushSignal",
138
138
  "JobState",
139
- "JobStatusV1",
139
+ "JobStatusV1Response",
140
140
  "LanguageIdentificationResponse",
141
141
  "NumeralsFormat",
142
142
  "PingSignal",
@@ -5,7 +5,6 @@ import typing
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
7
  from .base_job_parameters import BaseJobParameters
8
- from .bulk_job_callback import BulkJobCallback
9
8
  from .job_state import JobState
10
9
  from .storage_container_type import StorageContainerType
11
10
 
@@ -23,11 +22,6 @@ class BulkJobInitResponseV1(UniversalBaseModel):
23
22
 
24
23
  job_parameters: BaseJobParameters
25
24
  job_state: JobState
26
- owner_id: str
27
- callback: typing.Optional[BulkJobCallback] = pydantic.Field(default=None)
28
- """
29
- Parameters for callback URL
30
- """
31
25
 
32
26
  if IS_PYDANTIC_V2:
33
27
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -9,7 +9,7 @@ from .storage_container_type import StorageContainerType
9
9
  from .task_detail_v_1 import TaskDetailV1
10
10
 
11
11
 
12
- class JobStatusV1(UniversalBaseModel):
12
+ class JobStatusV1Response(UniversalBaseModel):
13
13
  job_state: JobState = pydantic.Field()
14
14
  """
15
15
  Job State
@@ -45,11 +45,6 @@ class JobStatusV1(UniversalBaseModel):
45
45
  Failed Count
46
46
  """
47
47
 
48
- owner_id: str = pydantic.Field()
49
- """
50
- Owner of the job
51
- """
52
-
53
48
  storage_container_type: StorageContainerType = pydantic.Field()
54
49
  """
55
50
  Storage Container Type
@@ -65,11 +60,6 @@ class JobStatusV1(UniversalBaseModel):
65
60
  Job details at file level.
66
61
  """
67
62
 
68
- num_internal_retries: typing.Optional[int] = pydantic.Field(default=None)
69
- """
70
- Number of internal retries
71
- """
72
-
73
63
  if IS_PYDANTIC_V2:
74
64
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
75
65
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sarvamai
3
- Version: 0.1.12a1
3
+ Version: 0.1.13a2
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,11 +1,11 @@
1
- sarvamai/__init__.py,sha256=wq1a7uiqmB-87ii_Ye7Jif3sV1nvrdA0JF7M5e_FvVI,10564
1
+ sarvamai/__init__.py,sha256=GnF7-p90SFINEDPWaFGrfe4l5JL7oMCdIhhDdNbSvls,10596
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=J30X_os1lPf8Wml0KDFEf6p8VGHhgF_lf3nw1T2D3qo,8207
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=aq6JjUE1V2HzLOOdR5Y-h2NRyWbX-ytQzt8-nc0f84c,2570
8
+ sarvamai/core/client_wrapper.py,sha256=FC_3Kep5NGzWOSiwBhHJ1vKfR3_Pqm6CZ7kWWh_r5AI,2570
9
9
  sarvamai/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
10
10
  sarvamai/core/events.py,sha256=HvKBdSoYcFetk7cgNXb7FxuY-FtY8NtUhZIN7mGVx8U,1159
11
11
  sarvamai/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
@@ -28,14 +28,14 @@ sarvamai/errors/too_many_requests_error.py,sha256=Dl-_pfpboXJh-OtSbRaPQOB-UXvpVO
28
28
  sarvamai/errors/unprocessable_entity_error.py,sha256=JqxtzIhvjkpQDqbT9Q-go1n-gyv9PsYqq0ng_ZYyBMo,347
29
29
  sarvamai/play.py,sha256=4fh86zy8g8IPU2O8yPBY7QxXQOivv_nWQvPQsOa1arw,2183
30
30
  sarvamai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
- sarvamai/requests/__init__.py,sha256=NUwWK2r35t3wgDeukSf0pOtbrUzPBh6bMyK1oxxwQzw,5598
31
+ sarvamai/requests/__init__.py,sha256=ahxnrLbGzmGrHbwbacfelPA6m2OAXy4dlLFQiF5_BNQ,5623
32
32
  sarvamai/requests/audio_data.py,sha256=QI3SK5aiAg2yJ-m3l9CxOkONnH3CCKMFCl9kAdMs19o,410
33
33
  sarvamai/requests/audio_message.py,sha256=ZBeogjGE6YFXXM-0g8zq9SoizDk21reR0YXSB-0fMjg,214
34
34
  sarvamai/requests/audio_output.py,sha256=BnoX345rwoWgaMaj24u_19-SjmPV0xt7vlFEEDKRw20,280
35
35
  sarvamai/requests/audio_output_data.py,sha256=v5s67mI1RNO20-C39lRXWpHgV13yOPXML1VrZHke9sY,349
36
36
  sarvamai/requests/base_job_parameters.py,sha256=5-DGqoCcIt5PM_-LO8hzuTqnuW5arxpEzimAmL9rLKM,161
37
37
  sarvamai/requests/bulk_job_callback.py,sha256=6MvZSY0l2lch9skJzy8qBpuZ9KJoLv3ZL7SYP2rNlUI,345
38
- sarvamai/requests/bulk_job_init_response_v_1.py,sha256=qvi0lb0squV7PXiLbspspHMXjBefXqNThx-VTwbZHSQ,710
38
+ sarvamai/requests/bulk_job_init_response_v_1.py,sha256=prWUzJ5x3pdOdInKqeVahKWYL5uvwf7gOlecgZU2qfE,524
39
39
  sarvamai/requests/chat_completion_request_assistant_message.py,sha256=xI6nqqY2t4j56DGEAt2aasDnI7no_mxxCBk_ChxNQjg,247
40
40
  sarvamai/requests/chat_completion_request_message.py,sha256=B5tOPGNdSaMOJRl0k26uuXaqvpTrftiu-99CDDBTnSI,736
41
41
  sarvamai/requests/chat_completion_request_system_message.py,sha256=ZvjBuyL0oM7Vwd9bR_Yc7yGXUGLHYn9Np9jqEebiMRs,242
@@ -60,7 +60,7 @@ sarvamai/requests/files_download_response.py,sha256=lQg7yVJtiMvt4OR0WcDbaL9jCi77
60
60
  sarvamai/requests/files_request.py,sha256=VtmR-bfsOgYW_fYkreDCGkZl9uumxz-RFDBHebAQ2Yg,210
61
61
  sarvamai/requests/files_upload_response.py,sha256=vXM35jRe_kSZ6ydSTq7MeZEkLpdeZN01n36YvdM8b8M,487
62
62
  sarvamai/requests/flush_signal.py,sha256=Aj_PzphMNcHMMOaxvTi1uQ5y36ZTtKEsUGCprbWIOvw,406
63
- sarvamai/requests/job_status_v_1.py,sha256=uPki82pWAi4lo7GrJuot0qpXUq5M382d_PPRFGB0kxo,1269
63
+ sarvamai/requests/job_status_v_1_response.py,sha256=cxXkyKYlcysqsBqmENlh7rAqBN6x7_163rHqgtLvICk,1112
64
64
  sarvamai/requests/language_identification_response.py,sha256=BdS5U9Gic-71vb--ph6HGvd2hGNKDXERC7yrn8vFcvI,1098
65
65
  sarvamai/requests/ping_signal.py,sha256=TSgmfz2k4X1L6TzvX8u2SKZ6XQY3bSf7nPZf8mUViaM,343
66
66
  sarvamai/requests/send_text.py,sha256=DWzbNgeNN2xSIYgk2zEisgLqjwq5oleqJVHrtOnIqbE,267
@@ -87,9 +87,8 @@ sarvamai/speech_to_text/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUz
87
87
  sarvamai/speech_to_text/client.py,sha256=lp2G2fI9SUbeOBBE1S5tjcp-Xb8wIhAuVadLKwXveh8,11003
88
88
  sarvamai/speech_to_text/raw_client.py,sha256=A_56vEVeJdyttVJRiFxTMJ4n-s4l_PS8rI1DiLZlOmc,25331
89
89
  sarvamai/speech_to_text_job/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
90
- sarvamai/speech_to_text_job/client.py,sha256=v_q-fKp7Gz5izywtyIsjYE0CfJGa51k8sRBdWDmU0JU,18240
91
- sarvamai/speech_to_text_job/job.py,sha256=LD47DCehRg5vHF8mc9C-gcVPiXRE-vpVMT8gGlrzK04,13923
92
- sarvamai/speech_to_text_job/raw_client.py,sha256=v14drcQLAmpqozRUNKmw1F9j3omieMPC8R88Th1BID8,48055
90
+ sarvamai/speech_to_text_job/client.py,sha256=MeX6V_34pbeWczBdsiT3VmAp8O4e4QmNwXNR1ue6s7A,12577
91
+ sarvamai/speech_to_text_job/raw_client.py,sha256=OZTPzMhAn-ckE_xKzfZ9QLsEX5EZVOJS0Pf-PBa19jM,48200
93
92
  sarvamai/speech_to_text_streaming/__init__.py,sha256=q7QygMmZCHJ-4FMhhL_6XNV_dsqlIFRCO1iSxoyxaaY,437
94
93
  sarvamai/speech_to_text_streaming/client.py,sha256=AzStfZDXhu2YAJEpnVbsy0WObub5ctlGBzqfeYOUlpA,8442
95
94
  sarvamai/speech_to_text_streaming/raw_client.py,sha256=UrSRTR6NtB6SU0Ta8U2ER-PxBP1sDWL857l2LIaTxiU,7623
@@ -100,9 +99,8 @@ sarvamai/speech_to_text_streaming/types/speech_to_text_streaming_language_code.p
100
99
  sarvamai/speech_to_text_streaming/types/speech_to_text_streaming_model.py,sha256=b6F4ymgz4got6KVDqrweYvkET8itze63wUwWyjqDlO4,180
101
100
  sarvamai/speech_to_text_streaming/types/speech_to_text_streaming_vad_signals.py,sha256=8wiFOB7WDMbYCcMTYgNFJaIjEytYeXpJLwr_O_mH0TI,172
102
101
  sarvamai/speech_to_text_translate_job/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
103
- sarvamai/speech_to_text_translate_job/client.py,sha256=UmM9yACznkasSGodp1rNoi4Ang_D4EQ-tG-QtVwdaa4,19093
104
- sarvamai/speech_to_text_translate_job/job.py,sha256=-DRzK4ZI3Jupf4H3GUX1ShIqDSTxGb59lIYGY9cQa7U,14109
105
- sarvamai/speech_to_text_translate_job/raw_client.py,sha256=g-xk7H8ZwjmPSuJSgblVSH7kqGh_5wAkYUy5PdwTm-U,49362
102
+ sarvamai/speech_to_text_translate_job/client.py,sha256=LxmP_T_KsPtI4Xg25RqAVN0Nn1c0V1VLZecZzngiCJ0,13674
103
+ sarvamai/speech_to_text_translate_job/raw_client.py,sha256=dAitbu2B9afPK6iT9zNjUJnE5BIr5-lrAlwrfwFxdkU,49507
106
104
  sarvamai/speech_to_text_translate_streaming/__init__.py,sha256=_hmlce1Zs1grylysZhBUdtKfkaUROwVydtwz6l-1qqg,411
107
105
  sarvamai/speech_to_text_translate_streaming/client.py,sha256=xPPg5_JgpH8tYDUte6FGtpzXO2LGBUSRADN-ICqqA6U,8286
108
106
  sarvamai/speech_to_text_translate_streaming/raw_client.py,sha256=WUj5dGWQT2HUYLFoi3SRJzXk1JMuLxhPQzbL45G5kO8,7395
@@ -121,14 +119,14 @@ sarvamai/text_to_speech_streaming/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7
121
119
  sarvamai/text_to_speech_streaming/client.py,sha256=tcYTUmWGseGQkLOsJdO4S3eZrFstjaLCPi5OcKflfus,6306
122
120
  sarvamai/text_to_speech_streaming/raw_client.py,sha256=VdL5HYpUotIm5HaOqTwRkyZqoV0BuzwCtAfcB0g1y10,5487
123
121
  sarvamai/text_to_speech_streaming/socket_client.py,sha256=NEcijnvjuNcWfzqpBi-xWsXVkL0NPq6EGAkEjnaq9hw,13909
124
- sarvamai/types/__init__.py,sha256=_tcONO157t6xm41llByU9FzSYWCQO2gExsqKZOz0HpQ,7681
122
+ sarvamai/types/__init__.py,sha256=AM1sJfHYlXgNvlgEfEonsEtESSafPV5-m0-YJRKUuyQ,7706
125
123
  sarvamai/types/audio_data.py,sha256=rgOukLkLNJ_HBBVE2g5dfEL2CWjRoGiMvCtpq0qTB1Y,829
126
124
  sarvamai/types/audio_message.py,sha256=sB4EgkWkWJzipYXobkmM9AYZTTZtCpg_ySKssUeznUE,560
127
125
  sarvamai/types/audio_output.py,sha256=Eq-YUZa1mSDwt7bax2c4Vv2gBlyM_JBJWzHhTAhFSko,621
128
126
  sarvamai/types/audio_output_data.py,sha256=Og-yoeYzL--9G0-HATRe_M_XkKP6uLWuc1Qxbjte8LI,745
129
127
  sarvamai/types/base_job_parameters.py,sha256=x-6SDzT2JxsGNUNuMskw8drWj6UwqgCaeo33XrlgKvo,509
130
128
  sarvamai/types/bulk_job_callback.py,sha256=mEpKCadWIqZhXlaJztnAhGmydln_6ykvEotFGEQ0RtI,739
131
- sarvamai/types/bulk_job_init_response_v_1.py,sha256=1iPzqVz6pN9zWWxthboPl2yFHOsewkqjlNwVmV0RTaE,1085
129
+ sarvamai/types/bulk_job_init_response_v_1.py,sha256=iYr_jSp443R1IoQdlLtDK6f78z2x-47feBnhUXCdWBU,894
132
130
  sarvamai/types/chat_completion_request_assistant_message.py,sha256=pFSONJ6CBsv3frcteid66SOKMkFwQ1UJs_e0XwwbKis,624
133
131
  sarvamai/types/chat_completion_request_message.py,sha256=4ZfaNvaphnPdJqYSeSXMZwBhkrAqBz3aob6j-4Cklho,1638
134
132
  sarvamai/types/chat_completion_request_system_message.py,sha256=E7YhTk1zr4u7dj_yylrf7_cyRrxpBssNBHhqxsb1b74,619
@@ -160,7 +158,7 @@ sarvamai/types/files_upload_response.py,sha256=wRntZyh1-LGpo4-x_986Nv2A9rv9asDx9
160
158
  sarvamai/types/finish_reason.py,sha256=PBWtBNkX4FMaODmlUehpF6qLB5uH_zR-Mw3M4uhIB6U,209
161
159
  sarvamai/types/flush_signal.py,sha256=N7MJWb658KoxRpFN9cIbyQGY45zZcg8YCou3E1v--9o,759
162
160
  sarvamai/types/job_state.py,sha256=H6Zph2mIcjsd3upEDt1VzIEORkEpnIDs0kH8BvIyrow,189
163
- sarvamai/types/job_status_v_1.py,sha256=i1xopAptPVbGGIUcjKWgjAzSKwLVy6y4oGVEYcOA1P0,1798
161
+ sarvamai/types/job_status_v_1_response.py,sha256=jusn-3XLCk8vCnu3q3GGSzz_yYgKB5PY_01Q32-1aJk,1605
164
162
  sarvamai/types/language_identification_response.py,sha256=jG4ZQ6KQHCiEDqC51OniOwiRdW14Fbz22bbTsUDp_kc,1483
165
163
  sarvamai/types/numerals_format.py,sha256=xg3lYiHcnzyFwuwRcaIteJLH_Pz6pJ9n9kTlYPEnCBU,165
166
164
  sarvamai/types/ping_signal.py,sha256=cE53FRIXlc8bSo18z6jlAnOh6DhZEMX36huWEX6X3-A,695
@@ -209,6 +207,6 @@ sarvamai/types/transliterate_mode.py,sha256=1jSEMlGcoLkWuk12TgoOpSgwifa4rThGKZ1h
209
207
  sarvamai/types/transliterate_source_language.py,sha256=bSY9wJszF0sg-Cgg6F-YcWC8ly1mIlj9rqa15-jBtx8,283
210
208
  sarvamai/types/transliteration_response.py,sha256=yt-lzTbDeJ_ZL4I8kQa6oESxA9ebeJJY7LfFHpdEsmM,815
211
209
  sarvamai/version.py,sha256=Qkp3Ee9YH-O9RTix90e0i7iNrFAGN-QDt2AFwGA4n8k,75
212
- sarvamai-0.1.12a1.dist-info/METADATA,sha256=i_KKC-mEXt5VhlG2bOyMMCKjq9GwA13T8S0Yvcg559o,26753
213
- sarvamai-0.1.12a1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
214
- sarvamai-0.1.12a1.dist-info/RECORD,,
210
+ sarvamai-0.1.13a2.dist-info/METADATA,sha256=-i6GJmDknM_EKjKfdo2vWiwx0ipLvO5tmR6K8Sh9soY,26753
211
+ sarvamai-0.1.13a2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
212
+ sarvamai-0.1.13a2.dist-info/RECORD,,