sarvamai 0.1.14__py3-none-any.whl → 0.1.16__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 CHANGED
@@ -37,6 +37,7 @@ from .types import (
37
37
  ErrorResponse,
38
38
  ErrorResponseData,
39
39
  EventsData,
40
+ EventsDataSignalType,
40
41
  FileSignedUrlDetails,
41
42
  FilesDownloadResponse,
42
43
  FilesRequest,
@@ -252,6 +253,7 @@ __all__ = [
252
253
  "ErrorResponseParams",
253
254
  "EventsData",
254
255
  "EventsDataParams",
256
+ "EventsDataSignalType",
255
257
  "FileSignedUrlDetails",
256
258
  "FileSignedUrlDetailsParams",
257
259
  "FilesDownloadResponse",
@@ -23,10 +23,10 @@ class BaseClientWrapper:
23
23
 
24
24
  def get_headers(self) -> typing.Dict[str, str]:
25
25
  headers: typing.Dict[str, str] = {
26
- "User-Agent": "sarvamai/0.1.14",
26
+ "User-Agent": "sarvamai/0.1.16",
27
27
  "X-Fern-Language": "Python",
28
28
  "X-Fern-SDK-Name": "sarvamai",
29
- "X-Fern-SDK-Version": "0.1.14",
29
+ "X-Fern-SDK-Version": "0.1.16",
30
30
  **(self.get_custom_headers() or {}),
31
31
  }
32
32
  headers["api-subscription-key"] = self.api_subscription_key
@@ -3,15 +3,30 @@
3
3
  import datetime as dt
4
4
 
5
5
  import typing_extensions
6
+ from ..types.events_data_signal_type import EventsDataSignalType
6
7
 
7
8
 
8
9
  class EventsDataParams(typing_extensions.TypedDict):
9
- event_type: str
10
+ """
11
+ VAD events are sent when vad_signals=true. Fields may vary by event type.
12
+ """
13
+
14
+ event_type: typing_extensions.NotRequired[str]
10
15
  """
11
16
  Type of event
12
17
  """
13
18
 
14
- timestamp: dt.datetime
19
+ timestamp: typing_extensions.NotRequired[dt.datetime]
15
20
  """
16
21
  Event timestamp
17
22
  """
23
+
24
+ signal_type: typing_extensions.NotRequired[EventsDataSignalType]
25
+ """
26
+ VAD signal type
27
+ """
28
+
29
+ occured_at: typing_extensions.NotRequired[float]
30
+ """
31
+ Epoch timestamp when the event occurred
32
+ """
@@ -40,19 +40,19 @@ class SpeechToTextClient:
40
40
  request_options: typing.Optional[RequestOptions] = None,
41
41
  ) -> SpeechToTextResponse:
42
42
  """
43
- ## Real-Time Speech to Text API
43
+ ## Speech to Text API
44
44
 
45
- This API transcribes speech to text in multiple Indian languages and English. Supports real-time transcription for interactive applications.
45
+ This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.
46
46
 
47
47
  ### Available Options:
48
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
49
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt/stt-batch-api)
48
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
49
+ - **Batch API**: For longer audio files, [Follow This Documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
50
50
  - Supports diarization (speaker identification)
51
51
 
52
52
  ### Note:
53
- - Pricing differs for Real-Time and Batch APIs
53
+ - Pricing differs for REST and Batch APIs
54
54
  - Diarization is only available in Batch API with separate pricing
55
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
55
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
56
56
 
57
57
  Parameters
58
58
  ----------
@@ -99,19 +99,19 @@ class SpeechToTextClient:
99
99
  request_options: typing.Optional[RequestOptions] = None,
100
100
  ) -> SpeechToTextTranslateResponse:
101
101
  """
102
- ## Real-Time Speech to Text Translation API
102
+ ## Speech to Text Translation API
103
103
 
104
104
  This API automatically detects the input language, transcribes the speech, and translates the text to English.
105
105
 
106
106
  ### Available Options:
107
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
108
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt-translate/stt-translate-batch-api)
107
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
108
+ - **Batch API**: For longer audio files [Follow this documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
109
109
  - Supports diarization (speaker identification)
110
110
 
111
111
  ### Note:
112
- - Pricing differs for Real-Time and Batch APIs
112
+ - Pricing differs for REST and Batch APIs
113
113
  - Diarization is only available in Batch API with separate pricing
114
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
114
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
115
115
 
116
116
  Parameters
117
117
  ----------
@@ -169,19 +169,19 @@ class AsyncSpeechToTextClient:
169
169
  request_options: typing.Optional[RequestOptions] = None,
170
170
  ) -> SpeechToTextResponse:
