sarvamai 0.1.5a4__py3-none-any.whl → 0.1.5a6__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/chat/client.py +0 -2
- sarvamai/chat/raw_client.py +0 -2
- sarvamai/core/client_wrapper.py +2 -2
- {sarvamai-0.1.5a4.dist-info → sarvamai-0.1.5a6.dist-info}/METADATA +1 -1
- {sarvamai-0.1.5a4.dist-info → sarvamai-0.1.5a6.dist-info}/RECORD +6 -6
- {sarvamai-0.1.5a4.dist-info → sarvamai-0.1.5a6.dist-info}/WHEEL +0 -0
sarvamai/chat/client.py
CHANGED
|
@@ -84,7 +84,6 @@ class ChatClient:
|
|
|
84
84
|
seed : typing.Optional[int]
|
|
85
85
|
This feature is in Beta.
|
|
86
86
|
If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
|
|
87
|
-
Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.
|
|
88
87
|
|
|
89
88
|
frequency_penalty : typing.Optional[float]
|
|
90
89
|
Number between -2.0 and 2.0. Positive values penalize new tokens based on
|
|
@@ -205,7 +204,6 @@ class AsyncChatClient:
|
|
|
205
204
|
seed : typing.Optional[int]
|
|
206
205
|
This feature is in Beta.
|
|
207
206
|
If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
|
|
208
|
-
Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.
|
|
209
207
|
|
|
210
208
|
frequency_penalty : typing.Optional[float]
|
|
211
209
|
Number between -2.0 and 2.0. Positive values penalize new tokens based on
|
sarvamai/chat/raw_client.py
CHANGED
|
@@ -82,7 +82,6 @@ class RawChatClient:
|
|
|
82
82
|
seed : typing.Optional[int]
|
|
83
83
|
This feature is in Beta.
|
|
84
84
|
If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
|
|
85
|
-
Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.
|
|
86
85
|
|
|
87
86
|
frequency_penalty : typing.Optional[float]
|
|
88
87
|
Number between -2.0 and 2.0. Positive values penalize new tokens based on
|
|
@@ -257,7 +256,6 @@ class AsyncRawChatClient:
|
|
|
257
256
|
seed : typing.Optional[int]
|
|
258
257
|
This feature is in Beta.
|
|
259
258
|
If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same `seed` and parameters should return the same result.
|
|
260
|
-
Determinism is not guaranteed, and you should refer to the `system_fingerprint` response parameter to monitor changes in the backend.
|
|
261
259
|
|
|
262
260
|
frequency_penalty : typing.Optional[float]
|
|
263
261
|
Number between -2.0 and 2.0. Positive values penalize new tokens based on
|
sarvamai/core/client_wrapper.py
CHANGED
|
@@ -14,10 +14,10 @@ class BaseClientWrapper:
|
|
|
14
14
|
|
|
15
15
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
16
16
|
headers: typing.Dict[str, str] = {
|
|
17
|
-
"User-Agent": "sarvamai/0.1.
|
|
17
|
+
"User-Agent": "sarvamai/0.1.5a6",
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "sarvamai",
|
|
20
|
-
"X-Fern-SDK-Version": "0.1.
|
|
20
|
+
"X-Fern-SDK-Version": "0.1.5a6",
|
|
21
21
|
}
|
|
22
22
|
headers["api-subscription-key"] = self.api_subscription_key
|
|
23
23
|
return headers
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
sarvamai/__init__.py,sha256=7mG0Weo4kgxNnj4TNGSC7JDJ6FFzGXN3brR9EuJCUCg,5059
|
|
2
2
|
sarvamai/chat/__init__.py,sha256=FTtvy8EDg9nNNg9WCatVgKTRYV8-_v1roeGPAKoa_pw,65
|
|
3
|
-
sarvamai/chat/client.py,sha256=
|
|
4
|
-
sarvamai/chat/raw_client.py,sha256=
|
|
3
|
+
sarvamai/chat/client.py,sha256=j3r7Y3wa_jP6wuzuau4RA1E39ica1ni1hvH_1OZOm4k,11073
|
|
4
|
+
sarvamai/chat/raw_client.py,sha256=CVTJknNXVUejPYvBMLNS3ExeBwPsuNKVGWrH90bHRgg,17095
|
|
5
5
|
sarvamai/client.py,sha256=NrpjDx6AusBR2AfUWUrFSfteIlYkUhv5ahjdlCBNPeM,6936
|
|
6
6
|
sarvamai/core/__init__.py,sha256=JZDozMOUlhvOLnOO6kGBxye5Ctfg_KDOjeUTSUoMmV8,1542
|
|
7
7
|
sarvamai/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
|
8
|
-
sarvamai/core/client_wrapper.py,sha256=
|
|
8
|
+
sarvamai/core/client_wrapper.py,sha256=NLDY0Q51uWMEkfj5GBi5yjwf9oRjaSaLwxU_-KwecV4,2074
|
|
9
9
|
sarvamai/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
10
10
|
sarvamai/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
11
11
|
sarvamai/core/http_client.py,sha256=cKs2w0ybDBk1wHQf-fTALm_MmvaMe3cZKcYJxqmCxkE,19539
|
|
@@ -101,6 +101,6 @@ sarvamai/types/transliterate_mode.py,sha256=1jSEMlGcoLkWuk12TgoOpSgwifa4rThGKZ1h
|
|
|
101
101
|
sarvamai/types/transliterate_source_language.py,sha256=bSY9wJszF0sg-Cgg6F-YcWC8ly1mIlj9rqa15-jBtx8,283
|
|
102
102
|
sarvamai/types/transliteration_response.py,sha256=RZcsRP73Si24t4LF8MZCw_qZyVbX3gvMz88O41oMk8s,851
|
|
103
103
|
sarvamai/version.py,sha256=Qkp3Ee9YH-O9RTix90e0i7iNrFAGN-QDt2AFwGA4n8k,75
|
|
104
|
-
sarvamai-0.1.
|
|
105
|
-
sarvamai-0.1.
|
|
106
|
-
sarvamai-0.1.
|
|
104
|
+
sarvamai-0.1.5a6.dist-info/METADATA,sha256=BuC2tTr8sFq3I43LbtlwPuqUY-m-xvBgLQ693gEo27Q,4792
|
|
105
|
+
sarvamai-0.1.5a6.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
106
|
+
sarvamai-0.1.5a6.dist-info/RECORD,,
|
|
File without changes
|