mistralai 1.0.0rc2__py3-none-any.whl → 1.0.1__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/agents.py +2 -2
- mistralai/client.py +1 -1
- mistralai/jobs.py +20 -30
- mistralai/models/__init__.py +3 -3
- mistralai/models/agentscompletionrequest.py +14 -14
- mistralai/models/agentscompletionstreamrequest.py +8 -8
- mistralai/models/chatcompletionrequest.py +14 -14
- mistralai/models/chatcompletionstreamrequest.py +14 -14
- mistralai/models/delete_model_v1_models_model_id_deleteop.py +2 -0
- mistralai/models/deltamessage.py +3 -3
- mistralai/models/embeddingrequest.py +8 -8
- mistralai/models/fimcompletionrequest.py +8 -8
- mistralai/models/fimcompletionstreamrequest.py +8 -8
- mistralai/models/functioncall.py +9 -3
- mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py +2 -0
- mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py +1 -54
- mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py +2 -0
- mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +2 -0
- mistralai/models/retrieve_model_v1_models_model_id_getop.py +2 -0
- mistralai/models/systemmessage.py +6 -6
- mistralai/models/usermessage.py +6 -6
- mistralai/models/validationerror.py +6 -6
- mistralai/models_.py +10 -10
- mistralai/sdkconfiguration.py +3 -3
- {mistralai-1.0.0rc2.dist-info → mistralai-1.0.1.dist-info}/METADATA +36 -17
- {mistralai-1.0.0rc2.dist-info → mistralai-1.0.1.dist-info}/RECORD +48 -48
- mistralai_azure/models/__init__.py +2 -2
- mistralai_azure/models/chatcompletionrequest.py +14 -14
- mistralai_azure/models/chatcompletionstreamrequest.py +14 -14
- mistralai_azure/models/deltamessage.py +3 -3
- mistralai_azure/models/functioncall.py +9 -3
- mistralai_azure/models/systemmessage.py +6 -6
- mistralai_azure/models/usermessage.py +6 -6
- mistralai_azure/models/validationerror.py +6 -6
- mistralai_azure/sdkconfiguration.py +3 -3
- mistralai_gcp/models/__init__.py +2 -2
- mistralai_gcp/models/chatcompletionrequest.py +14 -14
- mistralai_gcp/models/chatcompletionstreamrequest.py +14 -14
- mistralai_gcp/models/deltamessage.py +3 -3
- mistralai_gcp/models/fimcompletionrequest.py +8 -8
- mistralai_gcp/models/fimcompletionstreamrequest.py +8 -8
- mistralai_gcp/models/functioncall.py +9 -3
- mistralai_gcp/models/systemmessage.py +6 -6
- mistralai_gcp/models/usermessage.py +6 -6
- mistralai_gcp/models/validationerror.py +6 -6
- mistralai_gcp/sdkconfiguration.py +3 -3
- {mistralai-1.0.0rc2.dist-info → mistralai-1.0.1.dist-info}/LICENSE +0 -0
- {mistralai-1.0.0rc2.dist-info → mistralai-1.0.1.dist-info}/WHEEL +0 -0
|
@@ -5,6 +5,12 @@ from mistralai.types import BaseModel
|
|
|
5
5
|
from typing import List, TypedDict, Union
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
LocTypedDict = Union[str, int]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Loc = Union[str, int]
|
|
12
|
+
|
|
13
|
+
|
|
8
14
|
class ValidationErrorTypedDict(TypedDict):
|
|
9
15
|
loc: List[LocTypedDict]
|
|
10
16
|
msg: str
|
|
@@ -16,9 +22,3 @@ class ValidationError(BaseModel):
|
|
|
16
22
|
msg: str
|
|
17
23
|
type: str
|
|
18
24
|
|
|
19
|
-
|
|
20
|
-
LocTypedDict = Union[str, int]
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
Loc = Union[str, int]
|
|
24
|
-
|
mistralai/models_.py
CHANGED
|
@@ -164,7 +164,7 @@ class Models(BaseSDK):
|
|
|
164
164
|
|
|
165
165
|
Retrieve a model information.
|
|
166
166
|
|
|
167
|
-
:param model_id:
|
|
167
|
+
:param model_id: The ID of the model to retrieve.
|
|
168
168
|
:param retries: Override the default retry configuration for this method
|
|
169
169
|
:param server_url: Override the default server URL for this method
|
|
170
170
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -242,7 +242,7 @@ class Models(BaseSDK):
|
|
|
242
242
|
|
|
243
243
|
Retrieve a model information.
|
|
244
244
|
|
|
245
|
-
:param model_id:
|
|
245
|
+
:param model_id: The ID of the model to retrieve.
|
|
246
246
|
:param retries: Override the default retry configuration for this method
|
|
247
247
|
:param server_url: Override the default server URL for this method
|
|
248
248
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -320,7 +320,7 @@ class Models(BaseSDK):
|
|
|
320
320
|
|
|
321
321
|
Delete a fine-tuned model.
|
|
322
322
|
|
|
323
|
-
:param model_id:
|
|
323
|
+
:param model_id: The ID of the model to delete.
|
|
324
324
|
:param retries: Override the default retry configuration for this method
|
|
325
325
|
:param server_url: Override the default server URL for this method
|
|
326
326
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -398,7 +398,7 @@ class Models(BaseSDK):
|
|
|
398
398
|
|
|
399
399
|
Delete a fine-tuned model.
|
|
400
400
|
|
|
401
|
-
:param model_id:
|
|
401
|
+
:param model_id: The ID of the model to delete.
|
|
402
402
|
:param retries: Override the default retry configuration for this method
|
|
403
403
|
:param server_url: Override the default server URL for this method
|
|
404
404
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -478,7 +478,7 @@ class Models(BaseSDK):
|
|
|
478
478
|
|
|
479
479
|
Update a model name or description.
|
|
480
480
|
|
|
481
|
-
:param model_id:
|
|
481
|
+
:param model_id: The ID of the model to update.
|
|
482
482
|
:param name:
|
|
483
483
|
:param description:
|
|
484
484
|
:param retries: Override the default retry configuration for this method
|
|
@@ -561,7 +561,7 @@ class Models(BaseSDK):
|
|
|
561
561
|
|
|
562
562
|
Update a model name or description.
|
|
563
563
|
|
|
564
|
-
:param model_id:
|
|
564
|
+
:param model_id: The ID of the model to update.
|
|
565
565
|
:param name:
|
|
566
566
|
:param description:
|
|
567
567
|
:param retries: Override the default retry configuration for this method
|
|
@@ -642,7 +642,7 @@ class Models(BaseSDK):
|
|
|
642
642
|
|
|
643
643
|
Archive a fine-tuned model.
|
|
644
644
|
|
|
645
|
-
:param model_id:
|
|
645
|
+
:param model_id: The ID of the model to archive.
|
|
646
646
|
:param retries: Override the default retry configuration for this method
|
|
647
647
|
:param server_url: Override the default server URL for this method
|
|
648
648
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -716,7 +716,7 @@ class Models(BaseSDK):
|
|
|
716
716
|
|
|
717
717
|
Archive a fine-tuned model.
|
|
718
718
|
|
|
719
|
-
:param model_id:
|
|
719
|
+
:param model_id: The ID of the model to archive.
|
|
720
720
|
:param retries: Override the default retry configuration for this method
|
|
721
721
|
:param server_url: Override the default server URL for this method
|
|
722
722
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -790,7 +790,7 @@ class Models(BaseSDK):
|
|
|
790
790
|
|
|
791
791
|
Un-archive a fine-tuned model.
|
|
792
792
|
|
|
793
|
-
:param model_id:
|
|
793
|
+
:param model_id: The ID of the model to unarchive.
|
|
794
794
|
:param retries: Override the default retry configuration for this method
|
|
795
795
|
:param server_url: Override the default server URL for this method
|
|
796
796
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -864,7 +864,7 @@ class Models(BaseSDK):
|
|
|
864
864
|
|
|
865
865
|
Un-archive a fine-tuned model.
|
|
866
866
|
|
|
867
|
-
:param model_id:
|
|
867
|
+
:param model_id: The ID of the model to unarchive.
|
|
868
868
|
:param retries: Override the default retry configuration for this method
|
|
869
869
|
:param server_url: Override the default server URL for this method
|
|
870
870
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
mistralai/sdkconfiguration.py
CHANGED
|
@@ -29,9 +29,9 @@ class SDKConfiguration:
|
|
|
29
29
|
server: Optional[str] = ""
|
|
30
30
|
language: str = "python"
|
|
31
31
|
openapi_doc_version: str = "0.0.2"
|
|
32
|
-
sdk_version: str = "1.0.
|
|
33
|
-
gen_version: str = "2.
|
|
34
|
-
user_agent: str = "speakeasy-sdk/python 1.0.
|
|
32
|
+
sdk_version: str = "1.0.1"
|
|
33
|
+
gen_version: str = "2.390.6"
|
|
34
|
+
user_agent: str = "speakeasy-sdk/python 1.0.1 2.390.6 0.0.2 mistralai"
|
|
35
35
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
36
36
|
timeout_ms: Optional[int] = None
|
|
37
37
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mistralai
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Python Client SDK for the Mistral AI API.
|
|
5
5
|
Author: Mistral
|
|
6
6
|
Requires-Python: >=3.8,<4.0
|
|
@@ -20,15 +20,26 @@ Requires-Dist: requests (>=2.32.3,<3.0.0) ; extra == "gcp"
|
|
|
20
20
|
Requires-Dist: typing-inspect (>=0.9.0,<0.10.0)
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
|
|
23
|
-
#
|
|
24
|
-
|
|
25
|
-
<div align="left">
|
|
26
|
-
<a href="https://speakeasyapi.dev/"><img src="https://custom-icon-badges.demolab.com/badge/-Built%20By%20Speakeasy-212015?style=for-the-badge&logoColor=FBE331&logo=speakeasy&labelColor=545454" /></a>
|
|
27
|
-
</div>
|
|
23
|
+
# Mistral Python Client
|
|
28
24
|
|
|
29
25
|
## Migration warning
|
|
30
26
|
|
|
31
|
-
This documentation is for
|
|
27
|
+
This documentation is for Mistral AI SDK v1. You can find more details on how to migrate from v0 to v1 [here](MIGRATION.md)
|
|
28
|
+
|
|
29
|
+
## API Key Setup
|
|
30
|
+
|
|
31
|
+
Before you begin, you will need a Mistral AI API key.
|
|
32
|
+
|
|
33
|
+
1. Get your own Mistral API Key: <https://docs.mistral.ai/#api-access>
|
|
34
|
+
2. Set your Mistral API Key as an environment variable. You only need to do this once.
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# set Mistral API Key (using zsh for example)
|
|
38
|
+
$ echo 'export MISTRAL_API_KEY=[your_key_here]' >> ~/.zshenv
|
|
39
|
+
|
|
40
|
+
# reload the environment (or just quit and open a new terminal)
|
|
41
|
+
$ source ~/.zshenv
|
|
42
|
+
```
|
|
32
43
|
|
|
33
44
|
<!-- Start SDK Installation [installation] -->
|
|
34
45
|
## SDK Installation
|
|
@@ -200,6 +211,12 @@ asyncio.run(main())
|
|
|
200
211
|
```
|
|
201
212
|
<!-- End SDK Example Usage [usage] -->
|
|
202
213
|
|
|
214
|
+
|
|
215
|
+
### More examples
|
|
216
|
+
|
|
217
|
+
You can run the examples in the `examples/` directory using `poetry run` or by entering the virtual environment using `poetry shell`.
|
|
218
|
+
|
|
219
|
+
|
|
203
220
|
## Providers' SDKs Example Usage
|
|
204
221
|
|
|
205
222
|
### Azure AI
|
|
@@ -329,7 +346,7 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
|
|
|
329
346
|
|
|
330
347
|
### [agents](docs/sdks/agents/README.md)
|
|
331
348
|
|
|
332
|
-
* [complete](docs/sdks/agents/README.md#complete) -
|
|
349
|
+
* [complete](docs/sdks/agents/README.md#complete) - Agents Completion
|
|
333
350
|
* [stream](docs/sdks/agents/README.md#stream) - Stream Agents completion
|
|
334
351
|
|
|
335
352
|
### [embeddings](docs/sdks/embeddings/README.md)
|
|
@@ -634,7 +651,7 @@ This SDK supports the following security scheme globally:
|
|
|
634
651
|
| -------------------- | -------------------- | -------------------- | -------------------- |
|
|
635
652
|
| `api_key` | http | HTTP Bearer | `MISTRAL_API_KEY` |
|
|
636
653
|
|
|
637
|
-
To authenticate with the API the `
|
|
654
|
+
To authenticate with the API the `api_key` parameter must be set when initializing the SDK client instance. For example:
|
|
638
655
|
```python
|
|
639
656
|
from mistralai import Mistral
|
|
640
657
|
import os
|
|
@@ -667,20 +684,22 @@ s = Mistral(debug_logger=logging.getLogger("mistralai"))
|
|
|
667
684
|
```
|
|
668
685
|
<!-- End Debugging [debug] -->
|
|
669
686
|
|
|
670
|
-
<!--
|
|
687
|
+
<!-- Start IDE Support [idesupport] -->
|
|
688
|
+
## IDE Support
|
|
671
689
|
|
|
672
|
-
|
|
690
|
+
### PyCharm
|
|
673
691
|
|
|
674
|
-
|
|
692
|
+
Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
|
|
675
693
|
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
694
|
+
- [PyCharm Pydantic Plugin](https://docs.pydantic.dev/latest/integrations/pycharm/)
|
|
695
|
+
<!-- End IDE Support [idesupport] -->
|
|
696
|
+
|
|
697
|
+
<!-- Placeholder for Future Speakeasy SDK Sections -->
|
|
698
|
+
|
|
699
|
+
# Development
|
|
679
700
|
|
|
680
701
|
## Contributions
|
|
681
702
|
|
|
682
703
|
While we value open-source contributions to this SDK, this library is generated programmatically. Any manual changes added to internal files will be overwritten on the next generation.
|
|
683
704
|
We look forward to hearing your feedback. Feel free to open a PR or an issue with a proof of concept and we'll do our best to include it in a future release.
|
|
684
705
|
|
|
685
|
-
### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
|
|
686
|
-
|
|
@@ -7,34 +7,34 @@ mistralai_azure/_hooks/types.py,sha256=mJZS5ItPpWpgWwcNOx4oLQwLelqxEw_zP5yw10FeQ
|
|
|
7
7
|
mistralai_azure/basesdk.py,sha256=GSAnDHO8lUXfqmDHhcEcbLgBGauVUqzcQcuPsSXzFFE,9043
|
|
8
8
|
mistralai_azure/chat.py,sha256=kmLoTzYaaa1iaILhjz3WZmY0jgyBR68NW_YP9c-4Zdw,25897
|
|
9
9
|
mistralai_azure/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
|
|
10
|
-
mistralai_azure/models/__init__.py,sha256=
|
|
10
|
+
mistralai_azure/models/__init__.py,sha256=Kbdvz-VV-7lbJiJ6ecN_DJoPcpOy5uLKGREslH1Wpe8,3776
|
|
11
11
|
mistralai_azure/models/assistantmessage.py,sha256=IC1-M2Xx8G7dRM7JbJnf4icadOiSJq3-lmJufpfXdcY,2186
|
|
12
12
|
mistralai_azure/models/chatcompletionchoice.py,sha256=AmJk_4e-uV9IBEViQtHbW9Pat7OS4Znv4Snva_Lf3YY,750
|
|
13
|
-
mistralai_azure/models/chatcompletionrequest.py,sha256=
|
|
13
|
+
mistralai_azure/models/chatcompletionrequest.py,sha256=G89trrb43afkuuhPqucxYyzPCBIkHZjcSQkueUvleMQ,7016
|
|
14
14
|
mistralai_azure/models/chatcompletionresponse.py,sha256=x4C878hm7VmzR7AY7cHqXCOdmAvH34E82E3OuxujT6k,802
|
|
15
|
-
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=
|
|
15
|
+
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=jA7Yvp7ssXo866awFWcD2QAw5NbXuVYdTGb3oPBjqSs,6128
|
|
16
16
|
mistralai_azure/models/completionchunk.py,sha256=vE4iSLdX2DpDqYCSJctRgIKdau_inSJu6o7DC0exs4Q,868
|
|
17
17
|
mistralai_azure/models/completionevent.py,sha256=LKbNJfEXbtl-e68h8H0YC3dtLbBWV_6rsOCTMbQHkYg,403
|
|
18
18
|
mistralai_azure/models/completionresponsestreamchoice.py,sha256=qLiyoqhRRc2V91SG5DQqzDc_UCrGrbv88VXWuavUP_o,1498
|
|
19
19
|
mistralai_azure/models/contentchunk.py,sha256=vFt7cRYpGkzxsiSpj1MY3letwp2w8GLLu8Q8dNfewMQ,462
|
|
20
|
-
mistralai_azure/models/deltamessage.py,sha256=
|
|
20
|
+
mistralai_azure/models/deltamessage.py,sha256=YRxBe8pyqMnmR3QQPFv8lys1yfaatnne-vrco3z_b6g,1558
|
|
21
21
|
mistralai_azure/models/function.py,sha256=RclkdSPCi-Vl5TRlYatxnxsjUzMRLDRxnE5Vzs_KEGs,480
|
|
22
|
-
mistralai_azure/models/functioncall.py,sha256=
|
|
22
|
+
mistralai_azure/models/functioncall.py,sha256=ZUUTVpgavjkDq4Zm1zTpJy5I-LzW0ELyKiNjAMHR9-o,461
|
|
23
23
|
mistralai_azure/models/httpvalidationerror.py,sha256=RLgOLt2Jk3dMdvLoEdRD7w-cAPZznS7J-QXgFAvV2ns,649
|
|
24
24
|
mistralai_azure/models/responseformat.py,sha256=NK6c75wQKwFS1nvzWgVCRpge6Fk5bMLVJZBNE-8x6F0,766
|
|
25
25
|
mistralai_azure/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
26
26
|
mistralai_azure/models/security.py,sha256=hq1l5hcumpksUyXKzxhKKFCUq5nxfAG8X-6fTLDUGrA,530
|
|
27
|
-
mistralai_azure/models/systemmessage.py,sha256=
|
|
27
|
+
mistralai_azure/models/systemmessage.py,sha256=3OdHJj0bD-bfRLIIJtUb0fCkAZ2YChDm17LTrWWx8JE,648
|
|
28
28
|
mistralai_azure/models/textchunk.py,sha256=RQ6S1m-jy1jYfwyZ1ClfvdLNrdgf8gf145HfinlCgGI,456
|
|
29
29
|
mistralai_azure/models/tool.py,sha256=hVbHJ44yAIgrFPfboZ8Ck2zZGWZ_X4SM7FerFjZywnk,527
|
|
30
30
|
mistralai_azure/models/toolcall.py,sha256=QPxFufDzlYi_5Mqp-mtzjxKivDb2Su6YBFH9mfttCOc,624
|
|
31
31
|
mistralai_azure/models/toolmessage.py,sha256=HUv8QRiiVYBE_oGOkkX8po22QFve0HrzkHxvbQXHY8o,1599
|
|
32
32
|
mistralai_azure/models/usageinfo.py,sha256=CZyJp70P0L1c6joHOk939ASLfTTYw8UOloaRax2NcKs,403
|
|
33
|
-
mistralai_azure/models/usermessage.py,sha256=
|
|
34
|
-
mistralai_azure/models/validationerror.py,sha256=
|
|
33
|
+
mistralai_azure/models/usermessage.py,sha256=UY8Wju52_4NuLANzkvaK7Z1GykYYwAidRGLAx2kd0eA,702
|
|
34
|
+
mistralai_azure/models/validationerror.py,sha256=HFNnkyfSo5P1adxVF6Jmh1kGSxAnu3PRZNiBMuQb20M,442
|
|
35
35
|
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
36
36
|
mistralai_azure/sdk.py,sha256=ZVPE9lFzswEMlHw_kiG_j5vzoJ5BwEYlVLCYGmYDjpA,3936
|
|
37
|
-
mistralai_azure/sdkconfiguration.py,sha256=
|
|
37
|
+
mistralai_azure/sdkconfiguration.py,sha256=JM56yiTvP8R5durX4bTwHmdMj5pM_2mbpQebODZogJ4,1721
|
|
38
38
|
mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
39
39
|
mistralai_azure/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
40
40
|
mistralai_azure/utils/__init__.py,sha256=O_jurPNtDogMYZx1-k5L5Qm1zinMhqb2tXg79nLvKAw,2132
|
|
@@ -62,37 +62,37 @@ mistralai_gcp/basesdk.py,sha256=LpFulSdv3xVC3VaZW7G03W2cFV6QEXVQfWEimwLNvc0,9037
|
|
|
62
62
|
mistralai_gcp/chat.py,sha256=zg8IGAdqeLC16tVFhOTzHBwtcqHafPmwJk9eGDj1LCQ,25705
|
|
63
63
|
mistralai_gcp/fim.py,sha256=ASHlsFp4LsKmzxfW4Dx6RWZo8nlla4BLMbwjVy1K5ss,23609
|
|
64
64
|
mistralai_gcp/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
|
|
65
|
-
mistralai_gcp/models/__init__.py,sha256=
|
|
65
|
+
mistralai_gcp/models/__init__.py,sha256=_4fiIf72kWguHJjglMqE10XvsBnR6qPgysV3JlYxZc4,4516
|
|
66
66
|
mistralai_gcp/models/assistantmessage.py,sha256=DIntIcFq_cw7zvRgdv1ff9ZW_pT10eOheOD7YBix80E,2184
|
|
67
67
|
mistralai_gcp/models/chatcompletionchoice.py,sha256=03qLZLBMka5MRg1DviwNc2VWCLsdxNTBJltxjtMzZDY,748
|
|
68
|
-
mistralai_gcp/models/chatcompletionrequest.py,sha256=
|
|
68
|
+
mistralai_gcp/models/chatcompletionrequest.py,sha256=MVLblLH_ss1ZOfmMIXn--Hgt-7RYcv4Gt1nIR8QJBRk,7034
|
|
69
69
|
mistralai_gcp/models/chatcompletionresponse.py,sha256=lljI1r6VwGsPvCI0zR85UtACyRY9PwQT0TznLXNgSP8,800
|
|
70
|
-
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=
|
|
70
|
+
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=Ji3lZSHkHuWZCJ9g4MMSCZDQSdayxbubb2mXdqC7xNU,6146
|
|
71
71
|
mistralai_gcp/models/completionchunk.py,sha256=6l_sWiZR20mf2hAYD410xk2PnTkNM2uI_eGoxEY4QKQ,866
|
|
72
72
|
mistralai_gcp/models/completionevent.py,sha256=lfH9lU5AZSUFdJhYtZIfsxD93SuyBRiqvoygTmQ-8eU,401
|
|
73
73
|
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=NAcFvBMP2GIzZjL5A29e8XbW8ioDbt7Xig-stmXg4Rk,1496
|
|
74
74
|
mistralai_gcp/models/contentchunk.py,sha256=ZnGbO7Bh8-FVKw4I-MLFBcs-xEUtLIj7a03Y0zoBTr8,460
|
|
75
|
-
mistralai_gcp/models/deltamessage.py,sha256=
|
|
76
|
-
mistralai_gcp/models/fimcompletionrequest.py,sha256=
|
|
75
|
+
mistralai_gcp/models/deltamessage.py,sha256=8GzJfAQcjfnXJE06CWlS7-f1pNSVzLsU2AFkUph0Hz4,1556
|
|
76
|
+
mistralai_gcp/models/fimcompletionrequest.py,sha256=4DAHyryQLduo-sraVitm9oUNpM-pLMKmYH9fM_qzQvU,5902
|
|
77
77
|
mistralai_gcp/models/fimcompletionresponse.py,sha256=UH6etES-gDOFQog9_VZ78HSCDVIOnpS2yagRR-tWzw0,798
|
|
78
|
-
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=
|
|
78
|
+
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=dsArBrPSOqHoIPXoos-k8FGIBnrFGvcLhgMnTj-z1DM,5269
|
|
79
79
|
mistralai_gcp/models/function.py,sha256=J4thGl0Mpr017thKTPSFZzZhN4kh6KuBy_vXeZN-y_4,478
|
|
80
|
-
mistralai_gcp/models/functioncall.py,sha256=
|
|
80
|
+
mistralai_gcp/models/functioncall.py,sha256=4wcNa_LVHd8dzq06nD9rXLVDcWcji8JsXi29h6aHvmE,459
|
|
81
81
|
mistralai_gcp/models/httpvalidationerror.py,sha256=4Myo8QsWdLviidnab4rvsSH5XCYFNgL-qdMNlbnIgsE,645
|
|
82
82
|
mistralai_gcp/models/responseformat.py,sha256=VmlgNxK1GanCgkGaehmEkKPD9cahnuFGo8SEFarUtio,764
|
|
83
83
|
mistralai_gcp/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
84
84
|
mistralai_gcp/models/security.py,sha256=nkq31t3ybeZdQmyM3mKke4kk2n5V68Lfn3MQZtwwtWc,526
|
|
85
|
-
mistralai_gcp/models/systemmessage.py,sha256=
|
|
85
|
+
mistralai_gcp/models/systemmessage.py,sha256=fZqB6zV9qujw6AcoCarKn_wLLJ5NJ8DDpKWAMA5fW4o,646
|
|
86
86
|
mistralai_gcp/models/textchunk.py,sha256=by-at5dVgV_yjo85T9lOT1p8NbcRT6Uc9RJ9_YCiBK4,454
|
|
87
87
|
mistralai_gcp/models/tool.py,sha256=AkI2VYbM4FI0xUVGFm_1i-Dz32SmAD1M99AU146kSC8,525
|
|
88
88
|
mistralai_gcp/models/toolcall.py,sha256=dvqzukuRJ0WKndCe03so2REYx6ftKhXwUZ_C2yd5k7U,622
|
|
89
89
|
mistralai_gcp/models/toolmessage.py,sha256=Eew07JE_HWiLIXinAQKRyMb8nKhAyW9wE7LShN791Qw,1597
|
|
90
90
|
mistralai_gcp/models/usageinfo.py,sha256=kTFYFhieGnuNlqrOHUDW2fURMYHTqf9W641BM1JwNro,401
|
|
91
|
-
mistralai_gcp/models/usermessage.py,sha256=
|
|
92
|
-
mistralai_gcp/models/validationerror.py,sha256=
|
|
91
|
+
mistralai_gcp/models/usermessage.py,sha256=tPRjmmTW78AYQq9R_aCGUcGpUtADT5m0C2Yvsn0sLEw,700
|
|
92
|
+
mistralai_gcp/models/validationerror.py,sha256=a4pmlDNdXFw9zMiP0JVAYUWQKcbGBcQgWB2IjK-ODG4,440
|
|
93
93
|
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
94
94
|
mistralai_gcp/sdk.py,sha256=5ycbCdkzkBzgAdtDhCdr_GU5dDvnw4IheiL2hG934eY,6302
|
|
95
|
-
mistralai_gcp/sdkconfiguration.py,sha256=
|
|
95
|
+
mistralai_gcp/sdkconfiguration.py,sha256=HUh-cvSHrMrSoLWjmeHLFbf73qzJXCvZGhAn_73BKNg,1715
|
|
96
96
|
mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
97
97
|
mistralai_gcp/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
98
98
|
mistralai_gcp/utils/__init__.py,sha256=O_jurPNtDogMYZx1-k5L5Qm1zinMhqb2tXg79nLvKAw,2132
|
|
@@ -118,37 +118,37 @@ mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9
|
|
|
118
118
|
mistralai/_hooks/registration.py,sha256=ML0W-XbE4WYdJ4eGks_XxF2aLCJTaIWjQATFGzFwvyU,861
|
|
119
119
|
mistralai/_hooks/sdkhooks.py,sha256=WCbPewN31708amCF7rTVqmQcpnxQpuG2Xdb38qXCq6A,2454
|
|
120
120
|
mistralai/_hooks/types.py,sha256=eDaXqYBqW_D_3Tn424cNCE1frBeh139JLso0hYrQka8,2404
|
|
121
|
-
mistralai/agents.py,sha256=
|
|
121
|
+
mistralai/agents.py,sha256=U7MJkLYeNVRTs0Stin0Eu6lzWANCCAq0wd4ASDVVBQQ,23381
|
|
122
122
|
mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
|
|
123
123
|
mistralai/basesdk.py,sha256=3B65XR2C6WqgC8cewEZbMQ8t0ZilkRZeS7fl1jWtlTs,9090
|
|
124
124
|
mistralai/chat.py,sha256=A4xBceDSQITOLPmOiB0j-5Dj-mqYBC2qkPKIvbX6los,26662
|
|
125
|
-
mistralai/client.py,sha256=
|
|
125
|
+
mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
|
|
126
126
|
mistralai/embeddings.py,sha256=g96-XaDcbQ8k0FrPyiEFcRisqT0y7mzmF1QGsqtOM-0,7357
|
|
127
127
|
mistralai/files.py,sha256=VxhZulNK47p0OsWfovdeJGb_fn9CGNU-fM6WuRScDlM,24255
|
|
128
128
|
mistralai/fim.py,sha256=qJyEH8mk1pKard_1W_L2PPqWGsc-b_2LKUL5TNx1IvA,23794
|
|
129
129
|
mistralai/fine_tuning.py,sha256=gjgC4_IeY1lxT-_NZkmmO8QlsWOxCBxtknL9EeTAXts,484
|
|
130
130
|
mistralai/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
|
|
131
|
-
mistralai/jobs.py,sha256=
|
|
132
|
-
mistralai/models/__init__.py,sha256=
|
|
133
|
-
mistralai/models/agentscompletionrequest.py,sha256=
|
|
134
|
-
mistralai/models/agentscompletionstreamrequest.py,sha256=
|
|
131
|
+
mistralai/jobs.py,sha256=Wwo42o7tRSfFhXbrdBRofqW8UrZCYZkv1kPxi46yBzU,37319
|
|
132
|
+
mistralai/models/__init__.py,sha256=i7o6a0mtM_Avx8b7lF4lHfvVhKhyexZjLrMxU9V2mag,13039
|
|
133
|
+
mistralai/models/agentscompletionrequest.py,sha256=MuciJfMXAzKdRZV4FU91pvFnECDRJdJWQI9n0-nX80E,5403
|
|
134
|
+
mistralai/models/agentscompletionstreamrequest.py,sha256=wxcLdkslr_MvBesrrVir7yw7kjcJ9L7ZuAJ4st4-C-g,5283
|
|
135
135
|
mistralai/models/archiveftmodelout.py,sha256=dhbOq_9mdXHcleNUZUpmHCNqo6fDbpzQWrWWh3bJQ_Y,548
|
|
136
136
|
mistralai/models/assistantmessage.py,sha256=2gpV5zzh8HnDPOJA_JwA2Ggq-cQLFJP9v3k8AJrq_CE,2180
|
|
137
137
|
mistralai/models/chatcompletionchoice.py,sha256=tGmRThpTdKy79RrZ35FK2s3oDMDmQzjZVmw_uhXBsP0,684
|
|
138
|
-
mistralai/models/chatcompletionrequest.py,sha256=
|
|
138
|
+
mistralai/models/chatcompletionrequest.py,sha256=SegBdxI7p_lp4h-VT2PaKtwalhgFpOvZtU1PI6pzYSI,7027
|
|
139
139
|
mistralai/models/chatcompletionresponse.py,sha256=qRgYtu_lGzn-0D2Q3lWHX3Y0qCZs-3S9m5XRvOE8bfg,796
|
|
140
|
-
mistralai/models/chatcompletionstreamrequest.py,sha256=
|
|
140
|
+
mistralai/models/chatcompletionstreamrequest.py,sha256=h9K3WXKP7LnHgCKEmxGP1VE5olzX1WzEkEY5cQswmqA,6667
|
|
141
141
|
mistralai/models/checkpointout.py,sha256=gWrM4kwQ4ttyxFPbWHeGyG4bfiFRs17JTJluBPKdnRc,1105
|
|
142
142
|
mistralai/models/completionchunk.py,sha256=js9omyCN6anHGecrEpJTfZwEzFstmbhjOdgIgPDSmJQ,862
|
|
143
143
|
mistralai/models/completionevent.py,sha256=GSDcIK9lrME3bvo8fSCSIDhlx5V1xqUPGsrBoB_eDf8,397
|
|
144
144
|
mistralai/models/completionresponsestreamchoice.py,sha256=8BN_6aM0Z-LHdK9ZN3LJvH0si-rs_kXGxDoAjSlmh3Y,1582
|
|
145
145
|
mistralai/models/contentchunk.py,sha256=VHVp8t2Wcc1kuN3bBs-xMZIR6WCpGgDFNc_6KKU3lVI,456
|
|
146
|
-
mistralai/models/delete_model_v1_models_model_id_deleteop.py,sha256=
|
|
146
|
+
mistralai/models/delete_model_v1_models_model_id_deleteop.py,sha256=W7_mpqAbgSVeWjPlEfbYoRrxjkkR-43cqU2mrCtpMhE,615
|
|
147
147
|
mistralai/models/deletefileout.py,sha256=OnzP03JES5Gyguh9S9di5VevDdDTbdTY1L0gTv9RdMQ,583
|
|
148
148
|
mistralai/models/deletemodelout.py,sha256=9aRBZFP_IOX_v0gTP00qkrZjuMveZWnRKFp80Wx3bHk,700
|
|
149
|
-
mistralai/models/deltamessage.py,sha256=
|
|
149
|
+
mistralai/models/deltamessage.py,sha256=vYq8mHtWNuSRC34TesyTA6z38DPQQolmaMyvEnM9KOA,1552
|
|
150
150
|
mistralai/models/detailedjobout.py,sha256=MdKbPosRbp0l9EDkWOA-2_ji9e6i7gIAEKI3GFoMTTI,4074
|
|
151
|
-
mistralai/models/embeddingrequest.py,sha256=
|
|
151
|
+
mistralai/models/embeddingrequest.py,sha256=LjQf-nsGkkwdPU3X9nKsGqSQSQSLHZ3WeNQhMnhgBoY,1844
|
|
152
152
|
mistralai/models/embeddingresponse.py,sha256=3ny1ziseq-pYFkPV1IzsrEFH-tIojDYbs6oh99MjFi4,639
|
|
153
153
|
mistralai/models/embeddingresponsedata.py,sha256=M7cCJNf6jOXW4doA4ArMz9BI-ygmoiFdT7ttGx8mwNk,541
|
|
154
154
|
mistralai/models/eventout.py,sha256=Vrvc4ga_BE9KA93JpUaPxDuaJ3CNeW8716kWXXdilGI,1565
|
|
@@ -156,28 +156,28 @@ mistralai/models/files_api_routes_delete_fileop.py,sha256=eNXQdg248zA06BGiVEyq_8
|
|
|
156
156
|
mistralai/models/files_api_routes_retrieve_fileop.py,sha256=rXDIMC-zRHkZb86cn9pfTEpdwAjpvuFhUeYNFRBidcU,517
|
|
157
157
|
mistralai/models/files_api_routes_upload_fileop.py,sha256=69eWtpOJlt4n7I5M7VqELfgjGGUpRwmIhpLQ20r78t0,2004
|
|
158
158
|
mistralai/models/fileschema.py,sha256=poy49sBodzAiksJhOd7v711mYjlDJf0HooqvzQ9OKwc,2341
|
|
159
|
-
mistralai/models/fimcompletionrequest.py,sha256=
|
|
159
|
+
mistralai/models/fimcompletionrequest.py,sha256=LfqU2sn7b4GZSz-HWV7xGF7Ju_rw41fwdUqZeY8cCJo,5898
|
|
160
160
|
mistralai/models/fimcompletionresponse.py,sha256=WniZPWtPKptxmboqThX84-SL4wfTpxT0UQJbjGWSi8Q,794
|
|
161
|
-
mistralai/models/fimcompletionstreamrequest.py,sha256=
|
|
161
|
+
mistralai/models/fimcompletionstreamrequest.py,sha256=Euk_jwpsAfd5rfBW4iiY2h1Up354Zu3zfPJnw8e7mYM,5265
|
|
162
162
|
mistralai/models/finetuneablemodel.py,sha256=EN9zh1KqgSrhVcJ0dcSMh3mBUHVdLojvMCrophjjTaM,316
|
|
163
163
|
mistralai/models/ftmodelcapabilitiesout.py,sha256=d6fgSickqwb5_fre7hRdqWmfTJ6nZdNMpGzIjkkamkU,654
|
|
164
164
|
mistralai/models/ftmodelout.py,sha256=bMrB_AtAHQCBfZWU5Nf53or6QvbKkrdcHdGJoqXbN2g,2133
|
|
165
165
|
mistralai/models/function.py,sha256=RRA1DgD3HG00gR8Moe-POFAH9ccu3wqqy31_1voQ4JU,474
|
|
166
|
-
mistralai/models/functioncall.py,sha256=
|
|
166
|
+
mistralai/models/functioncall.py,sha256=Hu5rfS2sfkvvYPn-WeQ4dIlr62epjPK71rr2vzQ6G1c,455
|
|
167
167
|
mistralai/models/githubrepositoryin.py,sha256=gIH7_yQohvbo1xw64FvxeWBri4QzcWp5HM_Lb_MhmX0,1609
|
|
168
168
|
mistralai/models/githubrepositoryout.py,sha256=0-oW8raBsh7Hwf4GcZcDnMRFUsdvJcf_CkVh7mKpq24,1619
|
|
169
169
|
mistralai/models/httpvalidationerror.py,sha256=E3O9wiCji3PUjrCsh3Sr1LCx3C-kE1JZFFj9x4obMEo,637
|
|
170
170
|
mistralai/models/jobin.py,sha256=6taUr9nqLe_1bLHRaSTe9AYqk2c8EiUFG7Fuazd-dGE,4105
|
|
171
171
|
mistralai/models/jobmetadataout.py,sha256=kkUxNv5b628RvYn0lZ3JrAlSRaiGfpESCub0RPk4d18,2168
|
|
172
172
|
mistralai/models/jobout.py,sha256=wKjdN9CTWbbGcVzIlg_N0mNLiHRxxOAFblw0kLzo7JQ,5419
|
|
173
|
-
mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py,sha256=
|
|
173
|
+
mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py,sha256=RsWO0jJaU7MNv1qepPNH36ORLvShfQQvvUG9E9syG4E,641
|
|
174
174
|
mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py,sha256=_RrA1AI50Cp8f204cP5l7EIspn7UfFGUf2woWrGP4K0,627
|
|
175
|
-
mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py,sha256=
|
|
175
|
+
mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py,sha256=6QdnKjqt9XPL_dFwd4_HtWxD-7dqqeKuuGiFMDSXHcc,493
|
|
176
176
|
mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py,sha256=TcfYkUuX3XycsuncG_u5PeOHcufkiVgzm_vdHBB4AiY,623
|
|
177
177
|
mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py,sha256=H4vXIp7auiwXewyoVKWEQrZM9qX4BQGUbypLky9HMuU,4964
|
|
178
178
|
mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py,sha256=S53w_mTDWYJiWMlPfkqkbJboB4Of30LuT8b8yj99baY,545
|
|
179
|
-
mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py,sha256
|
|
180
|
-
mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py,sha256=
|
|
179
|
+
mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py,sha256=3nq6mRCmZzE2fnCrAXMuFuylJUE0c6zoqAiEESzjeuw,649
|
|
180
|
+
mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py,sha256=rJqiVUxTFiwqCSZQte89uvShBrjtXO5wx_yQeT_VMT4,896
|
|
181
181
|
mistralai/models/jobsout.py,sha256=zyn3XGHMFVZzHcSV05yHEzgN0LKgqxcOA1tnKnFDHJ4,600
|
|
182
182
|
mistralai/models/legacyjobmetadataout.py,sha256=KXaL1uVOARm7JxX9LkiYq5c6JlrThf0apqo33XpaJGs,4108
|
|
183
183
|
mistralai/models/listfilesout.py,sha256=ynGUG0oi9boSfHVBFqlkOSkDz2QVf974hG444yF-aOY,416
|
|
@@ -186,13 +186,13 @@ mistralai/models/modelcapabilities.py,sha256=bGPtxjm4vnUP0BrMbMgGKAaAkMcJs1jmflP
|
|
|
186
186
|
mistralai/models/modelcard.py,sha256=LM4anayV1SnnYJ7sy0_8a4rtd7lZAQjYUGftUivkbwc,2369
|
|
187
187
|
mistralai/models/modellist.py,sha256=wdUWOzSQU2C0aL2fKoXez62ZFICdtHz_ViTGtT0gjjU,519
|
|
188
188
|
mistralai/models/responseformat.py,sha256=QwA36MujDZQ_5y3jEaxZk_xA-TGnLBdBLSFRj6T-3Ww,760
|
|
189
|
-
mistralai/models/retrieve_model_v1_models_model_id_getop.py,sha256=
|
|
189
|
+
mistralai/models/retrieve_model_v1_models_model_id_getop.py,sha256=eG-VrMPX57egDI6b_Weu0bPSgnoyTDDEWVl6h01ThY4,617
|
|
190
190
|
mistralai/models/retrievefileout.py,sha256=gIENaDbC2k6tT73rPJ18KoCWjkohWDlE2rYCxSIPOG4,2351
|
|
191
191
|
mistralai/models/sampletype.py,sha256=AHVeruPkMqLwaXTQVMiqrWxCv29ErNAOQenNxRaYFfc,182
|
|
192
192
|
mistralai/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
193
193
|
mistralai/models/security.py,sha256=RyMjZxtU-_-xoqReeS4gZ61yXpk8Bd1NTU2Xsbhb8YU,571
|
|
194
194
|
mistralai/models/source.py,sha256=i__XC0fCs5hAyp3uHzGK-gY6jcC8lE431V8-YpzCNso,178
|
|
195
|
-
mistralai/models/systemmessage.py,sha256=
|
|
195
|
+
mistralai/models/systemmessage.py,sha256=EC7sfVzkF9C0pN5hL8LZZ2z3tn9bvKi-rPXlnBzDrC4,642
|
|
196
196
|
mistralai/models/textchunk.py,sha256=PTQeBlqG9w4PudvceZnN4oLyYfBfdiiz9cKciaq9PI8,450
|
|
197
197
|
mistralai/models/tool.py,sha256=fUhUhOmNyBZLqS-fAojzURQI1AGNGdOVKj8GRfMBCJk,521
|
|
198
198
|
mistralai/models/toolcall.py,sha256=PXvOVpo9uS0CWXpjg51rn14zDf9NVGQUqwV7DnednzA,618
|
|
@@ -204,14 +204,14 @@ mistralai/models/unarchiveftmodelout.py,sha256=-bZbuevf3q8mzKrrU8eFb1axUBmXRimhn
|
|
|
204
204
|
mistralai/models/updateftmodelin.py,sha256=BicrkRH-NMfatFO1eAM9BVEPAOgAhKAY5rfz7tkCcJw,1417
|
|
205
205
|
mistralai/models/uploadfileout.py,sha256=qO9FqULAL0xCZckQbuwjBeGgz9ybxQeJceqx85_mUBI,2347
|
|
206
206
|
mistralai/models/usageinfo.py,sha256=HaINgSEQgJzJuSc31qXfktjOPuwycLOXu0PyusbKsOw,397
|
|
207
|
-
mistralai/models/usermessage.py,sha256=
|
|
208
|
-
mistralai/models/validationerror.py,sha256=
|
|
207
|
+
mistralai/models/usermessage.py,sha256=1vRfJzEFsNGaFC7myNdjcL5SzkS-AoMnhWSlC1ggYcg,696
|
|
208
|
+
mistralai/models/validationerror.py,sha256=gYLU8SsPHO06ItvXIT5pNoDf_EN3rqy7j-mba6XonEw,436
|
|
209
209
|
mistralai/models/wandbintegration.py,sha256=YwBYYft2kFhUcUnvT0g9jIBj2DT9-yaA3gy-Tpak2TE,2068
|
|
210
210
|
mistralai/models/wandbintegrationout.py,sha256=-cm34v7gUSl5POq71DYF6-RKggOgrtz1ZCHsWb726kc,1928
|
|
211
|
-
mistralai/models_.py,sha256=
|
|
211
|
+
mistralai/models_.py,sha256=umktQr0ejwXlXMbs1wuR45qrhPx74dx-KKGRU2FejD4,37297
|
|
212
212
|
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
213
213
|
mistralai/sdk.py,sha256=t0SeuAXIyW6XKg40oBeR-TkqX8tWC1zHg1BtWJGzcMc,4647
|
|
214
|
-
mistralai/sdkconfiguration.py,sha256=
|
|
214
|
+
mistralai/sdkconfiguration.py,sha256=DB5mau9YG8jnQZzMNcwqEV968dVeNCYNrLHDHgq_0sc,1693
|
|
215
215
|
mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
216
216
|
mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
217
217
|
mistralai/utils/__init__.py,sha256=LqdlrtuZnSuli6MrNgEbfuA0HFXHQssyrEZl7c1fq94,2185
|
|
@@ -229,7 +229,7 @@ mistralai/utils/security.py,sha256=fOa_NmT-LmowcgvtewR_v7LX5GMlagEIw16WbMgyN9E,5
|
|
|
229
229
|
mistralai/utils/serializers.py,sha256=YRBVvAQ9Ywl2N2DanYlEKc2tKys2xcsiUY_lfG0lG10,4132
|
|
230
230
|
mistralai/utils/url.py,sha256=Bvu71MYt9NJFYOmPcWVylrdUf3QtytbjqllNkWTCRHE,5195
|
|
231
231
|
mistralai/utils/values.py,sha256=KauGimRv4_lfIfijquDLWd1v4HbqnQiG8Rn61Stdxbg,3294
|
|
232
|
-
mistralai-1.0.
|
|
233
|
-
mistralai-1.0.
|
|
234
|
-
mistralai-1.0.
|
|
235
|
-
mistralai-1.0.
|
|
232
|
+
mistralai-1.0.1.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
|
|
233
|
+
mistralai-1.0.1.dist-info/METADATA,sha256=hi7JOeXGHwKdOFkhSYTgo2no4mIZtb-tnTQ6X5hKKe4,19456
|
|
234
|
+
mistralai-1.0.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
235
|
+
mistralai-1.0.1.dist-info/RECORD,,
|
|
@@ -11,7 +11,7 @@ from .completionresponsestreamchoice import CompletionResponseStreamChoice, Comp
|
|
|
11
11
|
from .contentchunk import ContentChunk, ContentChunkTypedDict
|
|
12
12
|
from .deltamessage import DeltaMessage, DeltaMessageTypedDict
|
|
13
13
|
from .function import Function, FunctionTypedDict
|
|
14
|
-
from .functioncall import FunctionCall, FunctionCallTypedDict
|
|
14
|
+
from .functioncall import Arguments, ArgumentsTypedDict, FunctionCall, FunctionCallTypedDict
|
|
15
15
|
from .httpvalidationerror import HTTPValidationError, HTTPValidationErrorData
|
|
16
16
|
from .responseformat import ResponseFormat, ResponseFormatTypedDict, ResponseFormats
|
|
17
17
|
from .sdkerror import SDKError
|
|
@@ -25,4 +25,4 @@ from .usageinfo import UsageInfo, UsageInfoTypedDict
|
|
|
25
25
|
from .usermessage import UserMessage, UserMessageContent, UserMessageContentTypedDict, UserMessageRole, UserMessageTypedDict
|
|
26
26
|
from .validationerror import Loc, LocTypedDict, ValidationError, ValidationErrorTypedDict
|
|
27
27
|
|
|
28
|
-
__all__ = ["AssistantMessage", "AssistantMessageRole", "AssistantMessageTypedDict", "ChatCompletionChoice", "ChatCompletionChoiceFinishReason", "ChatCompletionChoiceTypedDict", "ChatCompletionRequest", "ChatCompletionRequestMessages", "ChatCompletionRequestMessagesTypedDict", "ChatCompletionRequestStop", "ChatCompletionRequestStopTypedDict", "ChatCompletionRequestToolChoice", "ChatCompletionRequestTypedDict", "ChatCompletionResponse", "ChatCompletionResponseTypedDict", "ChatCompletionStreamRequest", "ChatCompletionStreamRequestTypedDict", "CompletionChunk", "CompletionChunkTypedDict", "CompletionEvent", "CompletionEventTypedDict", "CompletionResponseStreamChoice", "CompletionResponseStreamChoiceTypedDict", "Content", "ContentChunk", "ContentChunkTypedDict", "ContentTypedDict", "DeltaMessage", "DeltaMessageTypedDict", "FinishReason", "Function", "FunctionCall", "FunctionCallTypedDict", "FunctionTypedDict", "HTTPValidationError", "HTTPValidationErrorData", "Loc", "LocTypedDict", "Messages", "MessagesTypedDict", "ResponseFormat", "ResponseFormatTypedDict", "ResponseFormats", "Role", "SDKError", "Security", "SecurityTypedDict", "Stop", "StopTypedDict", "SystemMessage", "SystemMessageTypedDict", "TextChunk", "TextChunkTypedDict", "Tool", "ToolCall", "ToolCallTypedDict", "ToolChoice", "ToolMessage", "ToolMessageRole", "ToolMessageTypedDict", "ToolTypedDict", "UsageInfo", "UsageInfoTypedDict", "UserMessage", "UserMessageContent", "UserMessageContentTypedDict", "UserMessageRole", "UserMessageTypedDict", "ValidationError", "ValidationErrorTypedDict"]
|
|
28
|
+
__all__ = ["Arguments", "ArgumentsTypedDict", "AssistantMessage", "AssistantMessageRole", "AssistantMessageTypedDict", "ChatCompletionChoice", "ChatCompletionChoiceFinishReason", "ChatCompletionChoiceTypedDict", "ChatCompletionRequest", "ChatCompletionRequestMessages", "ChatCompletionRequestMessagesTypedDict", "ChatCompletionRequestStop", "ChatCompletionRequestStopTypedDict", "ChatCompletionRequestToolChoice", "ChatCompletionRequestTypedDict", "ChatCompletionResponse", "ChatCompletionResponseTypedDict", "ChatCompletionStreamRequest", "ChatCompletionStreamRequestTypedDict", "CompletionChunk", "CompletionChunkTypedDict", "CompletionEvent", "CompletionEventTypedDict", "CompletionResponseStreamChoice", "CompletionResponseStreamChoiceTypedDict", "Content", "ContentChunk", "ContentChunkTypedDict", "ContentTypedDict", "DeltaMessage", "DeltaMessageTypedDict", "FinishReason", "Function", "FunctionCall", "FunctionCallTypedDict", "FunctionTypedDict", "HTTPValidationError", "HTTPValidationErrorData", "Loc", "LocTypedDict", "Messages", "MessagesTypedDict", "ResponseFormat", "ResponseFormatTypedDict", "ResponseFormats", "Role", "SDKError", "Security", "SecurityTypedDict", "Stop", "StopTypedDict", "SystemMessage", "SystemMessageTypedDict", "TextChunk", "TextChunkTypedDict", "Tool", "ToolCall", "ToolCallTypedDict", "ToolChoice", "ToolMessage", "ToolMessageRole", "ToolMessageTypedDict", "ToolTypedDict", "UsageInfo", "UsageInfoTypedDict", "UserMessage", "UserMessageContent", "UserMessageContentTypedDict", "UserMessageRole", "UserMessageTypedDict", "ValidationError", "ValidationErrorTypedDict"]
|
|
@@ -14,6 +14,20 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
14
14
|
from typing_extensions import Annotated, NotRequired
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
ChatCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
18
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
ChatCompletionRequestStop = Union[str, List[str]]
|
|
22
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
ChatCompletionRequestMessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
ChatCompletionRequestMessages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
29
|
+
|
|
30
|
+
|
|
17
31
|
ChatCompletionRequestToolChoice = Literal["auto", "none", "any"]
|
|
18
32
|
|
|
19
33
|
class ChatCompletionRequestTypedDict(TypedDict):
|
|
@@ -93,17 +107,3 @@ class ChatCompletionRequest(BaseModel):
|
|
|
93
107
|
|
|
94
108
|
return m
|
|
95
109
|
|
|
96
|
-
|
|
97
|
-
ChatCompletionRequestStopTypedDict = Union[str, List[str]]
|
|
98
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
ChatCompletionRequestStop = Union[str, List[str]]
|
|
102
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
ChatCompletionRequestMessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
ChatCompletionRequestMessages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
109
|
-
|
|
@@ -14,6 +14,20 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
14
14
|
from typing_extensions import Annotated, NotRequired
|
|
15
15
|
|
|
16
16
|
|
|
17
|
+
StopTypedDict = Union[str, List[str]]
|
|
18
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
Stop = Union[str, List[str]]
|
|
22
|
+
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
MessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
Messages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
29
|
+
|
|
30
|
+
|
|
17
31
|
ToolChoice = Literal["auto", "none", "any"]
|
|
18
32
|
|
|
19
33
|
class ChatCompletionStreamRequestTypedDict(TypedDict):
|
|
@@ -91,17 +105,3 @@ class ChatCompletionStreamRequest(BaseModel):
|
|
|
91
105
|
|
|
92
106
|
return m
|
|
93
107
|
|
|
94
|
-
|
|
95
|
-
StopTypedDict = Union[str, List[str]]
|
|
96
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
Stop = Union[str, List[str]]
|
|
100
|
-
r"""Stop generation if this token is detected. Or if one of these tokens is detected when providing an array"""
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
MessagesTypedDict = Union[SystemMessageTypedDict, UserMessageTypedDict, AssistantMessageTypedDict, ToolMessageTypedDict]
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
Messages = Annotated[Union[Annotated[AssistantMessage, Tag("assistant")], Annotated[SystemMessage, Tag("system")], Annotated[ToolMessage, Tag("tool")], Annotated[UserMessage, Tag("user")]], Discriminator(lambda m: get_discriminator(m, "role", "role"))]
|
|
107
|
-
|
|
@@ -4,20 +4,20 @@ from __future__ import annotations
|
|
|
4
4
|
from .toolcall import ToolCall, ToolCallTypedDict
|
|
5
5
|
from mistralai_azure.types import BaseModel, Nullable, OptionalNullable, UNSET, UNSET_SENTINEL
|
|
6
6
|
from pydantic import model_serializer
|
|
7
|
-
from typing import Optional, TypedDict
|
|
7
|
+
from typing import List, Optional, TypedDict
|
|
8
8
|
from typing_extensions import NotRequired
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class DeltaMessageTypedDict(TypedDict):
|
|
12
12
|
role: NotRequired[str]
|
|
13
13
|
content: NotRequired[str]
|
|
14
|
-
tool_calls: NotRequired[Nullable[ToolCallTypedDict]]
|
|
14
|
+
tool_calls: NotRequired[Nullable[List[ToolCallTypedDict]]]
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class DeltaMessage(BaseModel):
|
|
18
18
|
role: Optional[str] = None
|
|
19
19
|
content: Optional[str] = None
|
|
20
|
-
tool_calls: OptionalNullable[ToolCall] = UNSET
|
|
20
|
+
tool_calls: OptionalNullable[List[ToolCall]] = UNSET
|
|
21
21
|
|
|
22
22
|
@model_serializer(mode="wrap")
|
|
23
23
|
def serialize_model(self, handler):
|
|
@@ -2,15 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
from mistralai_azure.types import BaseModel
|
|
5
|
-
from typing import TypedDict
|
|
5
|
+
from typing import Any, Dict, TypedDict, Union
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
ArgumentsTypedDict = Union[Dict[str, Any], str]
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Arguments = Union[Dict[str, Any], str]
|
|
6
12
|
|
|
7
13
|
|
|
8
14
|
class FunctionCallTypedDict(TypedDict):
|
|
9
15
|
name: str
|
|
10
|
-
arguments:
|
|
16
|
+
arguments: ArgumentsTypedDict
|
|
11
17
|
|
|
12
18
|
|
|
13
19
|
class FunctionCall(BaseModel):
|
|
14
20
|
name: str
|
|
15
|
-
arguments:
|
|
21
|
+
arguments: Arguments
|
|
16
22
|
|
|
@@ -7,6 +7,12 @@ from typing import List, Literal, Optional, TypedDict, Union
|
|
|
7
7
|
from typing_extensions import NotRequired
|
|
8
8
|
|
|
9
9
|
|
|
10
|
+
ContentTypedDict = Union[str, List[ContentChunkTypedDict]]
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Content = Union[str, List[ContentChunk]]
|
|
14
|
+
|
|
15
|
+
|
|
10
16
|
Role = Literal["system"]
|
|
11
17
|
|
|
12
18
|
class SystemMessageTypedDict(TypedDict):
|
|
@@ -18,9 +24,3 @@ class SystemMessage(BaseModel):
|
|
|
18
24
|
content: Content
|
|
19
25
|
role: Optional[Role] = "system"
|
|
20
26
|
|
|
21
|
-
|
|
22
|
-
ContentTypedDict = Union[str, List[ContentChunkTypedDict]]
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
Content = Union[str, List[ContentChunk]]
|
|
26
|
-
|