171
171
  """
172
- ## Real-Time Speech to Text API
172
+ ## Speech to Text API
173
173
 
174
- This API transcribes speech to text in multiple Indian languages and English. Supports real-time transcription for interactive applications.
174
+ This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.
175
175
 
176
176
  ### Available Options:
177
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
178
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt/stt-batch-api)
177
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
178
+ - **Batch API**: For longer audio files, [Follow This Documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
179
179
  - Supports diarization (speaker identification)
180
180
 
181
181
  ### Note:
182
- - Pricing differs for Real-Time and Batch APIs
182
+ - Pricing differs for REST and Batch APIs
183
183
  - Diarization is only available in Batch API with separate pricing
184
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
184
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
185
185
 
186
186
  Parameters
187
187
  ----------
@@ -236,19 +236,19 @@ class AsyncSpeechToTextClient:
236
236
  request_options: typing.Optional[RequestOptions] = None,
237
237
  ) -> SpeechToTextTranslateResponse:
238
238
  """
239
- ## Real-Time Speech to Text Translation API
239
+ ## Speech to Text Translation API
240
240
 
241
241
  This API automatically detects the input language, transcribes the speech, and translates the text to English.
242
242
 
243
243
  ### Available Options:
244
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
245
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt-translate/stt-translate-batch-api)
244
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
245
+ - **Batch API**: For longer audio files [Follow this documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
246
246
  - Supports diarization (speaker identification)
247
247
 
248
248
  ### Note:
249
- - Pricing differs for Real-Time and Batch APIs
249
+ - Pricing differs for REST and Batch APIs
250
250
  - Diarization is only available in Batch API with separate pricing
251
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
251
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
252
252
 
253
253
  Parameters
254
254
  ----------
@@ -38,19 +38,19 @@ class RawSpeechToTextClient:
38
38
  request_options: typing.Optional[RequestOptions] = None,
39
39
  ) -> HttpResponse[SpeechToTextResponse]:
40
40
  """
41
- ## Real-Time Speech to Text API
41
+ ## Speech to Text API
42
42
 
43
- This API transcribes speech to text in multiple Indian languages and English. Supports real-time transcription for interactive applications.
43
+ This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.
44
44
 
45
45
  ### Available Options:
46
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
47
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt/stt-batch-api)
46
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
47
+ - **Batch API**: For longer audio files, [Follow This Documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
48
48
  - Supports diarization (speaker identification)
49
49
 
50
50
  ### Note:
51
- - Pricing differs for Real-Time and Batch APIs
51
+ - Pricing differs for REST and Batch APIs
52
52
  - Diarization is only available in Batch API with separate pricing
53
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
53
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
54
54
 
55
55
  Parameters
56
56
  ----------
@@ -179,19 +179,19 @@ class RawSpeechToTextClient:
179
179
  request_options: typing.Optional[RequestOptions] = None,
180
180
  ) -> HttpResponse[SpeechToTextTranslateResponse]:
181
181
  """
182
- ## Real-Time Speech to Text Translation API
182
+ ## Speech to Text Translation API
183
183
 
184
184
  This API automatically detects the input language, transcribes the speech, and translates the text to English.
185
185
 
186
186
  ### Available Options:
187
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
188
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt-translate/stt-translate-batch-api)
187
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
188
+ - **Batch API**: For longer audio files [Follow this documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
189
189
  - Supports diarization (speaker identification)
190
190
 
191
191
  ### Note:
192
- - Pricing differs for Real-Time and Batch APIs
192
+ - Pricing differs for REST and Batch APIs
193
193
  - Diarization is only available in Batch API with separate pricing
194
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
194
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
195
195
 
196
196
  Parameters
197
197
  ----------
@@ -322,19 +322,19 @@ class AsyncRawSpeechToTextClient:
322
322
  request_options: typing.Optional[RequestOptions] = None,
323
323
  ) -> AsyncHttpResponse[SpeechToTextResponse]:
