mistralai 1.5.2__py3-none-any.whl → 1.6.0__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/_hooks/types.py +15 -3
- mistralai/_version.py +3 -3
- mistralai/agents.py +44 -12
- mistralai/basesdk.py +8 -0
- mistralai/chat.py +44 -12
- mistralai/classifiers.py +36 -16
- mistralai/embeddings.py +16 -6
- mistralai/files.py +36 -0
- mistralai/fim.py +32 -12
- mistralai/httpclient.py +4 -2
- mistralai/jobs.py +30 -0
- mistralai/mistral_jobs.py +24 -0
- mistralai/models/agentscompletionrequest.py +4 -0
- mistralai/models/agentscompletionstreamrequest.py +4 -0
- mistralai/models/chatcompletionrequest.py +4 -0
- mistralai/models/chatcompletionstreamrequest.py +4 -0
- mistralai/models/function.py +2 -2
- mistralai/models/jsonschema.py +1 -1
- mistralai/models_.py +66 -18
- mistralai/ocr.py +16 -6
- mistralai/sdk.py +19 -3
- mistralai/sdkconfiguration.py +4 -2
- mistralai/utils/__init__.py +2 -0
- mistralai/utils/serializers.py +10 -6
- mistralai/utils/values.py +4 -1
- {mistralai-1.5.2.dist-info → mistralai-1.6.0.dist-info}/METADATA +63 -16
- {mistralai-1.5.2.dist-info → mistralai-1.6.0.dist-info}/RECORD +80 -72
- mistralai_azure/__init__.py +10 -1
- mistralai_azure/_hooks/types.py +15 -3
- mistralai_azure/_version.py +4 -1
- mistralai_azure/basesdk.py +8 -0
- mistralai_azure/chat.py +100 -20
- mistralai_azure/httpclient.py +52 -0
- mistralai_azure/models/__init__.py +22 -0
- mistralai_azure/models/assistantmessage.py +2 -0
- mistralai_azure/models/chatcompletionrequest.py +12 -10
- mistralai_azure/models/chatcompletionstreamrequest.py +12 -10
- mistralai_azure/models/contentchunk.py +6 -2
- mistralai_azure/models/function.py +4 -1
- mistralai_azure/models/imageurl.py +53 -0
- mistralai_azure/models/imageurlchunk.py +33 -0
- mistralai_azure/models/jsonschema.py +61 -0
- mistralai_azure/models/prediction.py +25 -0
- mistralai_azure/models/responseformat.py +42 -1
- mistralai_azure/models/responseformats.py +1 -1
- mistralai_azure/models/toolcall.py +3 -0
- mistralai_azure/sdk.py +56 -14
- mistralai_azure/sdkconfiguration.py +14 -6
- mistralai_azure/utils/__init__.py +2 -0
- mistralai_azure/utils/serializers.py +10 -6
- mistralai_azure/utils/values.py +4 -1
- mistralai_gcp/__init__.py +10 -1
- mistralai_gcp/_hooks/types.py +15 -3
- mistralai_gcp/_version.py +4 -1
- mistralai_gcp/basesdk.py +8 -0
- mistralai_gcp/chat.py +101 -21
- mistralai_gcp/fim.py +61 -21
- mistralai_gcp/httpclient.py +52 -0
- mistralai_gcp/models/__init__.py +22 -0
- mistralai_gcp/models/assistantmessage.py +2 -0
- mistralai_gcp/models/chatcompletionrequest.py +12 -10
- mistralai_gcp/models/chatcompletionstreamrequest.py +12 -10
- mistralai_gcp/models/contentchunk.py +6 -2
- mistralai_gcp/models/fimcompletionrequest.py +2 -3
- mistralai_gcp/models/fimcompletionstreamrequest.py +2 -3
- mistralai_gcp/models/function.py +4 -1
- mistralai_gcp/models/imageurl.py +53 -0
- mistralai_gcp/models/imageurlchunk.py +33 -0
- mistralai_gcp/models/jsonschema.py +61 -0
- mistralai_gcp/models/prediction.py +25 -0
- mistralai_gcp/models/responseformat.py +42 -1
- mistralai_gcp/models/responseformats.py +1 -1
- mistralai_gcp/models/toolcall.py +3 -0
- mistralai_gcp/sdk.py +63 -19
- mistralai_gcp/sdkconfiguration.py +14 -6
- mistralai_gcp/utils/__init__.py +2 -0
- mistralai_gcp/utils/serializers.py +10 -6
- mistralai_gcp/utils/values.py +4 -1
- {mistralai-1.5.2.dist-info → mistralai-1.6.0.dist-info}/LICENSE +0 -0
- {mistralai-1.5.2.dist-info → mistralai-1.6.0.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: mistralai
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.6.0
|
|
4
4
|
Summary: Python Client SDK for the Mistral AI API.
|
|
5
5
|
Author: Mistral
|
|
6
|
-
Requires-Python: >=3.
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
9
8
|
Classifier: Programming Language :: Python :: 3.9
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -14,12 +13,11 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
13
|
Provides-Extra: gcp
|
|
15
14
|
Requires-Dist: eval-type-backport (>=0.2.0)
|
|
16
15
|
Requires-Dist: google-auth (>=2.27.0) ; extra == "gcp"
|
|
17
|
-
Requires-Dist: httpx (>=0.
|
|
18
|
-
Requires-Dist:
|
|
19
|
-
Requires-Dist: pydantic (>=2.9.0)
|
|
16
|
+
Requires-Dist: httpx (>=0.28.1)
|
|
17
|
+
Requires-Dist: pydantic (>=2.10.3)
|
|
20
18
|
Requires-Dist: python-dateutil (>=2.8.2)
|
|
21
19
|
Requires-Dist: requests (>=2.32.3) ; extra == "gcp"
|
|
22
|
-
Requires-Dist: typing-
|
|
20
|
+
Requires-Dist: typing-inspection (>=0.4.0)
|
|
23
21
|
Project-URL: Repository, https://github.com/mistralai/client-python.git
|
|
24
22
|
Description-Content-Type: text/markdown
|
|
25
23
|
|
|
@@ -100,6 +98,37 @@ pip install mistralai
|
|
|
100
98
|
```bash
|
|
101
99
|
poetry add mistralai
|
|
102
100
|
```
|
|
101
|
+
|
|
102
|
+
### Shell and script usage with `uv`
|
|
103
|
+
|
|
104
|
+
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
|
|
105
|
+
|
|
106
|
+
```shell
|
|
107
|
+
uvx --from mistralai python
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
It's also possible to write a standalone Python script without needing to set up a whole project like so:
|
|
111
|
+
|
|
112
|
+
```python
|
|
113
|
+
#!/usr/bin/env -S uv run --script
|
|
114
|
+
# /// script
|
|
115
|
+
# requires-python = ">=3.9"
|
|
116
|
+
# dependencies = [
|
|
117
|
+
# "mistralai",
|
|
118
|
+
# ]
|
|
119
|
+
# ///
|
|
120
|
+
|
|
121
|
+
from mistralai import Mistral
|
|
122
|
+
|
|
123
|
+
sdk = Mistral(
|
|
124
|
+
# SDK arguments
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
# Rest of script here...
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Once that is saved to a file, you can run it with `uv run script.py` where
|
|
131
|
+
`script.py` can be replaced with the actual file name.
|
|
103
132
|
<!-- End SDK Installation [installation] -->
|
|
104
133
|
|
|
105
134
|
<!-- Start SDK Example Usage [usage] -->
|
|
@@ -114,6 +143,7 @@ This example shows how to create chat completions.
|
|
|
114
143
|
from mistralai import Mistral
|
|
115
144
|
import os
|
|
116
145
|
|
|
146
|
+
|
|
117
147
|
with Mistral(
|
|
118
148
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
119
149
|
) as mistral:
|
|
@@ -123,7 +153,7 @@ with Mistral(
|
|
|
123
153
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
124
154
|
"role": "user",
|
|
125
155
|
},
|
|
126
|
-
]
|
|
156
|
+
])
|
|
127
157
|
|
|
128
158
|
# Handle response
|
|
129
159
|
print(res)
|
|
@@ -139,6 +169,7 @@ from mistralai import Mistral
|
|
|
139
169
|
import os
|
|
140
170
|
|
|
141
171
|
async def main():
|
|
172
|
+
|
|
142
173
|
async with Mistral(
|
|
143
174
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
144
175
|
) as mistral:
|
|
@@ -148,7 +179,7 @@ async def main():
|
|
|
148
179
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
149
180
|
"role": "user",
|
|
150
181
|
},
|
|
151
|
-
]
|
|
182
|
+
])
|
|
152
183
|
|
|
153
184
|
# Handle response
|
|
154
185
|
print(res)
|
|
@@ -165,6 +196,7 @@ This example shows how to upload a file.
|
|
|
165
196
|
from mistralai import Mistral
|
|
166
197
|
import os
|
|
167
198
|
|
|
199
|
+
|
|
168
200
|
with Mistral(
|
|
169
201
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
170
202
|
) as mistral:
|
|
@@ -188,6 +220,7 @@ from mistralai import Mistral
|
|
|
188
220
|
import os
|
|
189
221
|
|
|
190
222
|
async def main():
|
|
223
|
+
|
|
191
224
|
async with Mistral(
|
|
192
225
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
193
226
|
) as mistral:
|
|
@@ -212,6 +245,7 @@ This example shows how to create agents completions.
|
|
|
212
245
|
from mistralai import Mistral
|
|
213
246
|
import os
|
|
214
247
|
|
|
248
|
+
|
|
215
249
|
with Mistral(
|
|
216
250
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
217
251
|
) as mistral:
|
|
@@ -221,7 +255,7 @@ with Mistral(
|
|
|
221
255
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
222
256
|
"role": "user",
|
|
223
257
|
},
|
|
224
|
-
], agent_id="<id>"
|
|
258
|
+
], agent_id="<id>")
|
|
225
259
|
|
|
226
260
|
# Handle response
|
|
227
261
|
print(res)
|
|
@@ -237,6 +271,7 @@ from mistralai import Mistral
|
|
|
237
271
|
import os
|
|
238
272
|
|
|
239
273
|
async def main():
|
|
274
|
+
|
|
240
275
|
async with Mistral(
|
|
241
276
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
242
277
|
) as mistral:
|
|
@@ -246,7 +281,7 @@ async def main():
|
|
|
246
281
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
247
282
|
"role": "user",
|
|
248
283
|
},
|
|
249
|
-
], agent_id="<id>"
|
|
284
|
+
], agent_id="<id>")
|
|
250
285
|
|
|
251
286
|
# Handle response
|
|
252
287
|
print(res)
|
|
@@ -263,6 +298,7 @@ This example shows how to create embedding request.
|
|
|
263
298
|
from mistralai import Mistral
|
|
264
299
|
import os
|
|
265
300
|
|
|
301
|
+
|
|
266
302
|
with Mistral(
|
|
267
303
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
268
304
|
) as mistral:
|
|
@@ -286,6 +322,7 @@ from mistralai import Mistral
|
|
|
286
322
|
import os
|
|
287
323
|
|
|
288
324
|
async def main():
|
|
325
|
+
|
|
289
326
|
async with Mistral(
|
|
290
327
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
291
328
|
) as mistral:
|
|
@@ -426,7 +463,7 @@ The documentation for the GCP SDK is available [here](https://github.com/mistral
|
|
|
426
463
|
### [classifiers](https://github.com/mistralai/client-python/blob/master/docs/sdks/classifiers/README.md)
|
|
427
464
|
|
|
428
465
|
* [moderate](https://github.com/mistralai/client-python/blob/master/docs/sdks/classifiers/README.md#moderate) - Moderations
|
|
429
|
-
* [moderate_chat](https://github.com/mistralai/client-python/blob/master/docs/sdks/classifiers/README.md#moderate_chat) - Moderations
|
|
466
|
+
* [moderate_chat](https://github.com/mistralai/client-python/blob/master/docs/sdks/classifiers/README.md#moderate_chat) - Chat Moderations
|
|
430
467
|
|
|
431
468
|
### [embeddings](https://github.com/mistralai/client-python/blob/master/docs/sdks/embeddings/README.md)
|
|
432
469
|
|
|
@@ -490,6 +527,7 @@ underlying connection when the context is exited.
|
|
|
490
527
|
from mistralai import Mistral
|
|
491
528
|
import os
|
|
492
529
|
|
|
530
|
+
|
|
493
531
|
with Mistral(
|
|
494
532
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
495
533
|
) as mistral:
|
|
@@ -499,7 +537,7 @@ with Mistral(
|
|
|
499
537
|
"content": "Who is the best French painter? Answer in one short sentence.",
|
|
500
538
|
"role": "user",
|
|
501
539
|
},
|
|
502
|
-
]
|
|
540
|
+
])
|
|
503
541
|
|
|
504
542
|
with res as event_stream:
|
|
505
543
|
for event in event_stream:
|
|
@@ -527,6 +565,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
|
|
|
527
565
|
from mistralai import Mistral
|
|
528
566
|
import os
|
|
529
567
|
|
|
568
|
+
|
|
530
569
|
with Mistral(
|
|
531
570
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
532
571
|
) as mistral:
|
|
@@ -553,6 +592,7 @@ from mistralai import Mistral
|
|
|
553
592
|
from mistralai.utils import BackoffStrategy, RetryConfig
|
|
554
593
|
import os
|
|
555
594
|
|
|
595
|
+
|
|
556
596
|
with Mistral(
|
|
557
597
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
558
598
|
) as mistral:
|
|
@@ -571,6 +611,7 @@ from mistralai import Mistral
|
|
|
571
611
|
from mistralai.utils import BackoffStrategy, RetryConfig
|
|
572
612
|
import os
|
|
573
613
|
|
|
614
|
+
|
|
574
615
|
with Mistral(
|
|
575
616
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
|
576
617
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
@@ -611,6 +652,7 @@ When custom error responses are specified for an operation, the SDK may also rai
|
|
|
611
652
|
from mistralai import Mistral, models
|
|
612
653
|
import os
|
|
613
654
|
|
|
655
|
+
|
|
614
656
|
with Mistral(
|
|
615
657
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
616
658
|
) as mistral:
|
|
@@ -638,9 +680,9 @@ with Mistral(
|
|
|
638
680
|
|
|
639
681
|
You can override the default server globally by passing a server name to the `server: str` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the names associated with the available servers:
|
|
640
682
|
|
|
641
|
-
| Name | Server |
|
|
642
|
-
| ---- | ------------------------ |
|
|
643
|
-
| `eu` | `https://api.mistral.ai` |
|
|
683
|
+
| Name | Server | Description |
|
|
684
|
+
| ---- | ------------------------ | -------------------- |
|
|
685
|
+
| `eu` | `https://api.mistral.ai` | EU Production server |
|
|
644
686
|
|
|
645
687
|
#### Example
|
|
646
688
|
|
|
@@ -648,6 +690,7 @@ You can override the default server globally by passing a server name to the `se
|
|
|
648
690
|
from mistralai import Mistral
|
|
649
691
|
import os
|
|
650
692
|
|
|
693
|
+
|
|
651
694
|
with Mistral(
|
|
652
695
|
server="eu",
|
|
653
696
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
@@ -667,6 +710,7 @@ The default server can also be overridden globally by passing a URL to the `serv
|
|
|
667
710
|
from mistralai import Mistral
|
|
668
711
|
import os
|
|
669
712
|
|
|
713
|
+
|
|
670
714
|
with Mistral(
|
|
671
715
|
server_url="https://api.mistral.ai",
|
|
672
716
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
@@ -777,6 +821,7 @@ To authenticate with the API the `api_key` parameter must be set when initializi
|
|
|
777
821
|
from mistralai import Mistral
|
|
778
822
|
import os
|
|
779
823
|
|
|
824
|
+
|
|
780
825
|
with Mistral(
|
|
781
826
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
782
827
|
) as mistral:
|
|
@@ -800,6 +845,7 @@ The `Mistral` class implements the context manager protocol and registers a fina
|
|
|
800
845
|
from mistralai import Mistral
|
|
801
846
|
import os
|
|
802
847
|
def main():
|
|
848
|
+
|
|
803
849
|
with Mistral(
|
|
804
850
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
805
851
|
) as mistral:
|
|
@@ -808,6 +854,7 @@ def main():
|
|
|
808
854
|
|
|
809
855
|
# Or when using async:
|
|
810
856
|
async def amain():
|
|
857
|
+
|
|
811
858
|
async with Mistral(
|
|
812
859
|
api_key=os.getenv("MISTRAL_API_KEY", ""),
|
|
813
860
|
) as mistral:
|
|
@@ -1,37 +1,41 @@
|
|
|
1
|
-
mistralai_azure/__init__.py,sha256=
|
|
1
|
+
mistralai_azure/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
2
2
|
mistralai_azure/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
3
3
|
mistralai_azure/_hooks/custom_user_agent.py,sha256=0m-1JzJxOT42rvRTEuCiFLqbOMriOlsraSrAGaXAbyo,656
|
|
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
|
-
mistralai_azure/_hooks/types.py,sha256=
|
|
7
|
-
mistralai_azure/_version.py,sha256=
|
|
8
|
-
mistralai_azure/basesdk.py,sha256=
|
|
9
|
-
mistralai_azure/chat.py,sha256=
|
|
10
|
-
mistralai_azure/httpclient.py,sha256=
|
|
11
|
-
mistralai_azure/models/__init__.py,sha256=
|
|
12
|
-
mistralai_azure/models/assistantmessage.py,sha256=
|
|
6
|
+
mistralai_azure/_hooks/types.py,sha256=5lbjAtBy4DcEmoFjepuZA4l3vjE73G_NW5izQHi3DK0,2818
|
|
7
|
+
mistralai_azure/_version.py,sha256=qa1zEa5rDcZbGrfBSLYlvEl14a0nG1VfMvKuRuXKSwQ,472
|
|
8
|
+
mistralai_azure/basesdk.py,sha256=95JOT11O1oU74EcPvwu3lj9o32a7IPInYIveTVjV8pE,12136
|
|
9
|
+
mistralai_azure/chat.py,sha256=6zTDL9fbR7v4n23Awgu7P_9nPKeum2W5IoX7ubumn44,35910
|
|
10
|
+
mistralai_azure/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
11
|
+
mistralai_azure/models/__init__.py,sha256=zByHopg2jAg0Sfj7cfw2tD7ioV6bjK7s61KqZkiDnfA,6075
|
|
12
|
+
mistralai_azure/models/assistantmessage.py,sha256=OmHqIM8Cnp4gW6_NbEGMam-_-XBDqMOdskb4BejEBZY,2655
|
|
13
13
|
mistralai_azure/models/chatcompletionchoice.py,sha256=-JE13p36mWnyc3zxnHLJp1Q43QVgj5QRurnZslXdJc0,935
|
|
14
|
-
mistralai_azure/models/chatcompletionrequest.py,sha256=
|
|
14
|
+
mistralai_azure/models/chatcompletionrequest.py,sha256=ixQP91BFZv1Zebxq0ephBmHyI5W0_yeEQoNR13Z5QdU,9763
|
|
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=o8cbpKDS0scF_B3dfojOUhnLTd7D2G6AT-anOVe9ZFo,8899
|
|
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
|
|
20
|
-
mistralai_azure/models/contentchunk.py,sha256=
|
|
20
|
+
mistralai_azure/models/contentchunk.py,sha256=a7A9ymr1Qvg4am-uqrGxqrmTf9NBMPiGbVncuOevchE,881
|
|
21
21
|
mistralai_azure/models/deltamessage.py,sha256=DvXCMs-P1i3QlUjCjJv4en2d04ydTrH6AjECpX9L2aw,1970
|
|
22
|
-
mistralai_azure/models/function.py,sha256=
|
|
22
|
+
mistralai_azure/models/function.py,sha256=VKcPB1oJ8_jvfXRfqufa2Y9to5WdxS-hi9OLu78GNpM,540
|
|
23
23
|
mistralai_azure/models/functioncall.py,sha256=H2eemkzk2Zm1LEm11atVh6PGvr6XJn9SWqNUziT_WK8,562
|
|
24
24
|
mistralai_azure/models/functionname.py,sha256=4rGsO-FYjvLMRGDBbdZ3cLyiiwml_voRQQ924K2_S1M,473
|
|
25
25
|
mistralai_azure/models/httpvalidationerror.py,sha256=tcUK2zfyCZ1TJjmvF93E9G2Ah-S2UUSpM-ZJBbR4hgc,616
|
|
26
|
+
mistralai_azure/models/imageurl.py,sha256=Dm3S96XCb-F11vx3HYWnKG5GOm246q21vDJ81ywVDVQ,1396
|
|
27
|
+
mistralai_azure/models/imageurlchunk.py,sha256=JWfOtcxm-AEzRdNny-KWAWXV275hSnWFfn_Ux6OjrYA,1000
|
|
28
|
+
mistralai_azure/models/jsonschema.py,sha256=Hg6iOf3AiR55dX_-4nb0DMcA4TFJQac-51QtjmrcTBE,1683
|
|
29
|
+
mistralai_azure/models/prediction.py,sha256=GERxBI8NoS9Fc14FD4ityVfJfXNts1dxjoK3XIVHHc0,730
|
|
26
30
|
mistralai_azure/models/referencechunk.py,sha256=uiouhIPrWpVEhpY_Cea1Som9XapC4mM3R82hhND-j-s,525
|
|
27
|
-
mistralai_azure/models/responseformat.py,sha256=
|
|
28
|
-
mistralai_azure/models/responseformats.py,sha256=
|
|
31
|
+
mistralai_azure/models/responseformat.py,sha256=n0aKQE1girltBvrih5w4bbfp_C7_ban4KTrGpS4bAFM,2256
|
|
32
|
+
mistralai_azure/models/responseformats.py,sha256=O9lwS2M9m53DsRxTC4uRP12SvRhgaQoMjIYsDys5A7s,503
|
|
29
33
|
mistralai_azure/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
30
34
|
mistralai_azure/models/security.py,sha256=lPLcQ1OV2SA6ZJP5_lOFWUDVuPc-L90C3N127KMWdPo,627
|
|
31
35
|
mistralai_azure/models/systemmessage.py,sha256=8vcbWj6yaGEuDxsCqz4Hdarxt9mJKotFsoxCtoa93vA,792
|
|
32
36
|
mistralai_azure/models/textchunk.py,sha256=D12hZryrlifzFWP5D1W--7sor61Mstdp8fTOyrhK9_8,427
|
|
33
37
|
mistralai_azure/models/tool.py,sha256=Li0qpB3KgGN0mtT8lKG1N_MfOOwGvzok0ZRK_J3Us80,693
|
|
34
|
-
mistralai_azure/models/toolcall.py,sha256=
|
|
38
|
+
mistralai_azure/models/toolcall.py,sha256=MYHTegL2wzO23cG9AyPS9YhomXWh8ekULwzIeGt31Pw,836
|
|
35
39
|
mistralai_azure/models/toolchoice.py,sha256=etDg86Frx-VoiccMlGP_Va3Vipy4UGMa9LMUGQFY6UY,1033
|
|
36
40
|
mistralai_azure/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
37
41
|
mistralai_azure/models/toolmessage.py,sha256=Vnq3QXhCYqECfGOjbkK8ZA2hJwbgxhxgZU_lpREyVhk,2069
|
|
@@ -40,11 +44,11 @@ mistralai_azure/models/usageinfo.py,sha256=jG6lRE1t4wDqD4Cote82IFLQtWA_eJmTwP66T
|
|
|
40
44
|
mistralai_azure/models/usermessage.py,sha256=U8b5KMT3b0j8AOLFjCMWjjCM3zBl54Vc-Rzc5qJz1sc,1799
|
|
41
45
|
mistralai_azure/models/validationerror.py,sha256=vghbUqW9H5AsbYmW5i0C56eHPFC054x8SJA-mJZPKak,532
|
|
42
46
|
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
43
|
-
mistralai_azure/sdk.py,sha256=
|
|
44
|
-
mistralai_azure/sdkconfiguration.py,sha256=
|
|
47
|
+
mistralai_azure/sdk.py,sha256=CVTTW027gX8y4rhprAbmkB5W7r3afru01yRSPwxpMk4,5437
|
|
48
|
+
mistralai_azure/sdkconfiguration.py,sha256=t2a28Th0mVQ2C1R2ljPi8OJxpQ9xmb3hVgWzHXelq_o,1885
|
|
45
49
|
mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
46
50
|
mistralai_azure/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
47
|
-
mistralai_azure/utils/__init__.py,sha256=
|
|
51
|
+
mistralai_azure/utils/__init__.py,sha256=Q7llS9EohG8aiwH3X_YC3Ia1erz5qKWHVxfHE6L1_tQ,2403
|
|
48
52
|
mistralai_azure/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
49
53
|
mistralai_azure/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
50
54
|
mistralai_azure/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
@@ -56,47 +60,51 @@ mistralai_azure/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRl
|
|
|
56
60
|
mistralai_azure/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
57
61
|
mistralai_azure/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
58
62
|
mistralai_azure/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
59
|
-
mistralai_azure/utils/serializers.py,sha256=
|
|
63
|
+
mistralai_azure/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
|
|
60
64
|
mistralai_azure/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
61
|
-
mistralai_azure/utils/values.py,sha256=
|
|
62
|
-
mistralai_gcp/__init__.py,sha256=
|
|
65
|
+
mistralai_azure/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
66
|
+
mistralai_gcp/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
63
67
|
mistralai_gcp/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
64
68
|
mistralai_gcp/_hooks/custom_user_agent.py,sha256=0m-1JzJxOT42rvRTEuCiFLqbOMriOlsraSrAGaXAbyo,656
|
|
65
69
|
mistralai_gcp/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
66
70
|
mistralai_gcp/_hooks/sdkhooks.py,sha256=nr_ACx8Rn5xvTkmZP6_EI-f_0hw8wMyPqPHNvjAWAxI,2563
|
|
67
|
-
mistralai_gcp/_hooks/types.py,sha256=
|
|
68
|
-
mistralai_gcp/_version.py,sha256=
|
|
69
|
-
mistralai_gcp/basesdk.py,sha256=
|
|
70
|
-
mistralai_gcp/chat.py,sha256=
|
|
71
|
-
mistralai_gcp/fim.py,sha256=
|
|
72
|
-
mistralai_gcp/httpclient.py,sha256=
|
|
73
|
-
mistralai_gcp/models/__init__.py,sha256=
|
|
74
|
-
mistralai_gcp/models/assistantmessage.py,sha256=
|
|
71
|
+
mistralai_gcp/_hooks/types.py,sha256=NzfRMdihvcNazbqJkcbjWcGttNkUi9upj4QDk9IN_Wg,2816
|
|
72
|
+
mistralai_gcp/_version.py,sha256=JBRQmuMZFOEg82Gq5TChrV73wHfnblPO4GnleLdGZ6I,468
|
|
73
|
+
mistralai_gcp/basesdk.py,sha256=1qQQeCnhkPR4JYRQ3GGpW8TwbTSCWT4RjfXiJTGWvrU,12130
|
|
74
|
+
mistralai_gcp/chat.py,sha256=bbz3SzLyNO6Pnct7Mqtgk3aunPvPXET9CUGY8SlJ78U,35812
|
|
75
|
+
mistralai_gcp/fim.py,sha256=zOcVDvQzFzPNy6xxV_yfW2wJNHQhrxhPb4utNrIVJXk,27718
|
|
76
|
+
mistralai_gcp/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
77
|
+
mistralai_gcp/models/__init__.py,sha256=AztbrrgcEdLp7b7TyBzJPpZV-48R9ysK25HHp66X4qY,6897
|
|
78
|
+
mistralai_gcp/models/assistantmessage.py,sha256=DQEkGoA288mFwGN29q1E3r5uT_vUfkeTRjliT4aHWdw,2653
|
|
75
79
|
mistralai_gcp/models/chatcompletionchoice.py,sha256=1t3Sb_IICDH7gyyEMX-WuxHnSVV-PZTLfpUjkUVp3do,931
|
|
76
|
-
mistralai_gcp/models/chatcompletionrequest.py,sha256=
|
|
80
|
+
mistralai_gcp/models/chatcompletionrequest.py,sha256=nBk41aPENmT2mwmRpkVpeZMCAvCCSUGOAmPag7sMq3M,9809
|
|
77
81
|
mistralai_gcp/models/chatcompletionresponse.py,sha256=Ctvqs2ZjvWTycozqXn-fvucgqOn0dm4cOjUZ2BjD4BM,796
|
|
78
|
-
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=
|
|
82
|
+
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=KTikDhadXgyYc0go-5ZN1CyzFOxbZWr7syTaiqnbZBs,8945
|
|
79
83
|
mistralai_gcp/models/completionchunk.py,sha256=0DBDcrqVWrUskHA3hHYtuWk2E4JcJy_zc_LiGyLHBlA,875
|
|
80
84
|
mistralai_gcp/models/completionevent.py,sha256=cP7Q5dN4Z46FQTlyCYeIwvqt7pgN-22jNPD2bi7Eals,403
|
|
81
85
|
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=MdZaPMSqFbIbenEAdPyYMFemsFSZdPglEEt5ssZ3x7E,1830
|
|
82
|
-
mistralai_gcp/models/contentchunk.py,sha256=
|
|
86
|
+
mistralai_gcp/models/contentchunk.py,sha256=YnkuzJSAJGvNsmRLQWscl43INmRVDAbidtLMOwYipM4,879
|
|
83
87
|
mistralai_gcp/models/deltamessage.py,sha256=6AcVFRWaW4mLFAyd7yOIJfKVroFe0htdclMlbv_R_iM,1968
|
|
84
|
-
mistralai_gcp/models/fimcompletionrequest.py,sha256=
|
|
88
|
+
mistralai_gcp/models/fimcompletionrequest.py,sha256=fmOlJENpPYggcJPZEa6u1pezZMUG9XufDn98RptNIPE,6594
|
|
85
89
|
mistralai_gcp/models/fimcompletionresponse.py,sha256=zUG83S6DchgEYsSG1dkOSuoOFHvlAR62gCoN9UzF06A,794
|
|
86
|
-
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=
|
|
87
|
-
mistralai_gcp/models/function.py,sha256=
|
|
90
|
+
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=VjYBNv9aa2hRHZd7ogHtxFkpqHs4EhymHdrmn1lrRd8,5973
|
|
91
|
+
mistralai_gcp/models/function.py,sha256=FKnuRp-z4lQxq43iDzFaGtledj6zuXf8bHk5erTs62Q,538
|
|
88
92
|
mistralai_gcp/models/functioncall.py,sha256=iIeo1sJUi1DJmASNUuqMq6iYwGLgM1fxC-mWgEiluQ4,560
|
|
89
93
|
mistralai_gcp/models/functionname.py,sha256=Rp4TPQA1IvhnBZx-GwBF1fFyAd6w5Ys5A84waQ9fYKg,471
|
|
90
94
|
mistralai_gcp/models/httpvalidationerror.py,sha256=wGmVyH_T7APhs_mCpOkumZ3x15FQ95cL-GH5M2iLst8,612
|
|
95
|
+
mistralai_gcp/models/imageurl.py,sha256=McP_wQQvlV_0LirWXiDnOWoR5c6CNKPB79dmyS1KYqc,1394
|
|
96
|
+
mistralai_gcp/models/imageurlchunk.py,sha256=FWe88MyC-AFko2SGFmwkkihuOZduFzneCcgNailGUzI,998
|
|
97
|
+
mistralai_gcp/models/jsonschema.py,sha256=CcBseBHz7VGgMbvC-jGI4KZ5DuIi79cJLGrRlAs9OKs,1681
|
|
98
|
+
mistralai_gcp/models/prediction.py,sha256=B96QIAqMDDbF_uEzcL3XMisXg-AaMzHCSRUvaop2ktI,726
|
|
91
99
|
mistralai_gcp/models/referencechunk.py,sha256=NmajuCeC5caD70iUPL8P6DlTO44oivRnFaOhfLGBiE8,523
|
|
92
|
-
mistralai_gcp/models/responseformat.py,sha256=
|
|
93
|
-
mistralai_gcp/models/responseformats.py,sha256=
|
|
100
|
+
mistralai_gcp/models/responseformat.py,sha256=0aI9IEpq6p4iIz1MMt_uBQtDh0CoW3fVHAjfamTgZ7U,2254
|
|
101
|
+
mistralai_gcp/models/responseformats.py,sha256=O9lwS2M9m53DsRxTC4uRP12SvRhgaQoMjIYsDys5A7s,503
|
|
94
102
|
mistralai_gcp/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
95
103
|
mistralai_gcp/models/security.py,sha256=Z2MdVBo5vcSXMkFdCRHPJY-cNH9EqZYAK1Je5VGp4NU,623
|
|
96
104
|
mistralai_gcp/models/systemmessage.py,sha256=cdWnQ4v7p3io9aOLFfpqx-n8c4UbOo5ghGEKpEihwSI,790
|
|
97
105
|
mistralai_gcp/models/textchunk.py,sha256=i3uNJmFq4W9Eg4SOUbTNRCS9bitizmooYOHhgVYkxy0,425
|
|
98
106
|
mistralai_gcp/models/tool.py,sha256=u2mQpXPj38x4CfEIbx0TwTeQx5qmkjt1wUTWTZY2dak,689
|
|
99
|
-
mistralai_gcp/models/toolcall.py,sha256=
|
|
107
|
+
mistralai_gcp/models/toolcall.py,sha256=4YpO7dv3BZZRn5h_v5pfo8iUZ0gdscDdXttBg3Z-za0,832
|
|
100
108
|
mistralai_gcp/models/toolchoice.py,sha256=GQcyKrGg6CwJC2Wx-hBfD8giDZiFoEuRJN3ZXmnkU1Q,1029
|
|
101
109
|
mistralai_gcp/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
102
110
|
mistralai_gcp/models/toolmessage.py,sha256=z9BVNoFRqbK8N4kKKmzFNn8KgpxVrDW8sOR5Sc94XYI,2067
|
|
@@ -105,11 +113,11 @@ mistralai_gcp/models/usageinfo.py,sha256=Uo2LJB58JMzlrmnfMUQnDxiMCINMS63ejp-sbOq
|
|
|
105
113
|
mistralai_gcp/models/usermessage.py,sha256=3OXMcPO3Tyje6wQuOfMVp35OD0EnfYZ2tkElVxOfXs8,1797
|
|
106
114
|
mistralai_gcp/models/validationerror.py,sha256=EVhyAndNY5aayJSNGv-W1XL7Wu9bS92JJe1yu9UmBSY,530
|
|
107
115
|
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
108
|
-
mistralai_gcp/sdk.py,sha256=
|
|
109
|
-
mistralai_gcp/sdkconfiguration.py,sha256=
|
|
116
|
+
mistralai_gcp/sdk.py,sha256=9GrdOMU9TtAlOs_FIGwX1JxiHGyVJ8Ys6ruSxN3xG_0,8439
|
|
117
|
+
mistralai_gcp/sdkconfiguration.py,sha256=XxL4td0wE7IAaz1Db1FApxYA00GeNyFGOQ6v-59DbfQ,1881
|
|
110
118
|
mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
111
119
|
mistralai_gcp/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
112
|
-
mistralai_gcp/utils/__init__.py,sha256=
|
|
120
|
+
mistralai_gcp/utils/__init__.py,sha256=Q7llS9EohG8aiwH3X_YC3Ia1erz5qKWHVxfHE6L1_tQ,2403
|
|
113
121
|
mistralai_gcp/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
114
122
|
mistralai_gcp/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
115
123
|
mistralai_gcp/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
@@ -121,25 +129,25 @@ mistralai_gcp/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlor
|
|
|
121
129
|
mistralai_gcp/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
122
130
|
mistralai_gcp/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
123
131
|
mistralai_gcp/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
124
|
-
mistralai_gcp/utils/serializers.py,sha256=
|
|
132
|
+
mistralai_gcp/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
|
|
125
133
|
mistralai_gcp/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
126
|
-
mistralai_gcp/utils/values.py,sha256=
|
|
134
|
+
mistralai_gcp/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
127
135
|
mistralai/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
128
136
|
mistralai/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
129
137
|
mistralai/_hooks/custom_user_agent.py,sha256=cHfp43RcsNvHusq8WVxWrCS3w-pmzJ8uNuvaMZKdtJ8,661
|
|
130
138
|
mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9q76yLC1zog,921
|
|
131
139
|
mistralai/_hooks/registration.py,sha256=ML0W-XbE4WYdJ4eGks_XxF2aLCJTaIWjQATFGzFwvyU,861
|
|
132
140
|
mistralai/_hooks/sdkhooks.py,sha256=s-orhdvnV89TmI3QiPC2LWQtYeM9RrsG1CTll-fYZmQ,2559
|
|
133
|
-
mistralai/_hooks/types.py,sha256=
|
|
134
|
-
mistralai/_version.py,sha256=
|
|
135
|
-
mistralai/agents.py,sha256=
|
|
141
|
+
mistralai/_hooks/types.py,sha256=z3AUFDpRJHj2m3h5PklvUeEcGohY0cfph4jL6-nGIzs,2812
|
|
142
|
+
mistralai/_version.py,sha256=eFkb-GJRzmbd4tr1xl66OXRTR1qnI6sLGg_C5o8P-DY,460
|
|
143
|
+
mistralai/agents.py,sha256=o_apyuwiDzxv-U252T84ynAHCb5fn1q7MMXqrZ4oHLo,32652
|
|
136
144
|
mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
|
|
137
|
-
mistralai/basesdk.py,sha256=
|
|
145
|
+
mistralai/basesdk.py,sha256=GsU5bp8O5fBCl34tKxaYmeYSIIM971eAPeFBBC_BpFo,12191
|
|
138
146
|
mistralai/batch.py,sha256=YN4D0Duwrap9Ysmp_lRpADYp1Znay7THE_z8ERGvDds,501
|
|
139
|
-
mistralai/chat.py,sha256=
|
|
140
|
-
mistralai/classifiers.py,sha256=
|
|
147
|
+
mistralai/chat.py,sha256=1XVVVvDi726bq6HXCur6-dsmFfzQAEpEWbKT_3sTZ4A,40549
|
|
148
|
+
mistralai/classifiers.py,sha256=zVJreCGyw_F2-9p8uyYbxlQA5RFZ0pvE690Holw5SDk,17504
|
|
141
149
|
mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
|
|
142
|
-
mistralai/embeddings.py,sha256=
|
|
150
|
+
mistralai/embeddings.py,sha256=5tTfvz5g9QYqEYPp785bPm88HvsJC9Ha_NcEuOKfiww,8536
|
|
143
151
|
mistralai/extra/README.md,sha256=BTS9fy0ijkiUP7ZVoFQ7FVBxHtXIXqucYZyy_ucFjo4,1739
|
|
144
152
|
mistralai/extra/__init__.py,sha256=MHf0pUgLc9Sb7eTUE31JlE2FKMxfQupmJ_iR8UkgQ9w,360
|
|
145
153
|
mistralai/extra/struct_chat.py,sha256=ZkpdExC5rgC-nBZ44hQIVhQmK6lYMk36RBSFPZMFaIg,2157
|
|
@@ -149,15 +157,15 @@ mistralai/extra/tests/test_utils.py,sha256=VesGDR_IiE6u0iY7yOi1iERd7esdJgi2aL4xZ
|
|
|
149
157
|
mistralai/extra/utils/__init__.py,sha256=SExo5t_hx0ybiQhVJIG3r3hOA-Pfny3lIO_WsqNXlN8,116
|
|
150
158
|
mistralai/extra/utils/_pydantic_helper.py,sha256=kU_HbsSl1qGXnrrHnBcxun2MtHowu8eBp3jYMyFsPWw,859
|
|
151
159
|
mistralai/extra/utils/response_format.py,sha256=uDNpvOHhk2se3JTXweWYMbnkyOcOqhMe2yxZ2lYNe1k,913
|
|
152
|
-
mistralai/files.py,sha256=
|
|
153
|
-
mistralai/fim.py,sha256=
|
|
160
|
+
mistralai/files.py,sha256=uejTIBoumK7wMp51e9F2TZsiRDXX9NRnBGgMuaM21eg,45763
|
|
161
|
+
mistralai/fim.py,sha256=UMx-bFYbaSyANZug8VrCabHsqePdiHoYQO1YMKB2MvY,27935
|
|
154
162
|
mistralai/fine_tuning.py,sha256=UENQqfE054VEsAYxdruV-TBLFIFfO-joXNznH08GUvE,477
|
|
155
|
-
mistralai/httpclient.py,sha256=
|
|
156
|
-
mistralai/jobs.py,sha256=
|
|
157
|
-
mistralai/mistral_jobs.py,sha256=
|
|
163
|
+
mistralai/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
164
|
+
mistralai/jobs.py,sha256=WmyPoGpvCV0QSbxM6PGE1qs_b2t44wn6yoM7eL1GJD8,44651
|
|
165
|
+
mistralai/mistral_jobs.py,sha256=NdlPFopM1YzsLqHciZilF2D5Lsezqk4TviYR_mpNZUA,31102
|
|
158
166
|
mistralai/models/__init__.py,sha256=vkNm0A_E435ipGQcXBZ2K_WhEi7nEVjVQPR3SdLvJ28,22838
|
|
159
|
-
mistralai/models/agentscompletionrequest.py,sha256=
|
|
160
|
-
mistralai/models/agentscompletionstreamrequest.py,sha256=
|
|
167
|
+
mistralai/models/agentscompletionrequest.py,sha256=gyGoh1KsCGbOpfmaqk9d_hf1CYhWIriH4vaeQoEDfzU,7920
|
|
168
|
+
mistralai/models/agentscompletionstreamrequest.py,sha256=ZI4iFtl6qDJZ5QTIZ7vDIyFQ9n9rqVqN6tJQAdjpQjA,7365
|
|
161
169
|
mistralai/models/apiendpoint.py,sha256=Hvar5leWsJR_FYb0UzRlSw3vRdBZhk_6BR5r2pIb214,400
|
|
162
170
|
mistralai/models/archiveftmodelout.py,sha256=dQx1J91UA06pjk2r7okhKMyBBePmHal7SPpn6Y_wEsY,820
|
|
163
171
|
mistralai/models/assistantmessage.py,sha256=pmOhSINRB8sJ11lNtfKEL0k6-JnTEJ7cjlWW9D0pIMM,2624
|
|
@@ -168,9 +176,9 @@ mistralai/models/batchjobout.py,sha256=AXFSgDFGY_1LFVHtVdp66y08DUZCxsZtZ_NzTAJYD
|
|
|
168
176
|
mistralai/models/batchjobsout.py,sha256=Tq6bcb4_-fcW8C9AOnfJN8_sTy1NQhDn82qFOKdFPcg,868
|
|
169
177
|
mistralai/models/batchjobstatus.py,sha256=WlrIl5vWQGfLmgQA91_9CnCMKhWN6Lli458fT-4Asj4,294
|
|
170
178
|
mistralai/models/chatcompletionchoice.py,sha256=6iIFLZj2KYx0HFfzS3-E3sNXG6mPEAlDyXxIA5iZI_U,849
|
|
171
|
-
mistralai/models/chatcompletionrequest.py,sha256=
|
|
179
|
+
mistralai/models/chatcompletionrequest.py,sha256=6Innwpi7UnKmyauATOJForAVvW0tkSnbjsiQOOp5OKg,9777
|
|
172
180
|
mistralai/models/chatcompletionresponse.py,sha256=sLE-_Bx9W5rH2-HE2fBWPVbJbmBWx_jSY2mJ3KBEn6w,792
|
|
173
|
-
mistralai/models/chatcompletionstreamrequest.py,sha256=
|
|
181
|
+
mistralai/models/chatcompletionstreamrequest.py,sha256=0NFa_nMMRmHU66Hsgu1Zm4fggT0AzvW_imrkyZ4sUxc,9465
|
|
174
182
|
mistralai/models/chatmoderationrequest.py,sha256=LX-dhlYxecEzChSTt4jo4DA8lC4DEp5brgaiksTGF-o,2367
|
|
175
183
|
mistralai/models/checkpointout.py,sha256=A2kXS8-VT_1lbg3brifVjZD6tXdsET8vLqBm2a-yXgA,1109
|
|
176
184
|
mistralai/models/classificationobject.py,sha256=JqaKo3AQD4t5X12ZnHjJ6K3Y6LXUn94uGdLJSoGr8vY,665
|
|
@@ -205,7 +213,7 @@ mistralai/models/fimcompletionstreamrequest.py,sha256=fxuR8FDOWMwIqlYU9ttAfGeRdV
|
|
|
205
213
|
mistralai/models/ftmodelcapabilitiesout.py,sha256=H1kKEChUPgYT31ZQUz0tn9NRa7Z3hRZlh-sFfDYvBos,648
|
|
206
214
|
mistralai/models/ftmodelcard.py,sha256=G3dioHDMOhbI5HIw5gCaxZDb1sCthBzkXIAYMNHwya8,3300
|
|
207
215
|
mistralai/models/ftmodelout.py,sha256=dw-y8KKT_7rzW6tu10gfc1YKB8-Kpw4e4zy23z_U1d4,2530
|
|
208
|
-
mistralai/models/function.py,sha256=
|
|
216
|
+
mistralai/models/function.py,sha256=QaQriwBCCIS65IHO5Ge2OnMW6L1dS-o8JS8zlGYKSRU,534
|
|
209
217
|
mistralai/models/functioncall.py,sha256=VvvBe4bVq1Irqo5t4_n1iq60UF7hLf8tE_GjkbyM8iE,556
|
|
210
218
|
mistralai/models/functionname.py,sha256=jgd0moI9eORQtEAQI4ROiMSKpWSbCLmK6IhDn7uppKY,467
|
|
211
219
|
mistralai/models/githubrepositoryin.py,sha256=kHU3QnOEJsdsyAt-74jrY2ztEao3aXcNdtj7aOgASRg,1956
|
|
@@ -228,7 +236,7 @@ mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py,sha256=h
|
|
|
228
236
|
mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py,sha256=_pkyhD7OzG-59fgcajI9NmSLTLDktkCxXo_IuvWeyfs,636
|
|
229
237
|
mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py,sha256=s-EYS-Hw0NExYeIyN-3JlHbKmnTmtyB8ljVSfOylqYk,907
|
|
230
238
|
mistralai/models/jobsout.py,sha256=uCKt0aw7yXzI4oLDGeAAEhsRjdRg3g7lPopg0__czTA,818
|
|
231
|
-
mistralai/models/jsonschema.py,sha256=
|
|
239
|
+
mistralai/models/jsonschema.py,sha256=Itbk3BS9M9nnEPwShGyyOCVmqfbP6y44XsIUn6d7cDY,1652
|
|
232
240
|
mistralai/models/legacyjobmetadataout.py,sha256=08zAGNTSrICsK8u2SFFUXiNWF7MCQvezmFQeMQzxsys,4762
|
|
233
241
|
mistralai/models/listfilesout.py,sha256=tW2fNabLKcftc5kytkjwVaChlOzWRL4FKtNzDak9MNs,468
|
|
234
242
|
mistralai/models/metricout.py,sha256=dXQMMU4Nk6-Zr06Jx1TWilFi6cOwiVLjSanCFn0cPxo,2034
|
|
@@ -269,14 +277,14 @@ mistralai/models/usermessage.py,sha256=kjS5HudMsaRNfeUhFFBCyY8l-umlHvGk8wvTIq6-q
|
|
|
269
277
|
mistralai/models/validationerror.py,sha256=DouDBJmBhbW4KPsF5rZEyBdnB_adC-l32kuHC0bvO2I,526
|
|
270
278
|
mistralai/models/wandbintegration.py,sha256=BkLD3r08ToZkMAhPXdnC7bfOGr3banKqt1wVKMGehUQ,2406
|
|
271
279
|
mistralai/models/wandbintegrationout.py,sha256=C0HpS8jJGnACs7eWnuIq0qJEroIUAbjkvzfSSkSKS7Q,2274
|
|
272
|
-
mistralai/models_.py,sha256=
|
|
273
|
-
mistralai/ocr.py,sha256=
|
|
280
|
+
mistralai/models_.py,sha256=lfFFHRx2Gt8d6HODFYfSgHO_roXbIvLX5aUj2jtKYBs,46140
|
|
281
|
+
mistralai/ocr.py,sha256=R4afXZ1Pk1f6k7Acady1HwRdW-kZXzs7d_Isa7oxJpo,10051
|
|
274
282
|
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
275
|
-
mistralai/sdk.py,sha256=
|
|
276
|
-
mistralai/sdkconfiguration.py,sha256=
|
|
283
|
+
mistralai/sdk.py,sha256=q18oi4qj0PU6fsB_5BaWy-18bGzLxOgMlkSvEgCW4MY,6453
|
|
284
|
+
mistralai/sdkconfiguration.py,sha256=88GOgda6cRq40OSFI5FIarLvGNrMaHTzinPI_GyqTvk,1873
|
|
277
285
|
mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
278
286
|
mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
279
|
-
mistralai/utils/__init__.py,sha256=
|
|
287
|
+
mistralai/utils/__init__.py,sha256=A7_RAc6uLoQYKGunLRFg8cTYYvM4WgoM7Da50PYZOoU,2456
|
|
280
288
|
mistralai/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
281
289
|
mistralai/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
282
290
|
mistralai/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
@@ -288,11 +296,11 @@ mistralai/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEt
|
|
|
288
296
|
mistralai/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
289
297
|
mistralai/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
290
298
|
mistralai/utils/security.py,sha256=vWlpkikOnGN_HRRhJ7Pb8ywVAjiM3d3ey3oTWtM6jTU,6008
|
|
291
|
-
mistralai/utils/serializers.py,sha256=
|
|
299
|
+
mistralai/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
|
|
292
300
|
mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
293
|
-
mistralai/utils/values.py,sha256=
|
|
301
|
+
mistralai/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
294
302
|
mistralai/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
|
|
295
|
-
mistralai-1.
|
|
296
|
-
mistralai-1.
|
|
297
|
-
mistralai-1.
|
|
298
|
-
mistralai-1.
|
|
303
|
+
mistralai-1.6.0.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
|
|
304
|
+
mistralai-1.6.0.dist-info/METADATA,sha256=xKI7FL5iu6kbvVeVKe9lUfsd_itWzOp-x511W3CO0W0,30057
|
|
305
|
+
mistralai-1.6.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
306
|
+
mistralai-1.6.0.dist-info/RECORD,,
|
mistralai_azure/__init__.py
CHANGED
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
|
-
from ._version import
|
|
3
|
+
from ._version import (
|
|
4
|
+
__title__,
|
|
5
|
+
__version__,
|
|
6
|
+
__openapi_doc_version__,
|
|
7
|
+
__gen_version__,
|
|
8
|
+
__user_agent__,
|
|
9
|
+
)
|
|
4
10
|
from .sdk import *
|
|
5
11
|
from .sdkconfiguration import *
|
|
6
12
|
from .models import *
|
|
7
13
|
|
|
8
14
|
|
|
9
15
|
VERSION: str = __version__
|
|
16
|
+
OPENAPI_DOC_VERSION = __openapi_doc_version__
|
|
17
|
+
SPEAKEASY_GENERATOR_VERSION = __gen_version__
|
|
18
|
+
USER_AGENT = __user_agent__
|
mistralai_azure/_hooks/types.py
CHANGED
|
@@ -7,16 +7,19 @@ from typing import Any, Callable, List, Optional, Tuple, Union
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class HookContext:
|
|
10
|
+
base_url: str
|
|
10
11
|
operation_id: str
|
|
11
12
|
oauth2_scopes: Optional[List[str]] = None
|
|
12
13
|
security_source: Optional[Union[Any, Callable[[], Any]]] = None
|
|
13
14
|
|
|
14
15
|
def __init__(
|
|
15
16
|
self,
|
|
17
|
+
base_url: str,
|
|
16
18
|
operation_id: str,
|
|
17
19
|
oauth2_scopes: Optional[List[str]],
|
|
18
20
|
security_source: Optional[Union[Any, Callable[[], Any]]],
|
|
19
21
|
):
|
|
22
|
+
self.base_url = base_url
|
|
20
23
|
self.operation_id = operation_id
|
|
21
24
|
self.oauth2_scopes = oauth2_scopes
|
|
22
25
|
self.security_source = security_source
|
|
@@ -25,21 +28,30 @@ class HookContext:
|
|
|
25
28
|
class BeforeRequestContext(HookContext):
|
|
26
29
|
def __init__(self, hook_ctx: HookContext):
|
|
27
30
|
super().__init__(
|
|
28
|
-
hook_ctx.
|
|
31
|
+
hook_ctx.base_url,
|
|
32
|
+
hook_ctx.operation_id,
|
|
33
|
+
hook_ctx.oauth2_scopes,
|
|
34
|
+
hook_ctx.security_source,
|
|
29
35
|
)
|
|
30
36
|
|
|
31
37
|
|
|
32
38
|
class AfterSuccessContext(HookContext):
|
|
33
39
|
def __init__(self, hook_ctx: HookContext):
|
|
34
40
|
super().__init__(
|
|
35
|
-
hook_ctx.
|
|
41
|
+
hook_ctx.base_url,
|
|
42
|
+
hook_ctx.operation_id,
|
|
43
|
+
hook_ctx.oauth2_scopes,
|
|
44
|
+
hook_ctx.security_source,
|
|
36
45
|
)
|
|
37
46
|
|
|
38
47
|
|
|
39
48
|
class AfterErrorContext(HookContext):
|
|
40
49
|
def __init__(self, hook_ctx: HookContext):
|
|
41
50
|
super().__init__(
|
|
42
|
-
hook_ctx.
|
|
51
|
+
hook_ctx.base_url,
|
|
52
|
+
hook_ctx.operation_id,
|
|
53
|
+
hook_ctx.oauth2_scopes,
|
|
54
|
+
hook_ctx.security_source,
|
|
43
55
|
)
|
|
44
56
|
|
|
45
57
|
|
mistralai_azure/_version.py
CHANGED
|
@@ -3,7 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "mistralai_azure"
|
|
6
|
-
__version__: str = "1.
|
|
6
|
+
__version__: str = "1.6.0"
|
|
7
|
+
__openapi_doc_version__: str = "0.0.2"
|
|
8
|
+
__gen_version__: str = "2.548.6"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.6.0 2.548.6 0.0.2 mistralai_azure"
|
|
7
10
|
|
|
8
11
|
try:
|
|
9
12
|
if __package__ is not None:
|