mistralai 1.5.1__py3-none-any.whl → 1.5.2rc1__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 +32 -12
- mistralai/basesdk.py +8 -0
- mistralai/chat.py +32 -12
- mistralai/classifiers.py +32 -12
- mistralai/embeddings.py +20 -10
- mistralai/extra/utils/response_format.py +3 -3
- 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/__init__.py +6 -1
- mistralai/models/documenturlchunk.py +8 -14
- mistralai/models/embeddingrequest.py +7 -7
- mistralai/models/filepurpose.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.1.dist-info → mistralai-1.5.2rc1.dist-info}/METADATA +66 -19
- {mistralai-1.5.1.dist-info → mistralai-1.5.2rc1.dist-info}/RECORD +73 -69
- mistralai_azure/__init__.py +10 -1
- mistralai_azure/_hooks/types.py +15 -3
- mistralai_azure/_version.py +3 -0
- mistralai_azure/basesdk.py +8 -0
- mistralai_azure/chat.py +88 -20
- mistralai_azure/httpclient.py +52 -0
- mistralai_azure/models/__init__.py +7 -0
- mistralai_azure/models/assistantmessage.py +2 -0
- mistralai_azure/models/chatcompletionrequest.py +8 -10
- mistralai_azure/models/chatcompletionstreamrequest.py +8 -10
- mistralai_azure/models/function.py +3 -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 +3 -0
- mistralai_gcp/basesdk.py +8 -0
- mistralai_gcp/chat.py +89 -21
- mistralai_gcp/fim.py +61 -21
- mistralai_gcp/httpclient.py +52 -0
- mistralai_gcp/models/__init__.py +7 -0
- mistralai_gcp/models/assistantmessage.py +2 -0
- mistralai_gcp/models/chatcompletionrequest.py +8 -10
- mistralai_gcp/models/chatcompletionstreamrequest.py +8 -10
- mistralai_gcp/models/fimcompletionrequest.py +2 -3
- mistralai_gcp/models/fimcompletionstreamrequest.py +2 -3
- mistralai_gcp/models/function.py +3 -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.1.dist-info → mistralai-1.5.2rc1.dist-info}/LICENSE +0 -0
- {mistralai-1.5.1.dist-info → mistralai-1.5.2rc1.dist-info}/WHEEL +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: mistralai
|
|
3
|
-
Version: 1.5.
|
|
3
|
+
Version: 1.5.2rc1
|
|
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,14 +298,15 @@ 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:
|
|
269
305
|
|
|
270
|
-
res = mistral.embeddings.create(inputs=[
|
|
306
|
+
res = mistral.embeddings.create(model="mistral-embed", inputs=[
|
|
271
307
|
"Embed this sentence.",
|
|
272
308
|
"As well as this one.",
|
|
273
|
-
]
|
|
309
|
+
])
|
|
274
310
|
|
|
275
311
|
# Handle response
|
|
276
312
|
print(res)
|
|
@@ -286,14 +322,15 @@ 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:
|
|
292
329
|
|
|
293
|
-
res = await mistral.embeddings.create_async(inputs=[
|
|
330
|
+
res = await mistral.embeddings.create_async(model="mistral-embed", inputs=[
|
|
294
331
|
"Embed this sentence.",
|
|
295
332
|
"As well as this one.",
|
|
296
|
-
]
|
|
333
|
+
])
|
|
297
334
|
|
|
298
335
|
# Handle response
|
|
299
336
|
print(res)
|
|
@@ -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,39 @@
|
|
|
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=P2WDmELaLZII0Uu-OSilgpS_iIQFg9dxWfLIf_dmwnk,472
|
|
8
|
+
mistralai_azure/basesdk.py,sha256=95JOT11O1oU74EcPvwu3lj9o32a7IPInYIveTVjV8pE,12136
|
|
9
|
+
mistralai_azure/chat.py,sha256=t-GRgGQ_C2T8AZQTDv061ryN7TktFurxKp3rK1UKRhU,35346
|
|
10
|
+
mistralai_azure/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
11
|
+
mistralai_azure/models/__init__.py,sha256=RU9M2_D6QM07I6crqCj6S-bEMLnNmZR9nsHf5_cq1Nw,5677
|
|
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=P5KjJN24SxcS2FK9dC4Ga1k-tvqE2nF023FCdVm4_UY,9637
|
|
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=LvLaIxwU1iWqjQoy9EMddy2rRpxIZS6keNox-MLFUi4,8773
|
|
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
20
|
mistralai_azure/models/contentchunk.py,sha256=k2eowNYDzv-DH6gyNqmCEtNPCNAgmWDswX15sFb7SQk,726
|
|
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=WVsAwk6IoW6mNkeOw_BhzoikyiANksLSwdLIFAJyXQw,539
|
|
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/jsonschema.py,sha256=SNhpokxyxHmcVAP8q0P-4XVqhz9QyhphT7CBx9X5snM,1684
|
|
27
|
+
mistralai_azure/models/prediction.py,sha256=GERxBI8NoS9Fc14FD4ityVfJfXNts1dxjoK3XIVHHc0,730
|
|
26
28
|
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=
|
|
29
|
+
mistralai_azure/models/responseformat.py,sha256=n0aKQE1girltBvrih5w4bbfp_C7_ban4KTrGpS4bAFM,2256
|
|
30
|
+
mistralai_azure/models/responseformats.py,sha256=O9lwS2M9m53DsRxTC4uRP12SvRhgaQoMjIYsDys5A7s,503
|
|
29
31
|
mistralai_azure/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
30
32
|
mistralai_azure/models/security.py,sha256=lPLcQ1OV2SA6ZJP5_lOFWUDVuPc-L90C3N127KMWdPo,627
|
|
31
33
|
mistralai_azure/models/systemmessage.py,sha256=8vcbWj6yaGEuDxsCqz4Hdarxt9mJKotFsoxCtoa93vA,792
|
|
32
34
|
mistralai_azure/models/textchunk.py,sha256=D12hZryrlifzFWP5D1W--7sor61Mstdp8fTOyrhK9_8,427
|
|
33
35
|
mistralai_azure/models/tool.py,sha256=Li0qpB3KgGN0mtT8lKG1N_MfOOwGvzok0ZRK_J3Us80,693
|
|
34
|
-
mistralai_azure/models/toolcall.py,sha256=
|
|
36
|
+
mistralai_azure/models/toolcall.py,sha256=MYHTegL2wzO23cG9AyPS9YhomXWh8ekULwzIeGt31Pw,836
|
|
35
37
|
mistralai_azure/models/toolchoice.py,sha256=etDg86Frx-VoiccMlGP_Va3Vipy4UGMa9LMUGQFY6UY,1033
|
|
36
38
|
mistralai_azure/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
37
39
|
mistralai_azure/models/toolmessage.py,sha256=Vnq3QXhCYqECfGOjbkK8ZA2hJwbgxhxgZU_lpREyVhk,2069
|
|
@@ -40,11 +42,11 @@ mistralai_azure/models/usageinfo.py,sha256=jG6lRE1t4wDqD4Cote82IFLQtWA_eJmTwP66T
|
|
|
40
42
|
mistralai_azure/models/usermessage.py,sha256=U8b5KMT3b0j8AOLFjCMWjjCM3zBl54Vc-Rzc5qJz1sc,1799
|
|
41
43
|
mistralai_azure/models/validationerror.py,sha256=vghbUqW9H5AsbYmW5i0C56eHPFC054x8SJA-mJZPKak,532
|
|
42
44
|
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
43
|
-
mistralai_azure/sdk.py,sha256=
|
|
44
|
-
mistralai_azure/sdkconfiguration.py,sha256=
|
|
45
|
+
mistralai_azure/sdk.py,sha256=CVTTW027gX8y4rhprAbmkB5W7r3afru01yRSPwxpMk4,5437
|
|
46
|
+
mistralai_azure/sdkconfiguration.py,sha256=t2a28Th0mVQ2C1R2ljPi8OJxpQ9xmb3hVgWzHXelq_o,1885
|
|
45
47
|
mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
46
48
|
mistralai_azure/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
47
|
-
mistralai_azure/utils/__init__.py,sha256=
|
|
49
|
+
mistralai_azure/utils/__init__.py,sha256=Q7llS9EohG8aiwH3X_YC3Ia1erz5qKWHVxfHE6L1_tQ,2403
|
|
48
50
|
mistralai_azure/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
49
51
|
mistralai_azure/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
50
52
|
mistralai_azure/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
@@ -56,47 +58,49 @@ mistralai_azure/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRl
|
|
|
56
58
|
mistralai_azure/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
57
59
|
mistralai_azure/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
58
60
|
mistralai_azure/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
59
|
-
mistralai_azure/utils/serializers.py,sha256=
|
|
61
|
+
mistralai_azure/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
|
|
60
62
|
mistralai_azure/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
61
|
-
mistralai_azure/utils/values.py,sha256=
|
|
62
|
-
mistralai_gcp/__init__.py,sha256=
|
|
63
|
+
mistralai_azure/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
64
|
+
mistralai_gcp/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
63
65
|
mistralai_gcp/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
64
66
|
mistralai_gcp/_hooks/custom_user_agent.py,sha256=0m-1JzJxOT42rvRTEuCiFLqbOMriOlsraSrAGaXAbyo,656
|
|
65
67
|
mistralai_gcp/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
66
68
|
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=
|
|
69
|
+
mistralai_gcp/_hooks/types.py,sha256=NzfRMdihvcNazbqJkcbjWcGttNkUi9upj4QDk9IN_Wg,2816
|
|
70
|
+
mistralai_gcp/_version.py,sha256=fYiwupVZITQGi76TEaflpZoO_KWxy5mU9E8qM8Jc7QU,468
|
|
71
|
+
mistralai_gcp/basesdk.py,sha256=1qQQeCnhkPR4JYRQ3GGpW8TwbTSCWT4RjfXiJTGWvrU,12130
|
|
72
|
+
mistralai_gcp/chat.py,sha256=5dOKAfdMI-HQiZSrDvKZ0K-REwUmzffVz1DMHoEm3nI,35248
|
|
73
|
+
mistralai_gcp/fim.py,sha256=zOcVDvQzFzPNy6xxV_yfW2wJNHQhrxhPb4utNrIVJXk,27718
|
|
74
|
+
mistralai_gcp/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
75
|
+
mistralai_gcp/models/__init__.py,sha256=YnazQ41nQ_dv8rMjV09PYgLPpkqgo1FG6hZNlId-h20,6499
|
|
76
|
+
mistralai_gcp/models/assistantmessage.py,sha256=DQEkGoA288mFwGN29q1E3r5uT_vUfkeTRjliT4aHWdw,2653
|
|
75
77
|
mistralai_gcp/models/chatcompletionchoice.py,sha256=1t3Sb_IICDH7gyyEMX-WuxHnSVV-PZTLfpUjkUVp3do,931
|
|
76
|
-
mistralai_gcp/models/chatcompletionrequest.py,sha256=
|
|
78
|
+
mistralai_gcp/models/chatcompletionrequest.py,sha256=hGu7qZKJDynL0HGAVw_-6sNqpMCj_QEgEKutc3fb2Zs,9683
|
|
77
79
|
mistralai_gcp/models/chatcompletionresponse.py,sha256=Ctvqs2ZjvWTycozqXn-fvucgqOn0dm4cOjUZ2BjD4BM,796
|
|
78
|
-
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=
|
|
80
|
+
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=EdcQFq2UH-gU7u9pyByYW2rr4FufO7y5yq1QEzPNaRs,8819
|
|
79
81
|
mistralai_gcp/models/completionchunk.py,sha256=0DBDcrqVWrUskHA3hHYtuWk2E4JcJy_zc_LiGyLHBlA,875
|
|
80
82
|
mistralai_gcp/models/completionevent.py,sha256=cP7Q5dN4Z46FQTlyCYeIwvqt7pgN-22jNPD2bi7Eals,403
|
|
81
83
|
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=MdZaPMSqFbIbenEAdPyYMFemsFSZdPglEEt5ssZ3x7E,1830
|
|
82
84
|
mistralai_gcp/models/contentchunk.py,sha256=zzr7oENSG3rVjgKO_ebL-vmaX9Iy0ZiDygxyQtiWcMI,724
|
|
83
85
|
mistralai_gcp/models/deltamessage.py,sha256=6AcVFRWaW4mLFAyd7yOIJfKVroFe0htdclMlbv_R_iM,1968
|
|
84
|
-
mistralai_gcp/models/fimcompletionrequest.py,sha256=
|
|
86
|
+
mistralai_gcp/models/fimcompletionrequest.py,sha256=fmOlJENpPYggcJPZEa6u1pezZMUG9XufDn98RptNIPE,6594
|
|
85
87
|
mistralai_gcp/models/fimcompletionresponse.py,sha256=zUG83S6DchgEYsSG1dkOSuoOFHvlAR62gCoN9UzF06A,794
|
|
86
|
-
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=
|
|
87
|
-
mistralai_gcp/models/function.py,sha256=
|
|
88
|
+
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=VjYBNv9aa2hRHZd7ogHtxFkpqHs4EhymHdrmn1lrRd8,5973
|
|
89
|
+
mistralai_gcp/models/function.py,sha256=brOR3LbTiCSrhLODFSeDP0mx1LCX5ICstssm8XSFTW4,537
|
|
88
90
|
mistralai_gcp/models/functioncall.py,sha256=iIeo1sJUi1DJmASNUuqMq6iYwGLgM1fxC-mWgEiluQ4,560
|
|
89
91
|
mistralai_gcp/models/functionname.py,sha256=Rp4TPQA1IvhnBZx-GwBF1fFyAd6w5Ys5A84waQ9fYKg,471
|
|
90
92
|
mistralai_gcp/models/httpvalidationerror.py,sha256=wGmVyH_T7APhs_mCpOkumZ3x15FQ95cL-GH5M2iLst8,612
|
|
93
|
+
mistralai_gcp/models/jsonschema.py,sha256=Nn8Tfq-id2ShQ_JrKqOvX2cIrXLT3QzL93oeLkbQRGo,1682
|
|
94
|
+
mistralai_gcp/models/prediction.py,sha256=B96QIAqMDDbF_uEzcL3XMisXg-AaMzHCSRUvaop2ktI,726
|
|
91
95
|
mistralai_gcp/models/referencechunk.py,sha256=NmajuCeC5caD70iUPL8P6DlTO44oivRnFaOhfLGBiE8,523
|
|
92
|
-
mistralai_gcp/models/responseformat.py,sha256=
|
|
93
|
-
mistralai_gcp/models/responseformats.py,sha256=
|
|
96
|
+
mistralai_gcp/models/responseformat.py,sha256=0aI9IEpq6p4iIz1MMt_uBQtDh0CoW3fVHAjfamTgZ7U,2254
|
|
97
|
+
mistralai_gcp/models/responseformats.py,sha256=O9lwS2M9m53DsRxTC4uRP12SvRhgaQoMjIYsDys5A7s,503
|
|
94
98
|
mistralai_gcp/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
95
99
|
mistralai_gcp/models/security.py,sha256=Z2MdVBo5vcSXMkFdCRHPJY-cNH9EqZYAK1Je5VGp4NU,623
|
|
96
100
|
mistralai_gcp/models/systemmessage.py,sha256=cdWnQ4v7p3io9aOLFfpqx-n8c4UbOo5ghGEKpEihwSI,790
|
|
97
101
|
mistralai_gcp/models/textchunk.py,sha256=i3uNJmFq4W9Eg4SOUbTNRCS9bitizmooYOHhgVYkxy0,425
|
|
98
102
|
mistralai_gcp/models/tool.py,sha256=u2mQpXPj38x4CfEIbx0TwTeQx5qmkjt1wUTWTZY2dak,689
|
|
99
|
-
mistralai_gcp/models/toolcall.py,sha256=
|
|
103
|
+
mistralai_gcp/models/toolcall.py,sha256=4YpO7dv3BZZRn5h_v5pfo8iUZ0gdscDdXttBg3Z-za0,832
|
|
100
104
|
mistralai_gcp/models/toolchoice.py,sha256=GQcyKrGg6CwJC2Wx-hBfD8giDZiFoEuRJN3ZXmnkU1Q,1029
|
|
101
105
|
mistralai_gcp/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
102
106
|
mistralai_gcp/models/toolmessage.py,sha256=z9BVNoFRqbK8N4kKKmzFNn8KgpxVrDW8sOR5Sc94XYI,2067
|
|
@@ -105,11 +109,11 @@ mistralai_gcp/models/usageinfo.py,sha256=Uo2LJB58JMzlrmnfMUQnDxiMCINMS63ejp-sbOq
|
|
|
105
109
|
mistralai_gcp/models/usermessage.py,sha256=3OXMcPO3Tyje6wQuOfMVp35OD0EnfYZ2tkElVxOfXs8,1797
|
|
106
110
|
mistralai_gcp/models/validationerror.py,sha256=EVhyAndNY5aayJSNGv-W1XL7Wu9bS92JJe1yu9UmBSY,530
|
|
107
111
|
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
108
|
-
mistralai_gcp/sdk.py,sha256=
|
|
109
|
-
mistralai_gcp/sdkconfiguration.py,sha256=
|
|
112
|
+
mistralai_gcp/sdk.py,sha256=9GrdOMU9TtAlOs_FIGwX1JxiHGyVJ8Ys6ruSxN3xG_0,8439
|
|
113
|
+
mistralai_gcp/sdkconfiguration.py,sha256=XxL4td0wE7IAaz1Db1FApxYA00GeNyFGOQ6v-59DbfQ,1881
|
|
110
114
|
mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
111
115
|
mistralai_gcp/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
112
|
-
mistralai_gcp/utils/__init__.py,sha256=
|
|
116
|
+
mistralai_gcp/utils/__init__.py,sha256=Q7llS9EohG8aiwH3X_YC3Ia1erz5qKWHVxfHE6L1_tQ,2403
|
|
113
117
|
mistralai_gcp/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
114
118
|
mistralai_gcp/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
115
119
|
mistralai_gcp/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
@@ -121,25 +125,25 @@ mistralai_gcp/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlor
|
|
|
121
125
|
mistralai_gcp/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
122
126
|
mistralai_gcp/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
123
127
|
mistralai_gcp/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
124
|
-
mistralai_gcp/utils/serializers.py,sha256=
|
|
128
|
+
mistralai_gcp/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
|
|
125
129
|
mistralai_gcp/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
126
|
-
mistralai_gcp/utils/values.py,sha256=
|
|
130
|
+
mistralai_gcp/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
127
131
|
mistralai/__init__.py,sha256=Tz5Y5FzbIUT1AmaYiTwJI56XTmuldo9AalaAm4h_FdE,423
|
|
128
132
|
mistralai/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
129
133
|
mistralai/_hooks/custom_user_agent.py,sha256=cHfp43RcsNvHusq8WVxWrCS3w-pmzJ8uNuvaMZKdtJ8,661
|
|
130
134
|
mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9q76yLC1zog,921
|
|
131
135
|
mistralai/_hooks/registration.py,sha256=ML0W-XbE4WYdJ4eGks_XxF2aLCJTaIWjQATFGzFwvyU,861
|
|
132
136
|
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=
|
|
137
|
+
mistralai/_hooks/types.py,sha256=z3AUFDpRJHj2m3h5PklvUeEcGohY0cfph4jL6-nGIzs,2812
|
|
138
|
+
mistralai/_version.py,sha256=nv5Y7Tq8adQGd5L6dcS7AXqCbdzyNdsKbM_gwQXpmn4,470
|
|
139
|
+
mistralai/agents.py,sha256=WVNI2MHKojwLWH663ldNVB0KxAdfErfvqaS2j9Qf1hc,32088
|
|
136
140
|
mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
|
|
137
|
-
mistralai/basesdk.py,sha256=
|
|
141
|
+
mistralai/basesdk.py,sha256=GsU5bp8O5fBCl34tKxaYmeYSIIM971eAPeFBBC_BpFo,12191
|
|
138
142
|
mistralai/batch.py,sha256=YN4D0Duwrap9Ysmp_lRpADYp1Znay7THE_z8ERGvDds,501
|
|
139
|
-
mistralai/chat.py,sha256=
|
|
140
|
-
mistralai/classifiers.py,sha256=
|
|
143
|
+
mistralai/chat.py,sha256=wW_GDTwvmRYpowDPnKSbUpFohRLCwdS7pqZmNAtW3mY,39985
|
|
144
|
+
mistralai/classifiers.py,sha256=GG9mN9904sAjp4a9FETbIgK96SrOwREFe_Zrb_1zljY,17504
|
|
141
145
|
mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
|
|
142
|
-
mistralai/embeddings.py,sha256=
|
|
146
|
+
mistralai/embeddings.py,sha256=5tTfvz5g9QYqEYPp785bPm88HvsJC9Ha_NcEuOKfiww,8536
|
|
143
147
|
mistralai/extra/README.md,sha256=BTS9fy0ijkiUP7ZVoFQ7FVBxHtXIXqucYZyy_ucFjo4,1739
|
|
144
148
|
mistralai/extra/__init__.py,sha256=MHf0pUgLc9Sb7eTUE31JlE2FKMxfQupmJ_iR8UkgQ9w,360
|
|
145
149
|
mistralai/extra/struct_chat.py,sha256=ZkpdExC5rgC-nBZ44hQIVhQmK6lYMk36RBSFPZMFaIg,2157
|
|
@@ -148,14 +152,14 @@ mistralai/extra/tests/test_struct_chat.py,sha256=WT6GGfcbXCok8UkEny19u4q1g2QOgke
|
|
|
148
152
|
mistralai/extra/tests/test_utils.py,sha256=VesGDR_IiE6u0iY7yOi1iERd7esdJgi2aL4xZp0vKVI,5113
|
|
149
153
|
mistralai/extra/utils/__init__.py,sha256=SExo5t_hx0ybiQhVJIG3r3hOA-Pfny3lIO_WsqNXlN8,116
|
|
150
154
|
mistralai/extra/utils/_pydantic_helper.py,sha256=kU_HbsSl1qGXnrrHnBcxun2MtHowu8eBp3jYMyFsPWw,859
|
|
151
|
-
mistralai/extra/utils/response_format.py,sha256=
|
|
152
|
-
mistralai/files.py,sha256=
|
|
153
|
-
mistralai/fim.py,sha256=
|
|
155
|
+
mistralai/extra/utils/response_format.py,sha256=uDNpvOHhk2se3JTXweWYMbnkyOcOqhMe2yxZ2lYNe1k,913
|
|
156
|
+
mistralai/files.py,sha256=uejTIBoumK7wMp51e9F2TZsiRDXX9NRnBGgMuaM21eg,45763
|
|
157
|
+
mistralai/fim.py,sha256=UMx-bFYbaSyANZug8VrCabHsqePdiHoYQO1YMKB2MvY,27935
|
|
154
158
|
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=
|
|
158
|
-
mistralai/models/__init__.py,sha256=
|
|
159
|
+
mistralai/httpclient.py,sha256=lC-YQ7q4yiJGKElxBeb3aZnr-4aYxjgEpZ6roeXYlyg,4318
|
|
160
|
+
mistralai/jobs.py,sha256=WmyPoGpvCV0QSbxM6PGE1qs_b2t44wn6yoM7eL1GJD8,44651
|
|
161
|
+
mistralai/mistral_jobs.py,sha256=NdlPFopM1YzsLqHciZilF2D5Lsezqk4TviYR_mpNZUA,31102
|
|
162
|
+
mistralai/models/__init__.py,sha256=vkNm0A_E435ipGQcXBZ2K_WhEi7nEVjVQPR3SdLvJ28,22838
|
|
159
163
|
mistralai/models/agentscompletionrequest.py,sha256=2tV6_p33zLCfBD7EzlAVeSjG0E_pknbVZlbQFM3Lulc,7794
|
|
160
164
|
mistralai/models/agentscompletionstreamrequest.py,sha256=D1fla5nnnwNKXwHG1w4XVGnqaEvx6sOuhTXdP_e65sM,7239
|
|
161
165
|
mistralai/models/apiendpoint.py,sha256=Hvar5leWsJR_FYb0UzRlSw3vRdBZhk_6BR5r2pIb214,400
|
|
@@ -185,12 +189,12 @@ mistralai/models/deletefileout.py,sha256=s3a-H2RgFQ9HX0kYSmP6GwmwE1jghz7dBj-3G0N
|
|
|
185
189
|
mistralai/models/deletemodelout.py,sha256=W_crO0WtksoKUgq5s9Yh8zS8RxSuyKYQCBt1i8vB1sE,693
|
|
186
190
|
mistralai/models/deltamessage.py,sha256=7NtvEjdmBOl86rwOx7x2fcCCJSzIF8K6-eu-G9Wr9PI,1939
|
|
187
191
|
mistralai/models/detailedjobout.py,sha256=aw3xmCM6E2kE1cPI5MtLZOdbtaP7FLBeHZG7ACtlEKg,4862
|
|
188
|
-
mistralai/models/documenturlchunk.py,sha256=
|
|
189
|
-
mistralai/models/embeddingrequest.py,sha256
|
|
192
|
+
mistralai/models/documenturlchunk.py,sha256=j3JB_Cy1eIRY7fTJe8AvQrdrLEA6xsJcM1l9_a1Sh68,1704
|
|
193
|
+
mistralai/models/embeddingrequest.py,sha256=-EbPsiGUIur80rP5QJ8QaoN5SQGoVmxVUDmUUtFB0CY,762
|
|
190
194
|
mistralai/models/embeddingresponse.py,sha256=te6E_LYEzRjHJ9QREmsFp5PeNP2J_8ALVjyb1T20pNA,663
|
|
191
195
|
mistralai/models/embeddingresponsedata.py,sha256=fJ3mrZqyBBBE40a6iegOJX3DVDfgyMRq23ByeGSTLFk,534
|
|
192
196
|
mistralai/models/eventout.py,sha256=TouRJeISBLphMTPHfgSOpuoOmbGDVohPOrdgHyExMpw,1633
|
|
193
|
-
mistralai/models/filepurpose.py,sha256=
|
|
197
|
+
mistralai/models/filepurpose.py,sha256=lQk45E78j4bJyMi59jLH5IjU1rCUsqprF28P4ArGQoo,263
|
|
194
198
|
mistralai/models/files_api_routes_delete_fileop.py,sha256=HOx-hJxphSYF-JV3zOGe2eucWQUpfVqxG0IDaSa3dcE,500
|
|
195
199
|
mistralai/models/files_api_routes_download_fileop.py,sha256=y3sLFZ-j4eUuxCyIP0L-exy0ViqskDLkghkOccElBQQ,504
|
|
196
200
|
mistralai/models/files_api_routes_get_signed_urlop.py,sha256=e_XczBgInaylmHJ9m5wJQ78hfCp2PrrTrT8bxGGi8BI,879
|
|
@@ -269,14 +273,14 @@ mistralai/models/usermessage.py,sha256=kjS5HudMsaRNfeUhFFBCyY8l-umlHvGk8wvTIq6-q
|
|
|
269
273
|
mistralai/models/validationerror.py,sha256=DouDBJmBhbW4KPsF5rZEyBdnB_adC-l32kuHC0bvO2I,526
|
|
270
274
|
mistralai/models/wandbintegration.py,sha256=BkLD3r08ToZkMAhPXdnC7bfOGr3banKqt1wVKMGehUQ,2406
|
|
271
275
|
mistralai/models/wandbintegrationout.py,sha256=C0HpS8jJGnACs7eWnuIq0qJEroIUAbjkvzfSSkSKS7Q,2274
|
|
272
|
-
mistralai/models_.py,sha256=
|
|
273
|
-
mistralai/ocr.py,sha256=
|
|
276
|
+
mistralai/models_.py,sha256=lfFFHRx2Gt8d6HODFYfSgHO_roXbIvLX5aUj2jtKYBs,46140
|
|
277
|
+
mistralai/ocr.py,sha256=R4afXZ1Pk1f6k7Acady1HwRdW-kZXzs7d_Isa7oxJpo,10051
|
|
274
278
|
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
275
|
-
mistralai/sdk.py,sha256=
|
|
276
|
-
mistralai/sdkconfiguration.py,sha256=
|
|
279
|
+
mistralai/sdk.py,sha256=q18oi4qj0PU6fsB_5BaWy-18bGzLxOgMlkSvEgCW4MY,6453
|
|
280
|
+
mistralai/sdkconfiguration.py,sha256=88GOgda6cRq40OSFI5FIarLvGNrMaHTzinPI_GyqTvk,1873
|
|
277
281
|
mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
278
282
|
mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
279
|
-
mistralai/utils/__init__.py,sha256=
|
|
283
|
+
mistralai/utils/__init__.py,sha256=A7_RAc6uLoQYKGunLRFg8cTYYvM4WgoM7Da50PYZOoU,2456
|
|
280
284
|
mistralai/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
|
|
281
285
|
mistralai/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
282
286
|
mistralai/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
|
|
@@ -288,11 +292,11 @@ mistralai/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEt
|
|
|
288
292
|
mistralai/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
|
|
289
293
|
mistralai/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
290
294
|
mistralai/utils/security.py,sha256=vWlpkikOnGN_HRRhJ7Pb8ywVAjiM3d3ey3oTWtM6jTU,6008
|
|
291
|
-
mistralai/utils/serializers.py,sha256=
|
|
295
|
+
mistralai/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
|
|
292
296
|
mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
293
|
-
mistralai/utils/values.py,sha256=
|
|
297
|
+
mistralai/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
|
|
294
298
|
mistralai/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
|
|
295
|
-
mistralai-1.5.
|
|
296
|
-
mistralai-1.5.
|
|
297
|
-
mistralai-1.5.
|
|
298
|
-
mistralai-1.5.
|
|
299
|
+
mistralai-1.5.2rc1.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
|
|
300
|
+
mistralai-1.5.2rc1.dist-info/METADATA,sha256=KNSU-zUh9rzQmHSt3ifvlqhG2GuONgKI7u3sRitUvwM,30060
|
|
301
|
+
mistralai-1.5.2rc1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
|
302
|
+
mistralai-1.5.2rc1.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
|
@@ -4,6 +4,9 @@ import importlib.metadata
|
|
|
4
4
|
|
|
5
5
|
__title__: str = "mistralai_azure"
|
|
6
6
|
__version__: str = "1.2.6"
|
|
7
|
+
__openapi_doc_version__: str = "0.0.2"
|
|
8
|
+
__gen_version__: str = "2.548.6"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 1.2.6 2.548.6 0.0.2 mistralai_azure"
|
|
7
10
|
|
|
8
11
|
try:
|
|
9
12
|
if __package__ is not None:
|