324
324
  """
325
- ## Real-Time Speech to Text API
325
+ ## Speech to Text API
326
326
 
327
- This API transcribes speech to text in multiple Indian languages and English. Supports real-time transcription for interactive applications.
327
+ This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.
328
328
 
329
329
  ### Available Options:
330
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
331
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt/stt-batch-api)
330
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
331
+ - **Batch API**: For longer audio files, [Follow This Documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
332
332
  - Supports diarization (speaker identification)
333
333
 
334
334
  ### Note:
335
- - Pricing differs for Real-Time and Batch APIs
335
+ - Pricing differs for REST and Batch APIs
336
336
  - Diarization is only available in Batch API with separate pricing
337
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
337
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
338
338
 
339
339
  Parameters
340
340
  ----------
@@ -463,19 +463,19 @@ class AsyncRawSpeechToTextClient:
463
463
  request_options: typing.Optional[RequestOptions] = None,
464
464
  ) -> AsyncHttpResponse[SpeechToTextTranslateResponse]:
465
465
  """
466
- ## Real-Time Speech to Text Translation API
466
+ ## Speech to Text Translation API
467
467
 
468
468
  This API automatically detects the input language, transcribes the speech, and translates the text to English.
469
469
 
470
470
  ### Available Options:
471
- - **Real-Time API** (Current Endpoint): For quick responses under 30 seconds with immediate results
472
- - **Batch API**: For longer audio files, requires following a notebook script - [View Notebook](https://github.com/sarvamai/sarvam-ai-cookbook/tree/main/notebooks/stt-translate/stt-translate-batch-api)
471
+ - **REST API** (Current Endpoint): For quick responses under 30 seconds with immediate results
472
+ - **Batch API**: For longer audio files [Follow this documentation](https://docs.sarvam.ai/api-reference-docs/api-guides-tutorials/speech-to-text/batch-api)
473
473
  - Supports diarization (speaker identification)
474
474
 
475
475
  ### Note:
476
- - Pricing differs for Real-Time and Batch APIs
476
+ - Pricing differs for REST and Batch APIs
477
477
  - Diarization is only available in Batch API with separate pricing
478
- - Please refer to [dashboard.sarvam.ai](https://dashboard.sarvam.ai) for detailed pricing information
478
+ - Please refer to [here](https://docs.sarvam.ai/api-reference-docs/getting-started/pricing) for detailed pricing information
479
479
 
480
480
  Parameters
481
481
  ----------
@@ -4,6 +4,7 @@ import os
4
4
  import time
5
5
  import typing
6
6
  import httpx
7
+ from http import HTTPStatus
7
8
 
8
9
  from ..types import JobStatusV1Response
9
10
 
@@ -84,7 +85,10 @@ class AsyncSpeechToTextJob:
84
85
  "Content-Type": content_type,
85
86
  },
86
87
  )
87
- if response.status_code != 201:
88
+ if (
89
+ response.status_code > HTTPStatus.IM_USED
90
+ or response.status_code < HTTPStatus.OK
91
+ ):
88
92
  raise RuntimeError(
89
93
  f"Upload failed for {file_name}: {response.status_code}"
90
94
  )
@@ -175,7 +179,10 @@ class AsyncSpeechToTextJob:
175
179
  for m in mappings:
176
180
  url = download_links.download_urls[m["output_file"]].file_url
177
181
  response = await session.get(url)
178
- if response.status_code != 200:
182
+ if (
183
+ response.status_code > HTTPStatus.IM_USED
184
+ or response.status_code < HTTPStatus.OK
185
+ ):
179
186
  raise RuntimeError(
180
187
  f"Download failed for {m['output_file']}: {response.status_code}"
181
188
  )
@@ -319,7 +326,10 @@ class SpeechToTextJob:
319
326
  "Content-Type": "audio/wav",
320
327
  },
321
328
  )
322
- if response.status_code != 201:
329
+ if (
330
+ response.status_code > HTTPStatus.IM_USED
331
+ or response.status_code < HTTPStatus.OK
332
+ ):
323
333
  raise RuntimeError(
324
334
  f"Upload failed for {file_name}: {response.status_code}"
325
335
  )
@@ -410,7 +420,10 @@ class SpeechToTextJob:
410
420
  for m in mappings:
411
421
  url = download_links.download_urls[m["output_file"]].file_url
412
422
  response = client.get(url)
413
- if response.status_code != 200:
423
+ if (
424
+ response.status_code > HTTPStatus.IM_USED
425
+ or response.status_code < HTTPStatus.OK
426
+ ):
414
427
  raise RuntimeError(
415
428
  f"Download failed for {m['output_file']}: {response.status_code}"
416
429
  )
