mistralai 1.2.5__py3-none-any.whl → 1.2.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.
- mistralai/_version.py +1 -1
- mistralai/agents.py +17 -5
- mistralai/basesdk.py +25 -9
- mistralai/chat.py +25 -13
- mistralai/classifiers.py +17 -5
- mistralai/embeddings.py +9 -3
- mistralai/files.py +49 -13
- mistralai/fim.py +17 -5
- mistralai/jobs.py +41 -11
- mistralai/mistral_jobs.py +33 -9
- mistralai/models/chatcompletionrequest.py +2 -2
- mistralai/models/chatcompletionstreamrequest.py +2 -2
- mistralai/models/files_api_routes_upload_fileop.py +2 -6
- mistralai/models_.py +49 -13
- mistralai/sdkconfiguration.py +3 -3
- mistralai/utils/forms.py +4 -10
- mistralai/utils/requestbodies.py +1 -1
- {mistralai-1.2.5.dist-info → mistralai-1.2.6.dist-info}/METADATA +117 -86
- {mistralai-1.2.5.dist-info → mistralai-1.2.6.dist-info}/RECORD +38 -38
- {mistralai-1.2.5.dist-info → mistralai-1.2.6.dist-info}/WHEEL +1 -1
- mistralai_azure/_version.py +1 -1
- mistralai_azure/basesdk.py +25 -9
- mistralai_azure/chat.py +25 -13
- mistralai_azure/models/chatcompletionrequest.py +2 -2
- mistralai_azure/models/chatcompletionstreamrequest.py +2 -2
- mistralai_azure/sdkconfiguration.py +3 -3
- mistralai_azure/utils/forms.py +4 -10
- mistralai_azure/utils/requestbodies.py +1 -1
- mistralai_gcp/_version.py +1 -1
- mistralai_gcp/basesdk.py +25 -9
- mistralai_gcp/chat.py +21 -9
- mistralai_gcp/fim.py +17 -5
- mistralai_gcp/models/chatcompletionrequest.py +1 -1
- mistralai_gcp/models/chatcompletionstreamrequest.py +1 -1
- mistralai_gcp/sdkconfiguration.py +3 -3
- mistralai_gcp/utils/forms.py +4 -10
- mistralai_gcp/utils/requestbodies.py +1 -1
- {mistralai-1.2.5.dist-info → mistralai-1.2.6.dist-info}/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mistralai
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.6
|
|
4
4
|
Summary: Python Client SDK for the Mistral AI API.
|
|
5
5
|
Home-page: https://github.com/mistralai/client-python.git
|
|
6
6
|
Author: Mistral
|
|
@@ -11,7 +11,6 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
15
14
|
Provides-Extra: gcp
|
|
16
15
|
Requires-Dist: eval-type-backport (>=0.2.0,<0.3.0)
|
|
17
16
|
Requires-Dist: google-auth (==2.27.0) ; extra == "gcp"
|
|
@@ -111,17 +110,19 @@ import os
|
|
|
111
110
|
|
|
112
111
|
with Mistral(
|
|
113
112
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
114
|
-
) as
|
|
115
|
-
|
|
113
|
+
) as mistral:
|
|
114
|
+
|
|
115
|
+
res = mistral.chat.complete(model="mistral-small-latest", messages=[
|
|
116
116
|
{
|
|
117
117
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
118
118
|
"role": "user",
|
|
119
119
|
},
|
|
120
120
|
])
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
assert res is not None
|
|
123
|
+
|
|
124
|
+
# Handle response
|
|
125
|
+
print(res)
|
|
125
126
|
```
|
|
126
127
|
|
|
127
128
|
</br>
|
|
@@ -136,17 +137,19 @@ import os
|
|
|
136
137
|
async def main():
|
|
137
138
|
async with Mistral(
|
|
138
139
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
139
|
-
) as
|
|
140
|
-
|
|
140
|
+
) as mistral:
|
|
141
|
+
|
|
142
|
+
res = await mistral.chat.complete_async(model="mistral-small-latest", messages=[
|
|
141
143
|
{
|
|
142
144
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
143
145
|
"role": "user",
|
|
144
146
|
},
|
|
145
147
|
])
|
|
146
148
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
149
|
+
assert res is not None
|
|
150
|
+
|
|
151
|
+
# Handle response
|
|
152
|
+
print(res)
|
|
150
153
|
|
|
151
154
|
asyncio.run(main())
|
|
152
155
|
```
|
|
@@ -162,15 +165,17 @@ import os
|
|
|
162
165
|
|
|
163
166
|
with Mistral(
|
|
164
167
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
165
|
-
) as
|
|
166
|
-
|
|
168
|
+
) as mistral:
|
|
169
|
+
|
|
170
|
+
res = mistral.files.upload(file={
|
|
167
171
|
"file_name": "example.file",
|
|
168
172
|
"content": open("example.file", "rb"),
|
|
169
173
|
})
|
|
170
174
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
175
|
+
assert res is not None
|
|
176
|
+
|
|
177
|
+
# Handle response
|
|
178
|
+
print(res)
|
|
174
179
|
```
|
|
175
180
|
|
|
176
181
|
</br>
|
|
@@ -185,15 +190,17 @@ import os
|
|
|
185
190
|
async def main():
|
|
186
191
|
async with Mistral(
|
|
187
192
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
188
|
-
) as
|
|
189
|
-
|
|
193
|
+
) as mistral:
|
|
194
|
+
|
|
195
|
+
res = await mistral.files.upload_async(file={
|
|
190
196
|
"file_name": "example.file",
|
|
191
197
|
"content": open("example.file", "rb"),
|
|
192
198
|
})
|
|
193
199
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
200
|
+
assert res is not None
|
|
201
|
+
|
|
202
|
+
# Handle response
|
|
203
|
+
print(res)
|
|
197
204
|
|
|
198
205
|
asyncio.run(main())
|
|
199
206
|
```
|
|
@@ -209,17 +216,19 @@ import os
|
|
|
209
216
|
|
|
210
217
|
with Mistral(
|
|
211
218
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
212
|
-
) as
|
|
213
|
-
|
|
219
|
+
) as mistral:
|
|
220
|
+
|
|
221
|
+
res = mistral.agents.complete(messages=[
|
|
214
222
|
{
|
|
215
223
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
216
224
|
"role": "user",
|
|
217
225
|
},
|
|
218
226
|
], agent_id="<value>")
|
|
219
227
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
228
|
+
assert res is not None
|
|
229
|
+
|
|
230
|
+
# Handle response
|
|
231
|
+
print(res)
|
|
223
232
|
```
|
|
224
233
|
|
|
225
234
|
</br>
|
|
@@ -234,17 +243,19 @@ import os
|
|
|
234
243
|
async def main():
|
|
235
244
|
async with Mistral(
|
|
236
245
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
237
|
-
) as
|
|
238
|
-
|
|
246
|
+
) as mistral:
|
|
247
|
+
|
|
248
|
+
res = await mistral.agents.complete_async(messages=[
|
|
239
249
|
{
|
|
240
250
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
241
251
|
"role": "user",
|
|
242
252
|
},
|
|
243
253
|
], agent_id="<value>")
|
|
244
254
|
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
255
|
+
assert res is not None
|
|
256
|
+
|
|
257
|
+
# Handle response
|
|
258
|
+
print(res)
|
|
248
259
|
|
|
249
260
|
asyncio.run(main())
|
|
250
261
|
```
|
|
@@ -260,15 +271,17 @@ import os
|
|
|
260
271
|
|
|
261
272
|
with Mistral(
|
|
262
273
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
263
|
-
) as
|
|
264
|
-
|
|
274
|
+
) as mistral:
|
|
275
|
+
|
|
276
|
+
res = mistral.embeddings.create(inputs=[
|
|
265
277
|
"Embed this sentence.",
|
|
266
278
|
"As well as this one.",
|
|
267
279
|
], model="Wrangler")
|
|
268
280
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
281
|
+
assert res is not None
|
|
282
|
+
|
|
283
|
+
# Handle response
|
|
284
|
+
print(res)
|
|
272
285
|
```
|
|
273
286
|
|
|
274
287
|
</br>
|
|
@@ -283,15 +296,17 @@ import os
|
|
|
283
296
|
async def main():
|
|
284
297
|
async with Mistral(
|
|
285
298
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
286
|
-
) as
|
|
287
|
-
|
|
299
|
+
) as mistral:
|
|
300
|
+
|
|
301
|
+
res = await mistral.embeddings.create_async(inputs=[
|
|
288
302
|
"Embed this sentence.",
|
|
289
303
|
"As well as this one.",
|
|
290
304
|
], model="Wrangler")
|
|
291
305
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
306
|
+
assert res is not None
|
|
307
|
+
|
|
308
|
+
# Handle response
|
|
309
|
+
print(res)
|
|
295
310
|
|
|
296
311
|
asyncio.run(main())
|
|
297
312
|
```
|
|
@@ -483,19 +498,21 @@ import os
|
|
|
483
498
|
|
|
484
499
|
with Mistral(
|
|
485
500
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
486
|
-
) as
|
|
487
|
-
|
|
501
|
+
) as mistral:
|
|
502
|
+
|
|
503
|
+
res = mistral.chat.stream(model="mistral-small-latest", messages=[
|
|
488
504
|
{
|
|
489
505
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
490
506
|
"role": "user",
|
|
491
507
|
},
|
|
492
508
|
])
|
|
493
509
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
510
|
+
assert res is not None
|
|
511
|
+
|
|
512
|
+
with res as event_stream:
|
|
513
|
+
for event in event_stream:
|
|
514
|
+
# handle event
|
|
515
|
+
print(event, flush=True)
|
|
499
516
|
|
|
500
517
|
```
|
|
501
518
|
|
|
@@ -520,15 +537,17 @@ import os
|
|
|
520
537
|
|
|
521
538
|
with Mistral(
|
|
522
539
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
523
|
-
) as
|
|
524
|
-
|
|
540
|
+
) as mistral:
|
|
541
|
+
|
|
542
|
+
res = mistral.files.upload(file={
|
|
525
543
|
"file_name": "example.file",
|
|
526
544
|
"content": open("example.file", "rb"),
|
|
527
545
|
})
|
|
528
546
|
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
547
|
+
assert res is not None
|
|
548
|
+
|
|
549
|
+
# Handle response
|
|
550
|
+
print(res)
|
|
532
551
|
|
|
533
552
|
```
|
|
534
553
|
<!-- End File uploads [file-upload] -->
|
|
@@ -540,37 +559,41 @@ Some of the endpoints in this SDK support retries. If you use the SDK without an
|
|
|
540
559
|
|
|
541
560
|
To change the default retry strategy for a single API call, simply provide a `RetryConfig` object to the call:
|
|
542
561
|
```python
|
|
543
|
-
from mistral.utils import BackoffStrategy, RetryConfig
|
|
544
562
|
from mistralai import Mistral
|
|
563
|
+
from mistralai.utils import BackoffStrategy, RetryConfig
|
|
545
564
|
import os
|
|
546
565
|
|
|
547
566
|
with Mistral(
|
|
548
567
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
549
|
-
) as
|
|
550
|
-
|
|
568
|
+
) as mistral:
|
|
569
|
+
|
|
570
|
+
res = mistral.models.list(,
|
|
551
571
|
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
|
|
552
572
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
573
|
+
assert res is not None
|
|
574
|
+
|
|
575
|
+
# Handle response
|
|
576
|
+
print(res)
|
|
556
577
|
|
|
557
578
|
```
|
|
558
579
|
|
|
559
580
|
If you'd like to override the default retry strategy for all operations that support retries, you can use the `retry_config` optional parameter when initializing the SDK:
|
|
560
581
|
```python
|
|
561
|
-
from mistral.utils import BackoffStrategy, RetryConfig
|
|
562
582
|
from mistralai import Mistral
|
|
583
|
+
from mistralai.utils import BackoffStrategy, RetryConfig
|
|
563
584
|
import os
|
|
564
585
|
|
|
565
586
|
with Mistral(
|
|
566
587
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
|
567
588
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
568
|
-
) as
|
|
569
|
-
|
|
589
|
+
) as mistral:
|
|
590
|
+
|
|
591
|
+
res = mistral.models.list()
|
|
570
592
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
593
|
+
assert res is not None
|
|
594
|
+
|
|
595
|
+
# Handle response
|
|
596
|
+
print(res)
|
|
574
597
|
|
|
575
598
|
```
|
|
576
599
|
<!-- End Retries [retries] -->
|
|
@@ -604,14 +627,16 @@ import os
|
|
|
604
627
|
|
|
605
628
|
with Mistral(
|
|
606
629
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
607
|
-
) as
|
|
630
|
+
) as mistral:
|
|
608
631
|
res = None
|
|
609
632
|
try:
|
|
610
|
-
res = s.models.list()
|
|
611
633
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
634
|
+
res = mistral.models.list()
|
|
635
|
+
|
|
636
|
+
assert res is not None
|
|
637
|
+
|
|
638
|
+
# Handle response
|
|
639
|
+
print(res)
|
|
615
640
|
|
|
616
641
|
except models.HTTPValidationError as e:
|
|
617
642
|
# handle e.data: models.HTTPValidationErrorData
|
|
@@ -642,12 +667,14 @@ import os
|
|
|
642
667
|
with Mistral(
|
|
643
668
|
server="eu",
|
|
644
669
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
645
|
-
) as
|
|
646
|
-
|
|
670
|
+
) as mistral:
|
|
671
|
+
|
|
672
|
+
res = mistral.models.list()
|
|
647
673
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
674
|
+
assert res is not None
|
|
675
|
+
|
|
676
|
+
# Handle response
|
|
677
|
+
print(res)
|
|
651
678
|
|
|
652
679
|
```
|
|
653
680
|
|
|
@@ -661,12 +688,14 @@ import os
|
|
|
661
688
|
with Mistral(
|
|
662
689
|
server_url="https://api.mistral.ai",
|
|
663
690
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
664
|
-
) as
|
|
665
|
-
|
|
691
|
+
) as mistral:
|
|
692
|
+
|
|
693
|
+
res = mistral.models.list()
|
|
666
694
|
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
695
|
+
assert res is not None
|
|
696
|
+
|
|
697
|
+
# Handle response
|
|
698
|
+
print(res)
|
|
670
699
|
|
|
671
700
|
```
|
|
672
701
|
<!-- End Server Selection [server] -->
|
|
@@ -770,12 +799,14 @@ import os
|
|
|
770
799
|
|
|
771
800
|
with Mistral(
|
|
772
801
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
773
|
-
) as
|
|
774
|
-
|
|
802
|
+
) as mistral:
|
|
803
|
+
|
|
804
|
+
res = mistral.models.list()
|
|
775
805
|
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
806
|
+
assert res is not None
|
|
807
|
+
|
|
808
|
+
# Handle response
|
|
809
|
+
print(res)
|
|
779
810
|
|
|
780
811
|
```
|
|
781
812
|
<!-- End Authentication [security] -->
|
|
@@ -4,16 +4,16 @@ mistralai_azure/_hooks/custom_user_agent.py,sha256=CnX-8LjyTyOgDcvurQPK2suWBqwQx
|
|
|
4
4
|
mistralai_azure/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
5
5
|
mistralai_azure/_hooks/sdkhooks.py,sha256=urOhVMYX_n5KgMoNDNmGs4fsgUWoeSG6_GarhPxH-YU,2565
|
|
6
6
|
mistralai_azure/_hooks/types.py,sha256=ealwk4q-4oIauxj5Nyx9xmu9vX0nm4vcDALDy4qydgE,2576
|
|
7
|
-
mistralai_azure/_version.py,sha256=
|
|
8
|
-
mistralai_azure/basesdk.py,sha256=
|
|
9
|
-
mistralai_azure/chat.py,sha256=
|
|
7
|
+
mistralai_azure/_version.py,sha256=ui-BNM2etffJhHb6ltHG0lnH2tREv1Ls9MiIs_2wPtI,319
|
|
8
|
+
mistralai_azure/basesdk.py,sha256=DYOnk4GhhaNa4PZeoHbm_IKwlwtf8_GBscmMLAaoiG4,11944
|
|
9
|
+
mistralai_azure/chat.py,sha256=NwvXO3wAOaazn3n6hqPrcfH6mIGYBpq_bqnuInISMl4,32666
|
|
10
10
|
mistralai_azure/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
|
|
11
11
|
mistralai_azure/models/__init__.py,sha256=tUGnhgKbxZMd8R7DK09Zy0TRlcp5fg32LaHgwE6wtRs,5474
|
|
12
12
|
mistralai_azure/models/assistantmessage.py,sha256=RfLzXdsZ0VIo-x5I10YveA5lRu0caYZ6ZYqqUvV8T5Y,2235
|
|
13
13
|
mistralai_azure/models/chatcompletionchoice.py,sha256=-JE13p36mWnyc3zxnHLJp1Q43QVgj5QRurnZslXdJc0,935
|
|
14
|
-
mistralai_azure/models/chatcompletionrequest.py,sha256=
|
|
14
|
+
mistralai_azure/models/chatcompletionrequest.py,sha256=H27Zk4cqqisV-gVkT9yeLOKw7i_tNBlfj1YNaBymNv0,9571
|
|
15
15
|
mistralai_azure/models/chatcompletionresponse.py,sha256=sPmb4kih2DpE3r8Xem_HYj6o3E3i-6PyVROvm7Ysrfs,798
|
|
16
|
-
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=
|
|
16
|
+
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=BgXe4fTcsIZiDJD7M4WjxQB2dlRptc1r0l7uSse9diU,8707
|
|
17
17
|
mistralai_azure/models/completionchunk.py,sha256=yoA0tYoyK5RChQPbEvYUi1BVmuyH-QT5IYwEYJNtsXM,877
|
|
18
18
|
mistralai_azure/models/completionevent.py,sha256=8wkRAMMpDFfhFSm7OEmli80lsK98Tir7R6IxW-KxeuE,405
|
|
19
19
|
mistralai_azure/models/completionresponsestreamchoice.py,sha256=c6BncIEgKnK4HUPCeIhLfVc3RgxXKNcxp2JrlObUu9E,1834
|
|
@@ -41,19 +41,19 @@ mistralai_azure/models/usermessage.py,sha256=U8b5KMT3b0j8AOLFjCMWjjCM3zBl54Vc-Rz
|
|
|
41
41
|
mistralai_azure/models/validationerror.py,sha256=vghbUqW9H5AsbYmW5i0C56eHPFC054x8SJA-mJZPKak,532
|
|
42
42
|
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
43
43
|
mistralai_azure/sdk.py,sha256=ZVPE9lFzswEMlHw_kiG_j5vzoJ5BwEYlVLCYGmYDjpA,3936
|
|
44
|
-
mistralai_azure/sdkconfiguration.py,sha256=
|
|
44
|
+
mistralai_azure/sdkconfiguration.py,sha256=HUS03mJdC7BZZ7nmqwUiF-ez6OpYZyZ-cauLNUOzfww,1706
|
|
45
45
|
mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
46
46
|
mistralai_azure/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
47
47
|
mistralai_azure/utils/__init__.py,sha256=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
|
|
48
48
|
mistralai_azure/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
49
49
|
mistralai_azure/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
50
50
|
mistralai_azure/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
51
|
-
mistralai_azure/utils/forms.py,sha256=
|
|
51
|
+
mistralai_azure/utils/forms.py,sha256=YSSijXrsM2nfrRHlPQejh1uRRKfoILomHL3d9xpJiy8,6058
|
|
52
52
|
mistralai_azure/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
53
53
|
mistralai_azure/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
54
54
|
mistralai_azure/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
55
55
|
mistralai_azure/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
56
|
-
mistralai_azure/utils/requestbodies.py,sha256=
|
|
56
|
+
mistralai_azure/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
57
57
|
mistralai_azure/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
58
58
|
mistralai_azure/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
59
59
|
mistralai_azure/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
|
|
@@ -65,17 +65,17 @@ mistralai_gcp/_hooks/custom_user_agent.py,sha256=0m-1JzJxOT42rvRTEuCiFLqbOMriOls
|
|
|
65
65
|
mistralai_gcp/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
66
66
|
mistralai_gcp/_hooks/sdkhooks.py,sha256=nr_ACx8Rn5xvTkmZP6_EI-f_0hw8wMyPqPHNvjAWAxI,2563
|
|
67
67
|
mistralai_gcp/_hooks/types.py,sha256=DJD5-sKZfAj0tKgSU5w0YNuJE_C8PDa5n1V27T_7SmE,2574
|
|
68
|
-
mistralai_gcp/_version.py,sha256=
|
|
69
|
-
mistralai_gcp/basesdk.py,sha256=
|
|
70
|
-
mistralai_gcp/chat.py,sha256=
|
|
71
|
-
mistralai_gcp/fim.py,sha256=
|
|
68
|
+
mistralai_gcp/_version.py,sha256=7vh6Mzf2l8H7TUuxjCavDyOaT0x_ighKJadlem_FXTI,317
|
|
69
|
+
mistralai_gcp/basesdk.py,sha256=r7yAbWHu0e7qE7EBzNoASAY708v2KWjmOZCLgM9koEg,11938
|
|
70
|
+
mistralai_gcp/chat.py,sha256=j8y7_E7sLfK7rRDz2X9Ul-w_GNu2epAQC8uT7kuCqN4,32586
|
|
71
|
+
mistralai_gcp/fim.py,sha256=5TvHIZY-OZzg1GWoSyPXRlG5FVIvhbT3o48A2-eoPe8,26096
|
|
72
72
|
mistralai_gcp/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
|
|
73
73
|
mistralai_gcp/models/__init__.py,sha256=FgLN8dDWM4XLCS1EWH--nk90Fnnrypsa2EEu5Yv84iI,6296
|
|
74
74
|
mistralai_gcp/models/assistantmessage.py,sha256=dAdHmWc2sXzeDoP4jCLH5T4wqu7gRUzBlOVfAVmbO7Q,2233
|
|
75
75
|
mistralai_gcp/models/chatcompletionchoice.py,sha256=1t3Sb_IICDH7gyyEMX-WuxHnSVV-PZTLfpUjkUVp3do,931
|
|
76
|
-
mistralai_gcp/models/chatcompletionrequest.py,sha256=
|
|
76
|
+
mistralai_gcp/models/chatcompletionrequest.py,sha256=vBAKgPqpwF09393yXHBKRulcVL7cS0VL3WnCDlLI0SE,9619
|
|
77
77
|
mistralai_gcp/models/chatcompletionresponse.py,sha256=Ctvqs2ZjvWTycozqXn-fvucgqOn0dm4cOjUZ2BjD4BM,796
|
|
78
|
-
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=
|
|
78
|
+
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=6dVEiVFScJR8mbYFPKDgnPMLnU1QgCrg7hqASnlZQaY,8755
|
|
79
79
|
mistralai_gcp/models/completionchunk.py,sha256=0DBDcrqVWrUskHA3hHYtuWk2E4JcJy_zc_LiGyLHBlA,875
|
|
80
80
|
mistralai_gcp/models/completionevent.py,sha256=cP7Q5dN4Z46FQTlyCYeIwvqt7pgN-22jNPD2bi7Eals,403
|
|
81
81
|
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=MdZaPMSqFbIbenEAdPyYMFemsFSZdPglEEt5ssZ3x7E,1830
|
|
@@ -106,19 +106,19 @@ mistralai_gcp/models/usermessage.py,sha256=3OXMcPO3Tyje6wQuOfMVp35OD0EnfYZ2tkElV
|
|
|
106
106
|
mistralai_gcp/models/validationerror.py,sha256=EVhyAndNY5aayJSNGv-W1XL7Wu9bS92JJe1yu9UmBSY,530
|
|
107
107
|
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
108
108
|
mistralai_gcp/sdk.py,sha256=nioXPwRIiI0KJz8T14LwY4FR4pIHktdLr3u9qSL_y2M,6760
|
|
109
|
-
mistralai_gcp/sdkconfiguration.py,sha256=
|
|
109
|
+
mistralai_gcp/sdkconfiguration.py,sha256=3EvSsy_Jk4G-Q9-1veLVFqbgVO-bkCtgi4St7aA-KlU,1700
|
|
110
110
|
mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
111
111
|
mistralai_gcp/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
112
112
|
mistralai_gcp/utils/__init__.py,sha256=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
|
|
113
113
|
mistralai_gcp/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
114
114
|
mistralai_gcp/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
115
115
|
mistralai_gcp/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
116
|
-
mistralai_gcp/utils/forms.py,sha256=
|
|
116
|
+
mistralai_gcp/utils/forms.py,sha256=YSSijXrsM2nfrRHlPQejh1uRRKfoILomHL3d9xpJiy8,6058
|
|
117
117
|
mistralai_gcp/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
118
118
|
mistralai_gcp/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
119
119
|
mistralai_gcp/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
120
120
|
mistralai_gcp/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
121
|
-
mistralai_gcp/utils/requestbodies.py,sha256=
|
|
121
|
+
mistralai_gcp/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
122
122
|
mistralai_gcp/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
123
123
|
mistralai_gcp/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
124
124
|
mistralai_gcp/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
|
|
@@ -132,21 +132,21 @@ mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9
|
|
|
132
132
|
mistralai/_hooks/registration.py,sha256=ML0W-XbE4WYdJ4eGks_XxF2aLCJTaIWjQATFGzFwvyU,861
|
|
133
133
|
mistralai/_hooks/sdkhooks.py,sha256=s-orhdvnV89TmI3QiPC2LWQtYeM9RrsG1CTll-fYZmQ,2559
|
|
134
134
|
mistralai/_hooks/types.py,sha256=vUkTVk_TSaK10aEj368KYWvnd4T5EsawixMcTro_UHc,2570
|
|
135
|
-
mistralai/_version.py,sha256=
|
|
136
|
-
mistralai/agents.py,sha256=
|
|
135
|
+
mistralai/_version.py,sha256=eiGwjeM4obDClShWRxd5pzvdNuEU4zn9JcutKU1d5Bg,313
|
|
136
|
+
mistralai/agents.py,sha256=fR0i6638GqTptSr2rNCQG6WKH4_AiiPUA16tzqiRQBA,29496
|
|
137
137
|
mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
|
|
138
|
-
mistralai/basesdk.py,sha256=
|
|
138
|
+
mistralai/basesdk.py,sha256=da0sFeLR-ztU5-fuGJ4TMqUnnqSzXbPAjpNgKI52tBk,11999
|
|
139
139
|
mistralai/batch.py,sha256=YN4D0Duwrap9Ysmp_lRpADYp1Znay7THE_z8ERGvDds,501
|
|
140
|
-
mistralai/chat.py,sha256=
|
|
141
|
-
mistralai/classifiers.py,sha256=
|
|
140
|
+
mistralai/chat.py,sha256=gaTrfuLoJ7sH9Ku6SxCiZyswQE6XlGmdHAU4qJ2mvr0,33679
|
|
141
|
+
mistralai/classifiers.py,sha256=E2gQl8R4p-aVpvMzTInQ0MwEZn91Jj59Nub6rk6Xz1E,15818
|
|
142
142
|
mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
|
|
143
|
-
mistralai/embeddings.py,sha256=
|
|
144
|
-
mistralai/files.py,sha256=
|
|
145
|
-
mistralai/fim.py,sha256=
|
|
143
|
+
mistralai/embeddings.py,sha256=SBP-AeaiN2CMcznRkSli_F-YGABJXCe3MP7FDvNGRrs,8202
|
|
144
|
+
mistralai/files.py,sha256=TLvxzY4uKNOaMpQieBNb7HDIwzZ0yP8HHgkdCruIzjs,41651
|
|
145
|
+
mistralai/fim.py,sha256=55J_vlD0_mlcEW-a57vRU4oYMT-KgVNQ1BSSHDiB_Tg,26433
|
|
146
146
|
mistralai/fine_tuning.py,sha256=UENQqfE054VEsAYxdruV-TBLFIFfO-joXNznH08GUvE,477
|
|
147
147
|
mistralai/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
|
|
148
|
-
mistralai/jobs.py,sha256=
|
|
149
|
-
mistralai/mistral_jobs.py,sha256=
|
|
148
|
+
mistralai/jobs.py,sha256=ftNZ6nzQZPQoEECUrma4jLSdkV4GwA9Q63sFZSI6bnY,41275
|
|
149
|
+
mistralai/mistral_jobs.py,sha256=UAjO2qL1zdfrTQ0WYXVsKtr9cqg3Lf6hgtc-aiL-Zno,28374
|
|
150
150
|
mistralai/models/__init__.py,sha256=r-GIWDriQyAFaWvuazQhJPB6ZsCegcBVjoAcZyVu1ho,21712
|
|
151
151
|
mistralai/models/agentscompletionrequest.py,sha256=iYCRAR6IQJR1WdIt6MjOkLlIdQUB8vCHf-utbGzU3oI,7618
|
|
152
152
|
mistralai/models/agentscompletionstreamrequest.py,sha256=QLbh0bGxH-J_1A9isXJkwsx4IzeMWYZxw6Jrl0Kpfdk,7063
|
|
@@ -161,9 +161,9 @@ mistralai/models/batchjobsout.py,sha256=Tq6bcb4_-fcW8C9AOnfJN8_sTy1NQhDn82qFOKdF
|
|
|
161
161
|
mistralai/models/batchjobstatus.py,sha256=WlrIl5vWQGfLmgQA91_9CnCMKhWN6Lli458fT-4Asj4,294
|
|
162
162
|
mistralai/models/chatclassificationrequest.py,sha256=WYthWiE7euFSeJYJRQJMXmxbWzGDl8kpF4yyLO9ZJaE,3225
|
|
163
163
|
mistralai/models/chatcompletionchoice.py,sha256=6iIFLZj2KYx0HFfzS3-E3sNXG6mPEAlDyXxIA5iZI_U,849
|
|
164
|
-
mistralai/models/chatcompletionrequest.py,sha256=
|
|
164
|
+
mistralai/models/chatcompletionrequest.py,sha256=E93EOWOm0uOjWqAoD9d0MAllzhwlFc23YD3bnzoXOA0,9587
|
|
165
165
|
mistralai/models/chatcompletionresponse.py,sha256=sLE-_Bx9W5rH2-HE2fBWPVbJbmBWx_jSY2mJ3KBEn6w,792
|
|
166
|
-
mistralai/models/chatcompletionstreamrequest.py,sha256=
|
|
166
|
+
mistralai/models/chatcompletionstreamrequest.py,sha256=YSdqSpIDj5YcPxvQG7o7Beu36aPj4_-d4-edN9rIp6o,9275
|
|
167
167
|
mistralai/models/checkpointout.py,sha256=A2kXS8-VT_1lbg3brifVjZD6tXdsET8vLqBm2a-yXgA,1109
|
|
168
168
|
mistralai/models/classificationobject.py,sha256=JqaKo3AQD4t5X12ZnHjJ6K3Y6LXUn94uGdLJSoGr8vY,665
|
|
169
169
|
mistralai/models/classificationrequest.py,sha256=UFbjwNFtLZmylX3DqQSH3FoOvvD1UGBapK6f9b9LGYE,1903
|
|
@@ -187,7 +187,7 @@ mistralai/models/files_api_routes_download_fileop.py,sha256=y3sLFZ-j4eUuxCyIP0L-
|
|
|
187
187
|
mistralai/models/files_api_routes_get_signed_urlop.py,sha256=e_XczBgInaylmHJ9m5wJQ78hfCp2PrrTrT8bxGGi8BI,879
|
|
188
188
|
mistralai/models/files_api_routes_list_filesop.py,sha256=ztzOPSCg7VfmRDxwxnquhTpLPRbI-wJAvkASOsv2g8w,3130
|
|
189
189
|
mistralai/models/files_api_routes_retrieve_fileop.py,sha256=8DjSbYqUqFoPq-qcNXyVADeBVSsoCfHFlkRfmwYk-ns,504
|
|
190
|
-
mistralai/models/files_api_routes_upload_fileop.py,sha256=
|
|
190
|
+
mistralai/models/files_api_routes_upload_fileop.py,sha256=gIGH5xcPryWYkj1FmNv_0-9He-QB_rRf1a5nUYBNDTU,2213
|
|
191
191
|
mistralai/models/fileschema.py,sha256=cgHHp6H9HdIZqiFc-7BQwF5L6nzXz8aF6F7evEm-Hj4,2529
|
|
192
192
|
mistralai/models/filesignedurl.py,sha256=VwvuhzhJulAB99Qxz6zr-2F1aINosAfaSxU0IhytDSU,289
|
|
193
193
|
mistralai/models/fimcompletionrequest.py,sha256=DidQBt_s7o-VkfGNZpN6MUi19Qs_WXVCvA7ek45Hcnc,6606
|
|
@@ -252,29 +252,29 @@ mistralai/models/usermessage.py,sha256=kjS5HudMsaRNfeUhFFBCyY8l-umlHvGk8wvTIq6-q
|
|
|
252
252
|
mistralai/models/validationerror.py,sha256=DouDBJmBhbW4KPsF5rZEyBdnB_adC-l32kuHC0bvO2I,526
|
|
253
253
|
mistralai/models/wandbintegration.py,sha256=BkLD3r08ToZkMAhPXdnC7bfOGr3banKqt1wVKMGehUQ,2406
|
|
254
254
|
mistralai/models/wandbintegrationout.py,sha256=C0HpS8jJGnACs7eWnuIq0qJEroIUAbjkvzfSSkSKS7Q,2274
|
|
255
|
-
mistralai/models_.py,sha256=
|
|
255
|
+
mistralai/models_.py,sha256=kRnakzM3wQH8o99PZbMLXm7prVp2maguKJZab6HWzdM,41930
|
|
256
256
|
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
257
257
|
mistralai/sdk.py,sha256=lLJOfh9im-TDBsXX9_qM-JPGXjQOOSBDGOrmlJWaZBY,5444
|
|
258
|
-
mistralai/sdkconfiguration.py,sha256=
|
|
258
|
+
mistralai/sdkconfiguration.py,sha256=7DSS3eyJVghFEFMx_3mWdwSAkxqQZuN-elbzyA3NivU,1688
|
|
259
259
|
mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
260
260
|
mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
261
261
|
mistralai/utils/__init__.py,sha256=8npwwHS-7zjVrbkzBGO-Uk4GkjC240PCleMbgPK1Axs,2418
|
|
262
262
|
mistralai/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
263
263
|
mistralai/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
264
264
|
mistralai/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
265
|
-
mistralai/utils/forms.py,sha256=
|
|
265
|
+
mistralai/utils/forms.py,sha256=YSSijXrsM2nfrRHlPQejh1uRRKfoILomHL3d9xpJiy8,6058
|
|
266
266
|
mistralai/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
267
267
|
mistralai/utils/logger.py,sha256=TOF0Mqsua4GlsDhmrZz9hgMRvwd9zK7ytuqly3Vevxo,675
|
|
268
268
|
mistralai/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
269
269
|
mistralai/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
270
|
-
mistralai/utils/requestbodies.py,sha256=
|
|
270
|
+
mistralai/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
271
271
|
mistralai/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
272
272
|
mistralai/utils/security.py,sha256=vWlpkikOnGN_HRRhJ7Pb8ywVAjiM3d3ey3oTWtM6jTU,6008
|
|
273
273
|
mistralai/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
|
|
274
274
|
mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
275
275
|
mistralai/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
|
276
276
|
mistralai/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
|
|
277
|
-
mistralai-1.2.
|
|
278
|
-
mistralai-1.2.
|
|
279
|
-
mistralai-1.2.
|
|
280
|
-
mistralai-1.2.
|
|
277
|
+
mistralai-1.2.6.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
|
|
278
|
+
mistralai-1.2.6.dist-info/METADATA,sha256=prWC8_EWcysmD1Bw2efxIQm9f0vJCJsPoGo8Ru8SEtA,28163
|
|
279
|
+
mistralai-1.2.6.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
280
|
+
mistralai-1.2.6.dist-info/RECORD,,
|