@@ -4,6 +4,7 @@ import os
4
4
  import time
5
5
  import typing
6
6
  import httpx
7
+ from http import HTTPStatus
7
8
 
8
9
  from ..types import JobStatusV1Response
9
10
 
@@ -88,7 +89,10 @@ class AsyncSpeechToTextTranslateJob:
88
89
  "Content-Type": "audio/wav",
89
90
  },
90
91
  )
91
- if response.status_code != 201:
92
+ if (
93
+ response.status_code > HTTPStatus.IM_USED
94
+ or response.status_code < HTTPStatus.OK
95
+ ):
92
96
  raise RuntimeError(
93
97
  f"Upload failed for {file_name}: {response.status_code}"
94
98
  )
@@ -179,7 +183,10 @@ class AsyncSpeechToTextTranslateJob:
179
183
  for m in mappings:
180
184
  url = download_links.download_urls[m["output_file"]].file_url
181
185
  response = await session.get(url)
182
- if response.status_code != 200:
186
+ if (
187
+ response.status_code > HTTPStatus.IM_USED
188
+ or response.status_code < HTTPStatus.OK
189
+ ):
183
190
  raise RuntimeError(
184
191
  f"Download failed for {m['output_file']}: {response.status_code}"
185
192
  )
@@ -327,7 +334,10 @@ class SpeechToTextTranslateJob:
327
334
  "Content-Type": content_type,
328
335
  },
329
336
  )
330
- if response.status_code != 201:
337
+ if (
338
+ response.status_code > HTTPStatus.IM_USED
339
+ or response.status_code < HTTPStatus.OK
340
+ ):
331
341
  raise RuntimeError(
332
342
  f"Upload failed for {file_name}: {response.status_code}"
333
343
  )
@@ -418,7 +428,10 @@ class SpeechToTextTranslateJob:
418
428
  for m in mappings:
419
429
  url = download_links.download_urls[m["output_file"]].file_url
420
430
  response = client.get(url)
421
- if response.status_code != 200:
431
+ if (
432
+ response.status_code > HTTPStatus.IM_USED
433
+ or response.status_code < HTTPStatus.OK
434
+ ):
422
435
  raise RuntimeError(
423
436
  f"Download failed for {m['output_file']}: {response.status_code}"
424
437
  )
@@ -38,6 +38,7 @@ from .error_message import ErrorMessage
38
38
  from .error_response import ErrorResponse
39
39
  from .error_response_data import ErrorResponseData
40
40
  from .events_data import EventsData
41
+ from .events_data_signal_type import EventsDataSignalType
41
42
  from .file_signed_url_details import FileSignedUrlDetails
42
43
  from .files_download_response import FilesDownloadResponse
43
44
  from .files_request import FilesRequest
@@ -129,6 +130,7 @@ __all__ = [
129
130
  "ErrorResponse",
130
131
  "ErrorResponseData",
131
132
  "EventsData",
133
+ "EventsDataSignalType",
132
134
  "FileSignedUrlDetails",
133
135
  "FilesDownloadResponse",
134
136
  "FilesRequest",
@@ -3,5 +3,5 @@
3
3
  import typing
4
4
 
5
5
  ConfigureConnectionDataOutputAudioCodec = typing.Union[
6
- typing.Literal["linear16", "mulaw", "alaw", "opus", "flac", "aac", "wav"], typing.Any
6
+ typing.Literal["linear16", "mulaw", "alaw", "opus", "flac", "aac", "wav", "mp3"], typing.Any
7
7
  ]
@@ -5,19 +5,34 @@ import typing
5
5
 
6
6
  import pydantic
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+ from .events_data_signal_type import EventsDataSignalType
8
9
 
9
10
 
10
11
  class EventsData(UniversalBaseModel):
11
- event_type: str = pydantic.Field()
12
+ """
13
+ VAD events are sent when vad_signals=true. Fields may vary by event type.
14
+ """
15
+
16
+ event_type: typing.Optional[str] = pydantic.Field(default=None)
12
17
  """
13
18
  Type of event
14
19
  """
15
20
 
16
- timestamp: dt.datetime = pydantic.Field()
21
+ timestamp: typing.Optional[dt.datetime] = pydantic.Field(default=None)
17
22
  """
18
23
  Event timestamp
19
24
  """
20
25
 
26
+ signal_type: typing.Optional[EventsDataSignalType] = pydantic.Field(default=None)
27
+ """
28
+ VAD signal type
29
+ """
30
+
31
+ occured_at: typing.Optional[float] = pydantic.Field(default=None)
32
+ """
33
+ Epoch timestamp when the event occurred
34
+ """
35
+
21
36
  if IS_PYDANTIC_V2:
22
37
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
23
38
  else:
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ EventsDataSignalType = typing.Union[typing.Literal["START_SPEECH", "END_SPEECH"], typing.Any]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sarvamai
3
- Version: 0.1.14
3
+ Version: 0.1.16
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=GnF7-p90SFINEDPWaFGrfe4l5JL7oMCdIhhDdNbSvls,10596
1
+ sarvamai/__init__.py,sha256=o9bK5DhrKYzmhZbOvKNNl-Fcif9og4eynOp47Dna4vY,10650
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=tGjCU2En32hYgjFeTGET-nMT2b4f0S_moWlvMwdIPO4,2566
8
+ sarvamai/core/client_wrapper.py,sha256=xI9nYWIrODQV5sXzmo6zrn0Ad5wtCV6BAkf0ikapG8M,2566
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
@@ -54,7 +54,7 @@ sarvamai/requests/error_details.py,sha256=By7cYfitQynAM1D5_3yFc22zXQJEceNgkhoyGW
54
54
  sarvamai/requests/error_message.py,sha256=-J21pfEJghsms4pNe55O_9qkODNd-BKLMt96AOztYUs,257
55
55
  sarvamai/requests/error_response.py,sha256=A8j12JQ7JJkUcnt26k2M9uwXXkwyT-LNqG3BO3U8NIk,288
56
56
  sarvamai/requests/error_response_data.py,sha256=l9tGTykaKZ8pKxdw9RKitpW49kKcs4aGibH7rKG2v7w,461
57
- sarvamai/requests/events_data.py,sha256=3seSash8DysPUWX6mKPzoEzWZlsrK4Tann2GFSbQjZg,286
57
+ sarvamai/requests/events_data.py,sha256=DgwSqyeFzL36i1z72mxKGP1qGjs27GpO1h9fL-ziWqo,728
58
58
  sarvamai/requests/file_signed_url_details.py,sha256=s1ah-U99qq1DZOJr1SHVyknnCZTDS7tkw_XWgdqyZVM,284
59
59
  sarvamai/requests/files_download_response.py,sha256=lQg7yVJtiMvt4OR0WcDbaL9jCi77wY9iFJ0StFsTTZY,491
60
60
  sarvamai/requests/files_request.py,sha256=VtmR-bfsOgYW_fYkreDCGkZl9uumxz-RFDBHebAQ2Yg,210
@@ -84,11 +84,11 @@ sarvamai/requests/transcription_metrics.py,sha256=FDclX2Z9Z3azrDXxtZW8xbkxxWMZQX
84
84
  sarvamai/requests/translation_response.py,sha256=8iwQeZB1purHY757bIQI-n9QeVRBItaAVcBJ_la-k1Y,414
85
85
  sarvamai/requests/transliteration_response.py,sha256=KqRkqnegLmt7LjdVxjRePX6RoqaLm64KFGZ6q7mXyfw,426
86
86
  sarvamai/speech_to_text/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
87
- sarvamai/speech_to_text/client.py,sha256=lp2G2fI9SUbeOBBE1S5tjcp-Xb8wIhAuVadLKwXveh8,11003
88
- sarvamai/speech_to_text/raw_client.py,sha256=A_56vEVeJdyttVJRiFxTMJ4n-s4l_PS8rI1DiLZlOmc,25331
87
+ sarvamai/speech_to_text/client.py,sha256=v9p6bqRbA9h3f4wuylPTVDwetG7MCOlEtmrqW18KHCU,10857
88
+ sarvamai/speech_to_text/raw_client.py,sha256=IhflpQX1P2kvZw8L2qbneMbRs5gtr9ye6ebvEK-hn3A,25185
89
89
  sarvamai/speech_to_text_job/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
90
90
  sarvamai/speech_to_text_job/client.py,sha256=WSGBJxYcNxl77Zd1X6VVWjg4zshqecXf6WCyhfLXVlI,18007
91
- sarvamai/speech_to_text_job/job.py,sha256=xeriu0dMQ-hCu9fxGoCPAmNalUSjmXCH_kypROI4ifY,14537
91
+ sarvamai/speech_to_text_job/job.py,sha256=K8HOmwrYd6l82-MZfWDBmNkZeeERyg9YOihnFfvl-Js,15021
92
92
  sarvamai/speech_to_text_job/raw_client.py,sha256=OZTPzMhAn-ckE_xKzfZ9QLsEX5EZVOJS0Pf-PBa19jM,48200
93
93
  sarvamai/speech_to_text_streaming/__init__.py,sha256=q7QygMmZCHJ-4FMhhL_6XNV_dsqlIFRCO1iSxoyxaaY,437
94
94
  sarvamai/speech_to_text_streaming/client.py,sha256=AzStfZDXhu2YAJEpnVbsy0WObub5ctlGBzqfeYOUlpA,8442
@@ -101,7 +101,7 @@ sarvamai/speech_to_text_streaming/types/speech_to_text_streaming_model.py,sha256
101
101
  sarvamai/speech_to_text_streaming/types/speech_to_text_streaming_vad_signals.py,sha256=8wiFOB7WDMbYCcMTYgNFJaIjEytYeXpJLwr_O_mH0TI,172
102
102
  sarvamai/speech_to_text_translate_job/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
103
103
  sarvamai/speech_to_text_translate_job/client.py,sha256=xu8kYtCESDB7LzL8YKBUq5qhTPMIl3_H3XD2L_7y4UU,18969
104
- sarvamai/speech_to_text_translate_job/job.py,sha256=Yc2bdWQVUZdJTL8AbY11-WsdaNN8h8iJN-Nsy_pa-4Y,14724
104
+ sarvamai/speech_to_text_translate_job/job.py,sha256=DU4k3eB28V8N16M_QEchakVng4IOul6_Qrdn3FumgHA,15208
105
105
  sarvamai/speech_to_text_translate_job/raw_client.py,sha256=dAitbu2B9afPK6iT9zNjUJnE5BIr5-lrAlwrfwFxdkU,49507
106
106
  sarvamai/speech_to_text_translate_streaming/__init__.py,sha256=_hmlce1Zs1grylysZhBUdtKfkaUROwVydtwz6l-1qqg,411
107
107
  sarvamai/speech_to_text_translate_streaming/client.py,sha256=xPPg5_JgpH8tYDUte6FGtpzXO2LGBUSRADN-ICqqA6U,8286
@@ -121,7 +121,7 @@ sarvamai/text_to_speech_streaming/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7
121
121
  sarvamai/text_to_speech_streaming/client.py,sha256=tcYTUmWGseGQkLOsJdO4S3eZrFstjaLCPi5OcKflfus,6306
122
122
  sarvamai/text_to_speech_streaming/raw_client.py,sha256=VdL5HYpUotIm5HaOqTwRkyZqoV0BuzwCtAfcB0g1y10,5487
123
123
  sarvamai/text_to_speech_streaming/socket_client.py,sha256=NEcijnvjuNcWfzqpBi-xWsXVkL0NPq6EGAkEjnaq9hw,13909
124
- sarvamai/types/__init__.py,sha256=AM1sJfHYlXgNvlgEfEonsEtESSafPV5-m0-YJRKUuyQ,7706
124
+ sarvamai/types/__init__.py,sha256=1Hkzpo5GJV3_0oxtxduq60UgkNmewIIEriQvRgsZiAo,7792
125
125
  sarvamai/types/audio_data.py,sha256=rgOukLkLNJ_HBBVE2g5dfEL2CWjRoGiMvCtpq0qTB1Y,829
126
126
  sarvamai/types/audio_message.py,sha256=sB4EgkWkWJzipYXobkmM9AYZTTZtCpg_ySKssUeznUE,560
127
127
  sarvamai/types/audio_output.py,sha256=Eq-YUZa1mSDwt7bax2c4Vv2gBlyM_JBJWzHhTAhFSko,621
@@ -140,7 +140,7 @@ sarvamai/types/config_message.py,sha256=sGrT-qYTRqLVfIo5nRUuRlqPtPVmiAkUAnaMtlmQ
140
140
  sarvamai/types/configure_connection.py,sha256=SnSNk02gQqP8e4VB4y88jjeFQ4ClpImjGLn2ANI8cZ4,1058
141
141
  sarvamai/types/configure_connection_data.py,sha256=uXC7fhNJWCpaKc2Vrz2DNpUxx1gN3PwAoDL-H8L401A,3537
142
142
  sarvamai/types/configure_connection_data_output_audio_bitrate.py,sha256=h00YvKLxsZC8L3__rH4XH53nN_GY40UElW1EjysCwUs,208
143
- sarvamai/types/configure_connection_data_output_audio_codec.py,sha256=ddd-MjgmKE0e5-TPgPKclBu4h9WLC5g3kL8Ap_91i50,228
143
+ sarvamai/types/configure_connection_data_output_audio_codec.py,sha256=g4I1hS_zExMJbjwwqM6AsLt8zikSugOeMs_xkIINFBo,235
144
144
  sarvamai/types/configure_connection_data_speaker.py,sha256=SzyAiK5LynXwb9KniaO2qoOLY-II3-PMZbRuIsQ9shw,230
145
145
  sarvamai/types/configure_connection_data_target_language_code.py,sha256=jrU1EblAtDYbybUO1KUkHhevmlSBj2AQxX13ii3QhAQ,275
146
146
  sarvamai/types/create_chat_completion_response.py,sha256=4nEzeWzHGW1_BmRAtOuGsbRZ0ojNgnzJSMUFyYuYviw,1285
@@ -152,7 +152,8 @@ sarvamai/types/error_details.py,sha256=Faggc5PWERfCN2d9E5JzsEMNq9XSnoPTEdgi0lL8e
152
152
  sarvamai/types/error_message.py,sha256=i_vDykKyMlkWLhJCpMAeYI1NzRDFsW2CTU4-mzdBAfE,622
153
153
  sarvamai/types/error_response.py,sha256=3m17Aj3GY_-mSY2lH-GkbuiyewTm-wNL9UQ1exLvXyQ,629
154
154
  sarvamai/types/error_response_data.py,sha256=hncN_zmPg8kqSHjNciYLn2QeNqzqHxKiZDlKOvjKdwA,838
155
- sarvamai/types/events_data.py,sha256=hDSOyODc8-lmpduJIQkps9kHlUZKYXGw3lETi8irHt0,681
155
+ sarvamai/types/events_data.py,sha256=9Gt9CuKF9Y9LmidxAxqTaE2SJgRhEIV_5Nk7X_S-HgU,1146
156
+ sarvamai/types/events_data_signal_type.py,sha256=MkzFNa4PnviktXIp8ltcYBA5MhQ1aWAkU_bZAIyNN9s,174
156
157
  sarvamai/types/file_signed_url_details.py,sha256=_Zc1NMHxB94mNDFfbEpXPK4Z0X3i_nSiWFDH1oEX4uo,620
157
158
  sarvamai/types/files_download_response.py,sha256=JgclLnQl0g3MGlGRLclJjc4LbgRv3RU46tGtdUAwrio,808
158
159
  sarvamai/types/files_request.py,sha256=Jh8xPjoOTjY7DOE2EieoRqtkWkYxz9j-BP8TvWxuRLc,549
@@ -209,6 +210,6 @@ sarvamai/types/transliterate_mode.py,sha256=1jSEMlGcoLkWuk12TgoOpSgwifa4rThGKZ1h
209
210
  sarvamai/types/transliterate_source_language.py,sha256=bSY9wJszF0sg-Cgg6F-YcWC8ly1mIlj9rqa15-jBtx8,283
210
211
  sarvamai/types/transliteration_response.py,sha256=yt-lzTbDeJ_ZL4I8kQa6oESxA9ebeJJY7LfFHpdEsmM,815
211
212
  sarvamai/version.py,sha256=Qkp3Ee9YH-O9RTix90e0i7iNrFAGN-QDt2AFwGA4n8k,75
212
- sarvamai-0.1.14.dist-info/METADATA,sha256=sNKG90iusG5kajxY45Mj8OhOq1MpnPzf69-E9MWtCIU,26751
213
- sarvamai-0.1.14.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
214
- sarvamai-0.1.14.dist-info/RECORD,,
213
+ sarvamai-0.1.16.dist-info/METADATA,sha256=Yb7YBJ1KlOmWUXkJaM5s8zm3VrHIUezvgvtVkY3LUiU,26751
214
+ sarvamai-0.1.16.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
215
+ sarvamai-0.1.16.dist-info/RECORD,,