mistralai 1.0.2__py3-none-any.whl → 1.1.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/sdkhooks.py +23 -4
- mistralai/_hooks/types.py +27 -9
- mistralai/agents.py +286 -150
- mistralai/basesdk.py +90 -5
- mistralai/chat.py +260 -144
- mistralai/embeddings.py +73 -53
- mistralai/files.py +252 -192
- mistralai/fim.py +174 -110
- mistralai/fine_tuning.py +3 -2
- mistralai/jobs.py +372 -263
- mistralai/models/__init__.py +499 -46
- mistralai/models/agentscompletionrequest.py +47 -11
- mistralai/models/agentscompletionstreamrequest.py +49 -11
- mistralai/models/archiveftmodelout.py +6 -2
- mistralai/models/assistantmessage.py +11 -4
- mistralai/models/{modelcard.py → basemodelcard.py} +37 -14
- mistralai/models/chatcompletionchoice.py +4 -2
- mistralai/models/chatcompletionrequest.py +57 -11
- mistralai/models/chatcompletionresponse.py +6 -2
- mistralai/models/chatcompletionstreamrequest.py +59 -11
- mistralai/models/checkpointout.py +3 -2
- mistralai/models/completionchunk.py +10 -3
- mistralai/models/completionevent.py +1 -2
- mistralai/models/completionresponsestreamchoice.py +13 -5
- mistralai/models/contentchunk.py +13 -10
- mistralai/models/delete_model_v1_models_model_id_deleteop.py +4 -3
- mistralai/models/deletefileout.py +3 -2
- mistralai/models/deletemodelout.py +3 -2
- mistralai/models/deltamessage.py +9 -4
- mistralai/models/detailedjobout.py +59 -7
- mistralai/models/embeddingrequest.py +9 -4
- mistralai/models/embeddingresponse.py +5 -2
- mistralai/models/embeddingresponsedata.py +3 -2
- mistralai/models/eventout.py +9 -4
- mistralai/models/files_api_routes_delete_fileop.py +4 -3
- mistralai/models/files_api_routes_retrieve_fileop.py +4 -3
- mistralai/models/files_api_routes_upload_fileop.py +27 -8
- mistralai/models/fileschema.py +26 -5
- mistralai/models/fimcompletionrequest.py +26 -5
- mistralai/models/fimcompletionresponse.py +6 -2
- mistralai/models/fimcompletionstreamrequest.py +26 -5
- mistralai/models/finetuneablemodel.py +7 -1
- mistralai/models/ftmodelcapabilitiesout.py +4 -2
- mistralai/models/ftmodelcard.py +103 -0
- mistralai/models/ftmodelout.py +32 -6
- mistralai/models/function.py +3 -2
- mistralai/models/functioncall.py +2 -2
- mistralai/models/functionname.py +17 -0
- mistralai/models/githubrepositoryin.py +15 -4
- mistralai/models/githubrepositoryout.py +15 -4
- mistralai/models/httpvalidationerror.py +2 -2
- mistralai/models/imageurl.py +48 -0
- mistralai/models/imageurlchunk.py +32 -0
- mistralai/models/jobin.py +22 -5
- mistralai/models/jobmetadataout.py +31 -6
- mistralai/models/jobout.py +55 -7
- mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py +4 -3
- mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py +4 -3
- mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py +3 -2
- mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py +4 -3
- mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py +83 -16
- mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py +4 -3
- mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py +4 -3
- mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py +9 -4
- mistralai/models/jobsout.py +6 -2
- mistralai/models/legacyjobmetadataout.py +45 -6
- mistralai/models/listfilesout.py +2 -2
- mistralai/models/metricout.py +11 -6
- mistralai/models/modelcapabilities.py +7 -2
- mistralai/models/modellist.py +21 -7
- mistralai/models/responseformat.py +6 -7
- mistralai/models/responseformats.py +8 -0
- mistralai/models/retrieve_model_v1_models_model_id_getop.py +24 -5
- mistralai/models/retrievefileout.py +26 -5
- mistralai/models/security.py +12 -3
- mistralai/models/systemmessage.py +6 -5
- mistralai/models/textchunk.py +9 -4
- mistralai/models/tool.py +9 -8
- mistralai/models/toolcall.py +9 -7
- mistralai/models/toolchoice.py +29 -0
- mistralai/models/toolchoiceenum.py +7 -0
- mistralai/models/toolmessage.py +11 -4
- mistralai/models/tooltypes.py +8 -0
- mistralai/models/trainingfile.py +2 -2
- mistralai/models/trainingparameters.py +27 -6
- mistralai/models/trainingparametersin.py +29 -8
- mistralai/models/unarchiveftmodelout.py +6 -2
- mistralai/models/updateftmodelin.py +8 -4
- mistralai/models/uploadfileout.py +26 -5
- mistralai/models/usageinfo.py +3 -2
- mistralai/models/usermessage.py +6 -5
- mistralai/models/validationerror.py +3 -2
- mistralai/models/wandbintegration.py +14 -4
- mistralai/models/wandbintegrationout.py +13 -4
- mistralai/models_.py +392 -294
- mistralai/sdk.py +24 -19
- mistralai/sdkconfiguration.py +6 -8
- mistralai/utils/__init__.py +6 -1
- mistralai/utils/logger.py +4 -1
- mistralai/utils/retries.py +2 -1
- mistralai/utils/security.py +13 -6
- {mistralai-1.0.2.dist-info → mistralai-1.1.0.dist-info}/METADATA +103 -74
- mistralai-1.1.0.dist-info/RECORD +254 -0
- mistralai_azure/_hooks/sdkhooks.py +23 -4
- mistralai_azure/_hooks/types.py +27 -9
- mistralai_azure/basesdk.py +91 -6
- mistralai_azure/chat.py +252 -144
- mistralai_azure/models/__init__.py +157 -15
- mistralai_azure/models/assistantmessage.py +18 -5
- mistralai_azure/models/chatcompletionchoice.py +7 -3
- mistralai_azure/models/chatcompletionrequest.py +65 -12
- mistralai_azure/models/chatcompletionresponse.py +6 -2
- mistralai_azure/models/chatcompletionstreamrequest.py +67 -12
- mistralai_azure/models/completionchunk.py +10 -3
- mistralai_azure/models/completionevent.py +1 -2
- mistralai_azure/models/completionresponsestreamchoice.py +10 -4
- mistralai_azure/models/contentchunk.py +4 -11
- mistralai_azure/models/deltamessage.py +16 -5
- mistralai_azure/models/function.py +3 -2
- mistralai_azure/models/functioncall.py +2 -2
- mistralai_azure/models/functionname.py +17 -0
- mistralai_azure/models/httpvalidationerror.py +2 -2
- mistralai_azure/models/responseformat.py +6 -7
- mistralai_azure/models/responseformats.py +8 -0
- mistralai_azure/models/security.py +12 -3
- mistralai_azure/models/systemmessage.py +6 -5
- mistralai_azure/models/textchunk.py +9 -4
- mistralai_azure/models/tool.py +9 -8
- mistralai_azure/models/toolcall.py +9 -7
- mistralai_azure/models/toolchoice.py +29 -0
- mistralai_azure/models/toolchoiceenum.py +7 -0
- mistralai_azure/models/toolmessage.py +18 -5
- mistralai_azure/models/tooltypes.py +8 -0
- mistralai_azure/models/usageinfo.py +3 -2
- mistralai_azure/models/usermessage.py +6 -5
- mistralai_azure/models/validationerror.py +3 -2
- mistralai_azure/sdkconfiguration.py +6 -8
- mistralai_azure/utils/__init__.py +8 -3
- mistralai_azure/utils/forms.py +10 -9
- mistralai_azure/utils/headers.py +8 -8
- mistralai_azure/utils/logger.py +6 -0
- mistralai_azure/utils/queryparams.py +16 -14
- mistralai_azure/utils/retries.py +2 -1
- mistralai_azure/utils/security.py +12 -6
- mistralai_azure/utils/serializers.py +17 -8
- mistralai_azure/utils/url.py +13 -8
- mistralai_azure/utils/values.py +6 -0
- mistralai_gcp/_hooks/sdkhooks.py +23 -4
- mistralai_gcp/_hooks/types.py +27 -9
- mistralai_gcp/basesdk.py +91 -6
- mistralai_gcp/chat.py +252 -144
- mistralai_gcp/fim.py +166 -110
- mistralai_gcp/models/__init__.py +179 -17
- mistralai_gcp/models/assistantmessage.py +18 -5
- mistralai_gcp/models/chatcompletionchoice.py +7 -3
- mistralai_gcp/models/chatcompletionrequest.py +62 -12
- mistralai_gcp/models/chatcompletionresponse.py +6 -2
- mistralai_gcp/models/chatcompletionstreamrequest.py +64 -12
- mistralai_gcp/models/completionchunk.py +10 -3
- mistralai_gcp/models/completionevent.py +1 -2
- mistralai_gcp/models/completionresponsestreamchoice.py +10 -4
- mistralai_gcp/models/contentchunk.py +4 -11
- mistralai_gcp/models/deltamessage.py +16 -5
- mistralai_gcp/models/fimcompletionrequest.py +33 -6
- mistralai_gcp/models/fimcompletionresponse.py +6 -2
- mistralai_gcp/models/fimcompletionstreamrequest.py +33 -6
- mistralai_gcp/models/function.py +3 -2
- mistralai_gcp/models/functioncall.py +2 -2
- mistralai_gcp/models/functionname.py +17 -0
- mistralai_gcp/models/httpvalidationerror.py +2 -2
- mistralai_gcp/models/responseformat.py +6 -7
- mistralai_gcp/models/responseformats.py +8 -0
- mistralai_gcp/models/security.py +12 -3
- mistralai_gcp/models/systemmessage.py +6 -5
- mistralai_gcp/models/textchunk.py +9 -4
- mistralai_gcp/models/tool.py +9 -8
- mistralai_gcp/models/toolcall.py +9 -7
- mistralai_gcp/models/toolchoice.py +29 -0
- mistralai_gcp/models/toolchoiceenum.py +7 -0
- mistralai_gcp/models/toolmessage.py +18 -5
- mistralai_gcp/models/tooltypes.py +8 -0
- mistralai_gcp/models/usageinfo.py +3 -2
- mistralai_gcp/models/usermessage.py +6 -5
- mistralai_gcp/models/validationerror.py +3 -2
- mistralai_gcp/sdk.py +14 -10
- mistralai_gcp/sdkconfiguration.py +6 -8
- mistralai_gcp/utils/__init__.py +8 -3
- mistralai_gcp/utils/forms.py +10 -9
- mistralai_gcp/utils/headers.py +8 -8
- mistralai_gcp/utils/logger.py +6 -0
- mistralai_gcp/utils/queryparams.py +16 -14
- mistralai_gcp/utils/retries.py +2 -1
- mistralai_gcp/utils/security.py +12 -6
- mistralai_gcp/utils/serializers.py +17 -8
- mistralai_gcp/utils/url.py +13 -8
- mistralai_gcp/utils/values.py +6 -0
- mistralai-1.0.2.dist-info/RECORD +0 -236
- {mistralai-1.0.2.dist-info → mistralai-1.1.0.dist-info}/LICENSE +0 -0
- {mistralai-1.0.2.dist-info → mistralai-1.1.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
mistralai_azure/__init__.py,sha256=GiuvHuZHfHOt3Gy9V7IFS9rncGA536cO4qI9WhouYfY,146
|
|
2
|
+
mistralai_azure/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
3
|
+
mistralai_azure/_hooks/custom_user_agent.py,sha256=1VAY7_oknRQGL8QNO0uCRHg6r7XYlssOMTj3gzyIVyk,538
|
|
4
|
+
mistralai_azure/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
5
|
+
mistralai_azure/_hooks/sdkhooks.py,sha256=urOhVMYX_n5KgMoNDNmGs4fsgUWoeSG6_GarhPxH-YU,2565
|
|
6
|
+
mistralai_azure/_hooks/types.py,sha256=ealwk4q-4oIauxj5Nyx9xmu9vX0nm4vcDALDy4qydgE,2576
|
|
7
|
+
mistralai_azure/basesdk.py,sha256=ZtCvahXCyuWen9Jk7BC8BoeChQZCb04JAA6oG-0SOaE,11218
|
|
8
|
+
mistralai_azure/chat.py,sha256=nsOHJnAA9pDbotXhtgN1PBdn50M1tAYkHsRb3JxfAjc,27707
|
|
9
|
+
mistralai_azure/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
|
|
10
|
+
mistralai_azure/models/__init__.py,sha256=hJX6abN6pDDetZcmkjXNX058jYPB_yKnf-bA8Wu6-Uw,4916
|
|
11
|
+
mistralai_azure/models/assistantmessage.py,sha256=sjuTCWOh6ZcJCawVWjIlP5qmM67O48G-4MmYqo6R1A0,2281
|
|
12
|
+
mistralai_azure/models/chatcompletionchoice.py,sha256=JUttqPM3NPTb2sYYCw8qET84FvDcrw98BUPuORNnsEI,668
|
|
13
|
+
mistralai_azure/models/chatcompletionrequest.py,sha256=lyJw9rLbT43IfsZPX71RIlnCEu7ejkPcENxAMr-BHQs,7532
|
|
14
|
+
mistralai_azure/models/chatcompletionresponse.py,sha256=i_c0xFy2RRTh9ndP24YNkH1MgacCyIAsU-5b94N82Zk,798
|
|
15
|
+
mistralai_azure/models/chatcompletionstreamrequest.py,sha256=Z2OghMdqosNrnn7BqxSq3oPDrmm9jsptdm9s4uNWsiY,6737
|
|
16
|
+
mistralai_azure/models/completionchunk.py,sha256=RYNPOAAyEaqzoTe--V94PgNaCZG_7GZv-yVsTTr_Tzw,877
|
|
17
|
+
mistralai_azure/models/completionevent.py,sha256=gY1Y48lb8OrAUN4thjc8MerZs_c4ZdNZFu3MECz70mg,394
|
|
18
|
+
mistralai_azure/models/completionresponsestreamchoice.py,sha256=jElnH3PJ8WWDssgM-QglC70hDiC9eAdNbbi9GIhF86k,1567
|
|
19
|
+
mistralai_azure/models/contentchunk.py,sha256=3lXlnRUBHMl2ZRiZ5DlaPU4SFh7-rLttRmbsokOgSMQ,233
|
|
20
|
+
mistralai_azure/models/deltamessage.py,sha256=KSuWsf697o52Z5WnibsGssymDqwNoUiWVb0KtbgB898,1681
|
|
21
|
+
mistralai_azure/models/function.py,sha256=mmoHJ7vPVC10SIp2vV-mBoZ5NlN6-crS3HfGB-yFDOI,473
|
|
22
|
+
mistralai_azure/models/functioncall.py,sha256=iXfHoSE5FeO2SY5sJWUQiwmM3brMPIo06NrMOiDpQ7Y,453
|
|
23
|
+
mistralai_azure/models/functionname.py,sha256=wTJEgxoqDWxVnmBMC-2Hyb9BK2ph9B1yupB_zt8M_cU,462
|
|
24
|
+
mistralai_azure/models/httpvalidationerror.py,sha256=1kHAY-hUIAUIWzk8eX9yKWlVLK-Ej4EiZZ51pnutdYc,645
|
|
25
|
+
mistralai_azure/models/responseformat.py,sha256=bed2DTTYncgMaBBtQ1SiSApQlkhPWe9rKR1MWAmsDN4,1051
|
|
26
|
+
mistralai_azure/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
|
|
27
|
+
mistralai_azure/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
28
|
+
mistralai_azure/models/security.py,sha256=CfsZjjJV2bAJ2g4ICdUH_IM5Ei171EbyE4F19zGUIFA,645
|
|
29
|
+
mistralai_azure/models/systemmessage.py,sha256=jfqbK2Usgapz4tLajUpt2gZy8S1RlJClTknXPPrQRbY,626
|
|
30
|
+
mistralai_azure/models/textchunk.py,sha256=ab0_j6IM_tFhvKn-jaWgOjbKwKLaE6Eq--wARuD6ZG8,512
|
|
31
|
+
mistralai_azure/models/tool.py,sha256=z4mn4BUX1Wv_uZ_g5YDuJjHW7h4VajynBWmmtUlo2eI,693
|
|
32
|
+
mistralai_azure/models/toolcall.py,sha256=zmK0itVT8oYAXjgWVrxoO2qLLwlcC4pcqhcgPGKQYfk,778
|
|
33
|
+
mistralai_azure/models/toolchoice.py,sha256=VAWcH9VU3ipGjLVdyhoLWnIIkr3ydOtK-DmLK97n4EQ,1033
|
|
34
|
+
mistralai_azure/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
35
|
+
mistralai_azure/models/toolmessage.py,sha256=_GuUxz5gIeev-yWurmm_-UjX7IdsIgQg4K_j5UlPy7s,1694
|
|
36
|
+
mistralai_azure/models/tooltypes.py,sha256=AGC_JaMGWyMRJ1rCIGhLh5DWbyohdiQkEeKoW5a97Ro,250
|
|
37
|
+
mistralai_azure/models/usageinfo.py,sha256=5nsPk_ZtalsaWdNJqSD4iXDa41WxwN3sPaJUXmplhgg,396
|
|
38
|
+
mistralai_azure/models/usermessage.py,sha256=Kole3w_6MP4c-Uwrq3Yp37ACFpk_8ClQ5NK7pbywwQw,710
|
|
39
|
+
mistralai_azure/models/validationerror.py,sha256=kAynmaEh5dXZj7POPJIOsbd2W6MiF9mFny3BDy8y4UM,435
|
|
40
|
+
mistralai_azure/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
41
|
+
mistralai_azure/sdk.py,sha256=ZVPE9lFzswEMlHw_kiG_j5vzoJ5BwEYlVLCYGmYDjpA,3936
|
|
42
|
+
mistralai_azure/sdkconfiguration.py,sha256=ZBo6HDglmydKUNxVWKiUITgxHPrS9XpmD3tisG1_o-I,1711
|
|
43
|
+
mistralai_azure/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
44
|
+
mistralai_azure/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
45
|
+
mistralai_azure/utils/__init__.py,sha256=hMYIjt_PgxXDJRBbT7MetTB7LBup9FJeFDVWNFbhKsA,2169
|
|
46
|
+
mistralai_azure/utils/annotations.py,sha256=475O8UTbQNQiawh8ZoJi_NDPKqhgW7vzy046ffMU8jI,655
|
|
47
|
+
mistralai_azure/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
48
|
+
mistralai_azure/utils/eventstreaming.py,sha256=klSQ0FURc-hqYz1si1EG92VCFhfaxyBo_xP2mX3BBWo,4917
|
|
49
|
+
mistralai_azure/utils/forms.py,sha256=L-y62DiD0FXnq7WIyw8BAMbdr7sZDwhZ_3YsdviBbaA,6325
|
|
50
|
+
mistralai_azure/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
51
|
+
mistralai_azure/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
52
|
+
mistralai_azure/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
53
|
+
mistralai_azure/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
54
|
+
mistralai_azure/utils/requestbodies.py,sha256=PXmttCHm1zWGmwbrTyXYXxbeULavRWqxfD54Jx2CdJE,2084
|
|
55
|
+
mistralai_azure/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
56
|
+
mistralai_azure/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
57
|
+
mistralai_azure/utils/serializers.py,sha256=FRCVu7wAf3VCss55ve62zuvdwnjDIHLQUDHc8fkGO4c,4383
|
|
58
|
+
mistralai_azure/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
59
|
+
mistralai_azure/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
|
60
|
+
mistralai_gcp/__init__.py,sha256=GiuvHuZHfHOt3Gy9V7IFS9rncGA536cO4qI9WhouYfY,146
|
|
61
|
+
mistralai_gcp/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
62
|
+
mistralai_gcp/_hooks/custom_user_agent.py,sha256=1VAY7_oknRQGL8QNO0uCRHg6r7XYlssOMTj3gzyIVyk,538
|
|
63
|
+
mistralai_gcp/_hooks/registration.py,sha256=5BN-U92pwP5kUaN7EOso2vWrwZlLvRcU5Coccibqp20,741
|
|
64
|
+
mistralai_gcp/_hooks/sdkhooks.py,sha256=nr_ACx8Rn5xvTkmZP6_EI-f_0hw8wMyPqPHNvjAWAxI,2563
|
|
65
|
+
mistralai_gcp/_hooks/types.py,sha256=DJD5-sKZfAj0tKgSU5w0YNuJE_C8PDa5n1V27T_7SmE,2574
|
|
66
|
+
mistralai_gcp/basesdk.py,sha256=cJcOSsYxfNznSOMrDlh0z06_e8HXnlIFCfIYm0yOPlc,11212
|
|
67
|
+
mistralai_gcp/chat.py,sha256=19fkz6ioWXcyafDVAUgIC3CH_hXARg27yNKJtvUogbw,27623
|
|
68
|
+
mistralai_gcp/fim.py,sha256=2qvkaOYf2J6x1SmsCkKG3qCmF39lXJaW8ERdxU10v6c,24149
|
|
69
|
+
mistralai_gcp/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
|
|
70
|
+
mistralai_gcp/models/__init__.py,sha256=Q4O3kZO0ASk6thhc8H9XN8qB5ue_jWQkozlJy3u3xOg,5738
|
|
71
|
+
mistralai_gcp/models/assistantmessage.py,sha256=dcc-CWSUmQYxT951dK_vcqMIYkXt4bJ0EP9YldUm0NA,2279
|
|
72
|
+
mistralai_gcp/models/chatcompletionchoice.py,sha256=2Ndhoboxs4zxAMd3HY0QYJJQtl8TUcLo76c8nuBahNI,666
|
|
73
|
+
mistralai_gcp/models/chatcompletionrequest.py,sha256=Bcmsuo949mDEjeX4Upi08fi9ua-tW8NIxBvgpwVRpMY,7579
|
|
74
|
+
mistralai_gcp/models/chatcompletionresponse.py,sha256=PuuWxBUSq7iDP1un-LwnLMZkfdPNC3lblhdHwMKYpUM,796
|
|
75
|
+
mistralai_gcp/models/chatcompletionstreamrequest.py,sha256=4dZ2j-imbS-u6IoHdAy8fOQusHO7AgrGEMhvYMdxCiw,6784
|
|
76
|
+
mistralai_gcp/models/completionchunk.py,sha256=_JvTeNk3nr7OnoWuTTqxq7Sij86vJglEbExyvpZyEQ0,875
|
|
77
|
+
mistralai_gcp/models/completionevent.py,sha256=AwqawIqBBIdPqj6W99E-LkpKyq55jkvMiUXIgoJOyAI,392
|
|
78
|
+
mistralai_gcp/models/completionresponsestreamchoice.py,sha256=_pJwBy7-lRfiI9WCBBOLSTdphwoT9fDU3oLx_q9ZrmY,1565
|
|
79
|
+
mistralai_gcp/models/contentchunk.py,sha256=3lXlnRUBHMl2ZRiZ5DlaPU4SFh7-rLttRmbsokOgSMQ,233
|
|
80
|
+
mistralai_gcp/models/deltamessage.py,sha256=u4mokCNNJk-o7jjSbbC_orNO4v1kCVB5vkrsLsTqjXs,1679
|
|
81
|
+
mistralai_gcp/models/fimcompletionrequest.py,sha256=SlcVyTle9glpZ61jWYBHKnCLl4jUeN5yQQudZuSQplY,6109
|
|
82
|
+
mistralai_gcp/models/fimcompletionresponse.py,sha256=ytRNA2Z3bHD7Uh4szsI_3SbgngAVypn38RVOieZA-n0,794
|
|
83
|
+
mistralai_gcp/models/fimcompletionstreamrequest.py,sha256=OfEVh28QrOdd8xgUevXlNJs8qATtAdVZbqoA9B-e-JY,5476
|
|
84
|
+
mistralai_gcp/models/function.py,sha256=4ftUlAjoiDgeFD-uRBKIFTmKCbXViKmC7GjBGsxGrXA,471
|
|
85
|
+
mistralai_gcp/models/functioncall.py,sha256=2JBwNaJIwbdWKivKqmeZ6KuFkncjQD1SF_Z6bNHS40w,451
|
|
86
|
+
mistralai_gcp/models/functionname.py,sha256=KjHEJrK-9BpfxXdCatbk5qO6cp9e0e-fxYCEEB-z6AA,460
|
|
87
|
+
mistralai_gcp/models/httpvalidationerror.py,sha256=0CiCUPO3Ph5_cZlrpJSAVWOxkUjSDKHZEO2wSj2_iwA,641
|
|
88
|
+
mistralai_gcp/models/responseformat.py,sha256=E_nOGVfOhwMk5iUdKSwDiEXaVEQ27K-a9xcGF_RpxF8,1049
|
|
89
|
+
mistralai_gcp/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
|
|
90
|
+
mistralai_gcp/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
91
|
+
mistralai_gcp/models/security.py,sha256=ZIuV7w-RCQgb7YPpuOnxBobcwIy0Av9FbHacj9B06Nk,641
|
|
92
|
+
mistralai_gcp/models/systemmessage.py,sha256=d2qGH3B000fkPGlS1Vt1zNiCpyiLbL5dwcNFIo7YoaQ,624
|
|
93
|
+
mistralai_gcp/models/textchunk.py,sha256=JCd_vV6vdL1qIHMcspp2dh5ETEtxZMddy3K3DyLsPkE,510
|
|
94
|
+
mistralai_gcp/models/tool.py,sha256=Bw8wY_DMs0dz7weZa8cZXsKJVXnmT9w1nUa2Eu8xbhM,689
|
|
95
|
+
mistralai_gcp/models/toolcall.py,sha256=oqZut9Pf1MWGiLnPYTL9F-2SSiTdILGVpTPh_MJaLP8,774
|
|
96
|
+
mistralai_gcp/models/toolchoice.py,sha256=63JWh27QJ8LIpTANCf1ZrIpTGM0XQiwPJYzC26PnaFM,1029
|
|
97
|
+
mistralai_gcp/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
98
|
+
mistralai_gcp/models/toolmessage.py,sha256=DJBSZAWsQ64azPXyFuv7n5sQwN5r2-rpUAyVQhxbznM,1692
|
|
99
|
+
mistralai_gcp/models/tooltypes.py,sha256=6vY1LVrp7xzXlidl1x-3SSwqdx9TBlecIeKd4sU7e6I,248
|
|
100
|
+
mistralai_gcp/models/usageinfo.py,sha256=Fpy33iLmSqRmxlWT6RhPI101Djd5Dhlfq5tHzHWOSyo,394
|
|
101
|
+
mistralai_gcp/models/usermessage.py,sha256=HKjVHJQ6DeBzkagTLdgM5TCOn1Ic7gUvQXjn27OO1rs,708
|
|
102
|
+
mistralai_gcp/models/validationerror.py,sha256=L2d-zUzp42JP6LrOgs-_0y0ewfZyIn4CNBrlrkOQT_c,433
|
|
103
|
+
mistralai_gcp/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
104
|
+
mistralai_gcp/sdk.py,sha256=WkfTdRfXdLVqJXNvQG53N8ewRQDj3w-3dGztWaxR2Og,6506
|
|
105
|
+
mistralai_gcp/sdkconfiguration.py,sha256=w3cni8uLse0T5VYC-H9-G36JRQnp_iseav7e8Iqz2I0,1705
|
|
106
|
+
mistralai_gcp/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
107
|
+
mistralai_gcp/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
108
|
+
mistralai_gcp/utils/__init__.py,sha256=hMYIjt_PgxXDJRBbT7MetTB7LBup9FJeFDVWNFbhKsA,2169
|
|
109
|
+
mistralai_gcp/utils/annotations.py,sha256=475O8UTbQNQiawh8ZoJi_NDPKqhgW7vzy046ffMU8jI,655
|
|
110
|
+
mistralai_gcp/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
111
|
+
mistralai_gcp/utils/eventstreaming.py,sha256=klSQ0FURc-hqYz1si1EG92VCFhfaxyBo_xP2mX3BBWo,4917
|
|
112
|
+
mistralai_gcp/utils/forms.py,sha256=L-y62DiD0FXnq7WIyw8BAMbdr7sZDwhZ_3YsdviBbaA,6325
|
|
113
|
+
mistralai_gcp/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
114
|
+
mistralai_gcp/utils/logger.py,sha256=9nUtlKHo3RFsIVyMw5jq3wEKZMVwHnZMSc6xLp-otC0,520
|
|
115
|
+
mistralai_gcp/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
116
|
+
mistralai_gcp/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
117
|
+
mistralai_gcp/utils/requestbodies.py,sha256=PXmttCHm1zWGmwbrTyXYXxbeULavRWqxfD54Jx2CdJE,2084
|
|
118
|
+
mistralai_gcp/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
119
|
+
mistralai_gcp/utils/security.py,sha256=ktep3HKwbFs-MLxUYTM8Jd4v-ZBum5_Z0u1PFIdYBX0,5516
|
|
120
|
+
mistralai_gcp/utils/serializers.py,sha256=FRCVu7wAf3VCss55ve62zuvdwnjDIHLQUDHc8fkGO4c,4383
|
|
121
|
+
mistralai_gcp/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
122
|
+
mistralai_gcp/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
|
123
|
+
py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
124
|
+
mistralai/__init__.py,sha256=GiuvHuZHfHOt3Gy9V7IFS9rncGA536cO4qI9WhouYfY,146
|
|
125
|
+
mistralai/_hooks/__init__.py,sha256=9_7W5jAYw8rcO8Kfc-Ty-lB82BHfksAJJpVFb_UeU1c,146
|
|
126
|
+
mistralai/_hooks/custom_user_agent.py,sha256=Q_bKWa4cqUr7nOybJLIqdR63K3jVzdeXh101nyngFaA,543
|
|
127
|
+
mistralai/_hooks/deprecation_warning.py,sha256=eyEOf7-o9uqqNWJnufD2RXp3dYrGV4in9q76yLC1zog,921
|
|
128
|
+
mistralai/_hooks/registration.py,sha256=ML0W-XbE4WYdJ4eGks_XxF2aLCJTaIWjQATFGzFwvyU,861
|
|
129
|
+
mistralai/_hooks/sdkhooks.py,sha256=s-orhdvnV89TmI3QiPC2LWQtYeM9RrsG1CTll-fYZmQ,2559
|
|
130
|
+
mistralai/_hooks/types.py,sha256=vUkTVk_TSaK10aEj368KYWvnd4T5EsawixMcTro_UHc,2570
|
|
131
|
+
mistralai/agents.py,sha256=EZpaM422sH_OLpaS1xh4GpHM577B81OgIgA-1RlmScE,25157
|
|
132
|
+
mistralai/async_client.py,sha256=KUdYxIIqoD6L7vB0EGwUR6lQ0NK5iCTHjnLVR9CVcJY,355
|
|
133
|
+
mistralai/basesdk.py,sha256=MQIeNInArcIcDYgSy67EDf77ykys9JwjTlnboqdpEJ8,11273
|
|
134
|
+
mistralai/chat.py,sha256=29Ly2TekJcG2EpgMdbg6YtoRvT4rOecUsCU-I0s2qn4,28720
|
|
135
|
+
mistralai/client.py,sha256=hrPg-LciKMKiascF0WbRRmqQyCv1lb2yDh6j-aaKVNo,509
|
|
136
|
+
mistralai/embeddings.py,sha256=PdLKxk7JyNi0EmWF5Fm2bggvJHiT93FqwOz1q-DW23A,7531
|
|
137
|
+
mistralai/files.py,sha256=vc6_HH2RvIdzruZ2UibSSXHBgJqCHz4HfjjTyfV8W_A,24693
|
|
138
|
+
mistralai/fim.py,sha256=zurTle8sGo3yejQtS7MxBC5eqRsv75FL3GZdwnxbahY,24486
|
|
139
|
+
mistralai/fine_tuning.py,sha256=UENQqfE054VEsAYxdruV-TBLFIFfO-joXNznH08GUvE,477
|
|
140
|
+
mistralai/httpclient.py,sha256=S_ItzEchFX-znIdHD6i5-a91H0Dn5QxpT0KhucdHBbI,2595
|
|
141
|
+
mistralai/jobs.py,sha256=tf7-OXiYGR0vlAwcNwaVY07ysIlF1JeKE2I5rbaAQDc,38278
|
|
142
|
+
mistralai/models/__init__.py,sha256=j5mrBivetH0Tahmm_mOIw7yCGFkzE6U-XJO_UYEmH2I,17980
|
|
143
|
+
mistralai/models/agentscompletionrequest.py,sha256=xJsBAtFwTIKodymDrcSXQPrT3OyN8tpIryT1AW4YTKM,5824
|
|
144
|
+
mistralai/models/agentscompletionstreamrequest.py,sha256=JklvX4sOHqgjuRCY5ckjilSo4V7pbZQvP0Upj1yEHXk,5245
|
|
145
|
+
mistralai/models/archiveftmodelout.py,sha256=pJdrSdGY16r4QgURacTsb5I3i0Ughy51HyY_QuVRNj4,644
|
|
146
|
+
mistralai/models/assistantmessage.py,sha256=as_waIUKZYhzP4kqPxX6fI7g3Hzcis_iNmzPjiOU6Wg,2250
|
|
147
|
+
mistralai/models/basemodelcard.py,sha256=yD3X-a9QST04sditjVlNPQeqZDYNb5O8EuuhxEhe--A,2565
|
|
148
|
+
mistralai/models/chatcompletionchoice.py,sha256=KovfIsSa8eOwoOO1DP3HZau6-nlir4lheuWcCEUnzuk,596
|
|
149
|
+
mistralai/models/chatcompletionrequest.py,sha256=HfWxDdmjUpJP5XWwaPbzP7voOBACYAt3G0rIWrSeqpo,7623
|
|
150
|
+
mistralai/models/chatcompletionresponse.py,sha256=Dbn2YIDNnI-1vknxUfDPdWTObLVx4qrQ4P3jfe9oZKo,792
|
|
151
|
+
mistralai/models/chatcompletionstreamrequest.py,sha256=dCsiv9WzN2Oxi72uUfUex50XPpq5jDMXqhEyhuzvXXY,7212
|
|
152
|
+
mistralai/models/checkpointout.py,sha256=LxTSlZbmCy5MFrvTrXjinRj0A2w3Cih0sCs4XuZXSCU,1098
|
|
153
|
+
mistralai/models/completionchunk.py,sha256=tsoYBlLRGR_z1HeYdKy6LvBuaSXX9o8CQW3ruJ2nYp0,871
|
|
154
|
+
mistralai/models/completionevent.py,sha256=8krtGpvbAZoIX6jSNYTB_XfYL4qMB9IukQHqx235W5M,388
|
|
155
|
+
mistralai/models/completionresponsestreamchoice.py,sha256=I4p1RY9y6t3BdasPVjswQW8S056Jrgb6B5Eg8yh8Uco,1657
|
|
156
|
+
mistralai/models/contentchunk.py,sha256=gzhtNmAKX_CO22axRnTn4R6021wrK2zC5gmcXroszpA,654
|
|
157
|
+
mistralai/models/delete_model_v1_models_model_id_deleteop.py,sha256=CMJDLstd_p3SYoK0jseEhLEFoma6AP2KzCrkw0W8bnM,620
|
|
158
|
+
mistralai/models/deletefileout.py,sha256=gV6i2NTjmH5jg3yCVABmhK3iNWbgYExu4i6DOBfadPA,576
|
|
159
|
+
mistralai/models/deletemodelout.py,sha256=THiSlct3nxldSzEtI3D1lk3XVnzQOXD2DZVQypUvlck,693
|
|
160
|
+
mistralai/models/deltamessage.py,sha256=b186E0k58UZwOUVI3b_EN0JUBNJZifez_z6Q9Weums4,1650
|
|
161
|
+
mistralai/models/detailedjobout.py,sha256=E-9W2ZkW8SAcUjcLZ_uo0G8kxcKEnJVaz_RjKam3qrg,4768
|
|
162
|
+
mistralai/models/embeddingrequest.py,sha256=UGqg2A6FLadRtnya_1s2F89sqelMF49LwCx0pcdtmLk,1912
|
|
163
|
+
mistralai/models/embeddingresponse.py,sha256=5j2kqukuwTq_GSjWbE4CE-ynFN4EI0jffpsaeprwOuw,634
|
|
164
|
+
mistralai/models/embeddingresponsedata.py,sha256=iFyugT8kvveiwrt-FjYOfRTs3M81DRyNcx6W4Zm0X18,534
|
|
165
|
+
mistralai/models/eventout.py,sha256=bv4JDq-ZYGuN143M-NNmi-tWi_t_y8_8rUclTSeiAHA,1633
|
|
166
|
+
mistralai/models/files_api_routes_delete_fileop.py,sha256=npznvwYIWRvAI5-LIKcN7aaGOj55nt4fEBJlc6uq7Os,518
|
|
167
|
+
mistralai/models/files_api_routes_retrieve_fileop.py,sha256=e5WNVG0JL5L73__cR880rn-RyHtwwzZtgEb5EnF_v8w,522
|
|
168
|
+
mistralai/models/files_api_routes_upload_fileop.py,sha256=1gaHOaIJC8HbPymG8tWA3fxBNdXdj7igoNq2WfhJzjs,2393
|
|
169
|
+
mistralai/models/fileschema.py,sha256=EUiIeXaZOux7lhAXh_G5JoA14eTztcanTUEmP5vWbpE,2844
|
|
170
|
+
mistralai/models/fimcompletionrequest.py,sha256=l8_3i9kAhTKXKJyZWX0CPBtclkXg-z_Dvtr0h1XST3c,6080
|
|
171
|
+
mistralai/models/fimcompletionresponse.py,sha256=olSUB8TDJcabemJ4Yy6O_CvxITbFXEC_zUeAVE_11zM,790
|
|
172
|
+
mistralai/models/fimcompletionstreamrequest.py,sha256=EO8VnAD5Dgv7yrvo6S_Myezp4Fdnl-191oWdCfaMe6c,5447
|
|
173
|
+
mistralai/models/finetuneablemodel.py,sha256=UvVJAugrRAc6elHPa9yM2ofde77cCmCYL-SWcemCJ50,339
|
|
174
|
+
mistralai/models/ftmodelcapabilitiesout.py,sha256=qqrRDQLhJhZljm7p8b-vH6W9ikB54Q0nU_cEj_T8p9s,648
|
|
175
|
+
mistralai/models/ftmodelcard.py,sha256=Ph1vf_aLJt8sZIxIuxzWlYDJTtnaXltCzw3hQZRrdEE,2813
|
|
176
|
+
mistralai/models/ftmodelout.py,sha256=FAgkQQ6a35hOUTu7weIPLoPu3cRNcHAmEHuzBDFg_qE,2383
|
|
177
|
+
mistralai/models/function.py,sha256=FsGLbzHfK27KyBtvKjDXOK7ME_hNONaaUQDHwV-yy7Q,467
|
|
178
|
+
mistralai/models/functioncall.py,sha256=TnbKFtwxZS4IS6QX5TUr3b12YsgX_R6VtttAQntTsGo,447
|
|
179
|
+
mistralai/models/functionname.py,sha256=vfnceAJ88bVCwP-TiaXjO07_E9EH37JENs8nRGo-uFw,456
|
|
180
|
+
mistralai/models/githubrepositoryin.py,sha256=2ItCj0lGNGAD90TMZijCs_moqYrvcrG48XzbudRS1_Q,1782
|
|
181
|
+
mistralai/models/githubrepositoryout.py,sha256=zAL3ZYz3Dy85gx4YOyx2q-ToGmFMUG2bdRRsPmWbHvc,1794
|
|
182
|
+
mistralai/models/httpvalidationerror.py,sha256=btA-1ShKDO9WSoljfzTQ3_Ejl1FieLuyS9zASzTydik,633
|
|
183
|
+
mistralai/models/imageurl.py,sha256=bYhpapPoEMfzi2C4eb2wZuWcYbTS0n2lcbIVjYarlSo,1383
|
|
184
|
+
mistralai/models/imageurlchunk.py,sha256=A8trqV5MaBYXnVQo9srpXYLzsOMn_FX6Fmwr-G385cQ,955
|
|
185
|
+
mistralai/models/jobin.py,sha256=2zbqJP5DS8hFT1wYGWejjTvHu1ywQ4d_ibMavM2Pohc,4457
|
|
186
|
+
mistralai/models/jobmetadataout.py,sha256=3WDl_iVrF_khUS637CHfvmZzLTlpY-WWY_ILvyg0nsU,2430
|
|
187
|
+
mistralai/models/jobout.py,sha256=NqKOIfurDWGf4hN9jtLxTGmuXZpR0U4tOItdRS9InUU,5994
|
|
188
|
+
mistralai/models/jobs_api_routes_fine_tuning_archive_fine_tuned_modelop.py,sha256=niAQXobV6jH-gf6URC4itZZKHsOrYee4KHoxQVLlTyQ,646
|
|
189
|
+
mistralai/models/jobs_api_routes_fine_tuning_cancel_fine_tuning_jobop.py,sha256=B3bWFgvGe6GD8lUQs0sLIX0x2W78g0U7p6qe9yo3JxQ,632
|
|
190
|
+
mistralai/models/jobs_api_routes_fine_tuning_create_fine_tuning_jobop.py,sha256=GaXfilzcfQnGEN-uIolvOBIbQKyROwrY7tcYIRFKeek,498
|
|
191
|
+
mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobop.py,sha256=R_G1797Xc1kWKq6-zajjCcwTquz63X6noGBpkQPK6OI,628
|
|
192
|
+
mistralai/models/jobs_api_routes_fine_tuning_get_fine_tuning_jobsop.py,sha256=obbSJ-r0JDnOsgz9B5Qaqn--3YrKs1CWtxKrRIkNBQM,5491
|
|
193
|
+
mistralai/models/jobs_api_routes_fine_tuning_start_fine_tuning_jobop.py,sha256=ClyS16uEZp82LCtwnwsCzIfxj_5n6Br-R3sdssNNi7s,550
|
|
194
|
+
mistralai/models/jobs_api_routes_fine_tuning_unarchive_fine_tuned_modelop.py,sha256=3y2DEdyFG7zgt_n33Ndh6Hgk3D-CJR_9If1p-TWgGWI,654
|
|
195
|
+
mistralai/models/jobs_api_routes_fine_tuning_update_fine_tuned_modelop.py,sha256=7W9jhzt-AiCj1QgNjRDFQdwjrenEVcPqlin4SZXyKbo,925
|
|
196
|
+
mistralai/models/jobsout.py,sha256=w_UO-z_O0AWJbas39M_KNvw6JDwcrWQs_9OwZ-jSAAA,675
|
|
197
|
+
mistralai/models/legacyjobmetadataout.py,sha256=Lx8p05Vly5-y5JyBkIEzWOpKJvsHZbduM6RkaSU1-sI,4563
|
|
198
|
+
mistralai/models/listfilesout.py,sha256=Ppr4sHVWWiWSoiuLRPEptQLkgycDPhWkN1OkXhMuD4k,408
|
|
199
|
+
mistralai/models/metricout.py,sha256=TeczA41TeJB8H3eqJEYXyIPOScLwbqQXV8Z8msLCjHQ,2052
|
|
200
|
+
mistralai/models/modelcapabilities.py,sha256=7D9GNMWxoll51ON_JKI9H6Mj_mTpEGa-JRqPlGxyRJg,703
|
|
201
|
+
mistralai/models/modellist.py,sha256=cD4bBJ4WdfDHm_cS6JPfC7pLcaMUpNv5F5xCds23s5I,942
|
|
202
|
+
mistralai/models/responseformat.py,sha256=QOo5sPuUcPOKDcxFgc1M6Fcn9hZGCLLGjB-DYZ6RTqk,1045
|
|
203
|
+
mistralai/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
|
|
204
|
+
mistralai/models/retrieve_model_v1_models_model_id_getop.py,sha256=9kIA7PSE2JwA0OyakyWaTQo2S8Qe6zl0-YYF8B9hnIc,1270
|
|
205
|
+
mistralai/models/retrievefileout.py,sha256=LFAnyCZJutf7TT3u86CJy3SfvWVSerNS5X3jP8GZYlY,2864
|
|
206
|
+
mistralai/models/sampletype.py,sha256=AHVeruPkMqLwaXTQVMiqrWxCv29ErNAOQenNxRaYFfc,182
|
|
207
|
+
mistralai/models/sdkerror.py,sha256=kd75e3JYF2TXNgRZopcV-oGdBWoBZqRcvrwqn2fsFYs,528
|
|
208
|
+
mistralai/models/security.py,sha256=u76osA-YgdAGdMe_p-dhbeJQV4DF3YtPO3vz_4sw7jI,686
|
|
209
|
+
mistralai/models/source.py,sha256=i__XC0fCs5hAyp3uHzGK-gY6jcC8lE431V8-YpzCNso,178
|
|
210
|
+
mistralai/models/systemmessage.py,sha256=BcQ2ShZft8AdtwAgMJAWjGMfDKhfqRA8ic_aitLH4rQ,620
|
|
211
|
+
mistralai/models/textchunk.py,sha256=xSLmAnrulmM6Afy3BipZ5Tmi2Cj6RIXj_AeLhITMvhQ,524
|
|
212
|
+
mistralai/models/tool.py,sha256=tQLS86r4TW7YrafEnAqXL7uVGpSUCvuTsTWV1ALmNMg,681
|
|
213
|
+
mistralai/models/toolcall.py,sha256=NcM6TQiJta1pjtFcdJ7UKNwEYHBEONm7mW2lVcYWyOI,766
|
|
214
|
+
mistralai/models/toolchoice.py,sha256=xcT6JYWDWqIalLXy8KdVjGwhBWCrlCZPW5ZzY36yI4I,1021
|
|
215
|
+
mistralai/models/toolchoiceenum.py,sha256=Ca4ileCwuOjfPzIXLRIxT3RkE5zR7oqV6nXU-UjW0w0,197
|
|
216
|
+
mistralai/models/toolmessage.py,sha256=FzlpK60kZX9-VAayJeS0YjNELnxuX6gNDnnyn-TH2KI,1663
|
|
217
|
+
mistralai/models/tooltypes.py,sha256=NcvRsZA_ORf4WY_gn6WjgX6eEXmR2faVG3Q1sLlzdG8,244
|
|
218
|
+
mistralai/models/trainingfile.py,sha256=EbdepVptpGZ8tt4ohrzOPZuId28cY8_17xjsSK8G0b8,400
|
|
219
|
+
mistralai/models/trainingparameters.py,sha256=QRKiy8yjYAJAYjLp2ff1YROD8LAvZPby3R9y_UcuZb4,2168
|
|
220
|
+
mistralai/models/trainingparametersin.py,sha256=yiQlUKJeWPmGOwyh7GMSyjz5d0fLqCq1zRjkaSDklYc,4426
|
|
221
|
+
mistralai/models/unarchiveftmodelout.py,sha256=a1jmaoeuHK7D0NYPRSfYKc19j3oWX_Yk1cmZHmHe_OA,653
|
|
222
|
+
mistralai/models/updateftmodelin.py,sha256=7ue5wh5boKK7epsW_7dBj59SmKjnBNfYlQtXCiFYbuk,1484
|
|
223
|
+
mistralai/models/uploadfileout.py,sha256=lmbczrjF5UAFvGLVczNTjjfoY09ctUIWxG953D0JNrI,2830
|
|
224
|
+
mistralai/models/usageinfo.py,sha256=CEK5yf5XTqgHB8_pfD0XHmqSyHUnowHNiu97SJOiIjM,390
|
|
225
|
+
mistralai/models/usermessage.py,sha256=JGBVPW63Un9bIDgI824xSrtQ7__Yj_ktNe8P8Jqys0s,704
|
|
226
|
+
mistralai/models/validationerror.py,sha256=XY7OGYpQ3Y3ApDbY56uiwQu9i58Jm_0rzeX2QDBCy-Q,429
|
|
227
|
+
mistralai/models/wandbintegration.py,sha256=L6ZztyXAU6cDVhhYR8bzew42uDoX74UicJSsa1fIGHg,2235
|
|
228
|
+
mistralai/models/wandbintegrationout.py,sha256=I79mi2JY7sx2Pfg5Ds4PwJ1DEg-iAKz968UpEOTz4zg,2062
|
|
229
|
+
mistralai/models_.py,sha256=QfEE4Jffe7gzKq_qf48SigxjDiCvpAxcHzw77VFRUH0,38285
|
|
230
|
+
mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
|
|
231
|
+
mistralai/sdk.py,sha256=fIbuaFQpGt310xpalO64SkJ2VMbkV2pev0ifAXcTbbA,4739
|
|
232
|
+
mistralai/sdkconfiguration.py,sha256=KJJu5RyYdYbzxufsgt59cQROU7MR-cdlwKX7aSwaXW8,1693
|
|
233
|
+
mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
|
|
234
|
+
mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
|
|
235
|
+
mistralai/utils/__init__.py,sha256=nV-al-VTQgBq98ULrCcRWuthvgjhR7aumTq1AhxJGQA,2222
|
|
236
|
+
mistralai/utils/annotations.py,sha256=475O8UTbQNQiawh8ZoJi_NDPKqhgW7vzy046ffMU8jI,655
|
|
237
|
+
mistralai/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
|
|
238
|
+
mistralai/utils/eventstreaming.py,sha256=klSQ0FURc-hqYz1si1EG92VCFhfaxyBo_xP2mX3BBWo,4917
|
|
239
|
+
mistralai/utils/forms.py,sha256=L-y62DiD0FXnq7WIyw8BAMbdr7sZDwhZ_3YsdviBbaA,6325
|
|
240
|
+
mistralai/utils/headers.py,sha256=cPxWSmUILrefTGDzTH1Hdj7_Hlsj-EY6K5Tyc4iH4dk,3663
|
|
241
|
+
mistralai/utils/logger.py,sha256=TOF0Mqsua4GlsDhmrZz9hgMRvwd9zK7ytuqly3Vevxo,675
|
|
242
|
+
mistralai/utils/metadata.py,sha256=Per2KFXXOqOtoUWXrlIfjrSrBg199KrRW0nKQDgHIBU,3136
|
|
243
|
+
mistralai/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEtI,5899
|
|
244
|
+
mistralai/utils/requestbodies.py,sha256=PXmttCHm1zWGmwbrTyXYXxbeULavRWqxfD54Jx2CdJE,2084
|
|
245
|
+
mistralai/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
|
|
246
|
+
mistralai/utils/security.py,sha256=vWlpkikOnGN_HRRhJ7Pb8ywVAjiM3d3ey3oTWtM6jTU,6008
|
|
247
|
+
mistralai/utils/serializers.py,sha256=FRCVu7wAf3VCss55ve62zuvdwnjDIHLQUDHc8fkGO4c,4383
|
|
248
|
+
mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
|
|
249
|
+
mistralai/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
|
|
250
|
+
mistralai/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
|
|
251
|
+
mistralai-1.1.0.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
|
|
252
|
+
mistralai-1.1.0.dist-info/METADATA,sha256=xxB1ZHWDQL22egCOETHNHIpQw_Drg2B_8f2sclHLA0k,23454
|
|
253
|
+
mistralai-1.1.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
254
|
+
mistralai-1.1.0.dist-info/RECORD,,
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
3
|
import httpx
|
|
4
|
-
from .types import
|
|
4
|
+
from .types import (
|
|
5
|
+
SDKInitHook,
|
|
6
|
+
BeforeRequestContext,
|
|
7
|
+
BeforeRequestHook,
|
|
8
|
+
AfterSuccessContext,
|
|
9
|
+
AfterSuccessHook,
|
|
10
|
+
AfterErrorContext,
|
|
11
|
+
AfterErrorHook,
|
|
12
|
+
Hooks,
|
|
13
|
+
)
|
|
5
14
|
from .registration import init_hooks
|
|
6
15
|
from typing import List, Optional, Tuple
|
|
7
16
|
from mistralai_azure.httpclient import HttpClient
|
|
8
17
|
|
|
18
|
+
|
|
9
19
|
class SDKHooks(Hooks):
|
|
10
20
|
def __init__(self) -> None:
|
|
11
21
|
self.sdk_init_hooks: List[SDKInitHook] = []
|
|
@@ -31,7 +41,9 @@ class SDKHooks(Hooks):
|
|
|
31
41
|
base_url, client = hook.sdk_init(base_url, client)
|
|
32
42
|
return base_url, client
|
|
33
43
|
|
|
34
|
-
def before_request(
|
|
44
|
+
def before_request(
|
|
45
|
+
self, hook_ctx: BeforeRequestContext, request: httpx.Request
|
|
46
|
+
) -> httpx.Request:
|
|
35
47
|
for hook in self.before_request_hooks:
|
|
36
48
|
out = hook.before_request(hook_ctx, request)
|
|
37
49
|
if isinstance(out, Exception):
|
|
@@ -40,7 +52,9 @@ class SDKHooks(Hooks):
|
|
|
40
52
|
|
|
41
53
|
return request
|
|
42
54
|
|
|
43
|
-
def after_success(
|
|
55
|
+
def after_success(
|
|
56
|
+
self, hook_ctx: AfterSuccessContext, response: httpx.Response
|
|
57
|
+
) -> httpx.Response:
|
|
44
58
|
for hook in self.after_success_hooks:
|
|
45
59
|
out = hook.after_success(hook_ctx, response)
|
|
46
60
|
if isinstance(out, Exception):
|
|
@@ -48,7 +62,12 @@ class SDKHooks(Hooks):
|
|
|
48
62
|
response = out
|
|
49
63
|
return response
|
|
50
64
|
|
|
51
|
-
def after_error(
|
|
65
|
+
def after_error(
|
|
66
|
+
self,
|
|
67
|
+
hook_ctx: AfterErrorContext,
|
|
68
|
+
response: Optional[httpx.Response],
|
|
69
|
+
error: Optional[Exception],
|
|
70
|
+
) -> Tuple[Optional[httpx.Response], Optional[Exception]]:
|
|
52
71
|
for hook in self.after_error_hooks:
|
|
53
72
|
result = hook.after_error(hook_ctx, response, error)
|
|
54
73
|
if isinstance(result, Exception):
|
mistralai_azure/_hooks/types.py
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
from abc import ABC, abstractmethod
|
|
5
4
|
import httpx
|
|
6
5
|
from mistralai_azure.httpclient import HttpClient
|
|
@@ -12,7 +11,12 @@ class HookContext:
|
|
|
12
11
|
oauth2_scopes: Optional[List[str]] = None
|
|
13
12
|
security_source: Optional[Union[Any, Callable[[], Any]]] = None
|
|
14
13
|
|
|
15
|
-
def __init__(
|
|
14
|
+
def __init__(
|
|
15
|
+
self,
|
|
16
|
+
operation_id: str,
|
|
17
|
+
oauth2_scopes: Optional[List[str]],
|
|
18
|
+
security_source: Optional[Union[Any, Callable[[], Any]]],
|
|
19
|
+
):
|
|
16
20
|
self.operation_id = operation_id
|
|
17
21
|
self.oauth2_scopes = oauth2_scopes
|
|
18
22
|
self.security_source = security_source
|
|
@@ -20,18 +24,23 @@ class HookContext:
|
|
|
20
24
|
|
|
21
25
|
class BeforeRequestContext(HookContext):
|
|
22
26
|
def __init__(self, hook_ctx: HookContext):
|
|
23
|
-
super().__init__(
|
|
27
|
+
super().__init__(
|
|
28
|
+
hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
|
|
29
|
+
)
|
|
24
30
|
|
|
25
31
|
|
|
26
32
|
class AfterSuccessContext(HookContext):
|
|
27
33
|
def __init__(self, hook_ctx: HookContext):
|
|
28
|
-
super().__init__(
|
|
29
|
-
|
|
34
|
+
super().__init__(
|
|
35
|
+
hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
|
|
36
|
+
)
|
|
30
37
|
|
|
31
38
|
|
|
32
39
|
class AfterErrorContext(HookContext):
|
|
33
40
|
def __init__(self, hook_ctx: HookContext):
|
|
34
|
-
super().__init__(
|
|
41
|
+
super().__init__(
|
|
42
|
+
hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
|
|
43
|
+
)
|
|
35
44
|
|
|
36
45
|
|
|
37
46
|
class SDKInitHook(ABC):
|
|
@@ -42,19 +51,28 @@ class SDKInitHook(ABC):
|
|
|
42
51
|
|
|
43
52
|
class BeforeRequestHook(ABC):
|
|
44
53
|
@abstractmethod
|
|
45
|
-
def before_request(
|
|
54
|
+
def before_request(
|
|
55
|
+
self, hook_ctx: BeforeRequestContext, request: httpx.Request
|
|
56
|
+
) -> Union[httpx.Request, Exception]:
|
|
46
57
|
pass
|
|
47
58
|
|
|
48
59
|
|
|
49
60
|
class AfterSuccessHook(ABC):
|
|
50
61
|
@abstractmethod
|
|
51
|
-
def after_success(
|
|
62
|
+
def after_success(
|
|
63
|
+
self, hook_ctx: AfterSuccessContext, response: httpx.Response
|
|
64
|
+
) -> Union[httpx.Response, Exception]:
|
|
52
65
|
pass
|
|
53
66
|
|
|
54
67
|
|
|
55
68
|
class AfterErrorHook(ABC):
|
|
56
69
|
@abstractmethod
|
|
57
|
-
def after_error(
|
|
70
|
+
def after_error(
|
|
71
|
+
self,
|
|
72
|
+
hook_ctx: AfterErrorContext,
|
|
73
|
+
response: Optional[httpx.Response],
|
|
74
|
+
error: Optional[Exception],
|
|
75
|
+
) -> Union[Tuple[Optional[httpx.Response], Optional[Exception]], Exception]:
|
|
58
76
|
pass
|
|
59
77
|
|
|
60
78
|
|
mistralai_azure/basesdk.py
CHANGED
|
@@ -3,10 +3,15 @@
|
|
|
3
3
|
from .sdkconfiguration import SDKConfiguration
|
|
4
4
|
import httpx
|
|
5
5
|
from mistralai_azure import models, utils
|
|
6
|
-
from mistralai_azure._hooks import
|
|
6
|
+
from mistralai_azure._hooks import (
|
|
7
|
+
AfterErrorContext,
|
|
8
|
+
AfterSuccessContext,
|
|
9
|
+
BeforeRequestContext,
|
|
10
|
+
)
|
|
7
11
|
from mistralai_azure.utils import RetryConfig, SerializedRequestBody, get_body_content
|
|
8
12
|
from typing import Callable, List, Optional, Tuple
|
|
9
13
|
|
|
14
|
+
|
|
10
15
|
class BaseSDK:
|
|
11
16
|
sdk_configuration: SDKConfiguration
|
|
12
17
|
|
|
@@ -24,6 +29,46 @@ class BaseSDK:
|
|
|
24
29
|
|
|
25
30
|
return utils.template_url(base_url, url_variables)
|
|
26
31
|
|
|
32
|
+
def build_request_async(
|
|
33
|
+
self,
|
|
34
|
+
method,
|
|
35
|
+
path,
|
|
36
|
+
base_url,
|
|
37
|
+
url_variables,
|
|
38
|
+
request,
|
|
39
|
+
request_body_required,
|
|
40
|
+
request_has_path_params,
|
|
41
|
+
request_has_query_params,
|
|
42
|
+
user_agent_header,
|
|
43
|
+
accept_header_value,
|
|
44
|
+
_globals=None,
|
|
45
|
+
security=None,
|
|
46
|
+
timeout_ms: Optional[int] = None,
|
|
47
|
+
get_serialized_body: Optional[
|
|
48
|
+
Callable[[], Optional[SerializedRequestBody]]
|
|
49
|
+
] = None,
|
|
50
|
+
url_override: Optional[str] = None,
|
|
51
|
+
) -> httpx.Request:
|
|
52
|
+
client = self.sdk_configuration.async_client
|
|
53
|
+
return self.build_request_with_client(
|
|
54
|
+
client,
|
|
55
|
+
method,
|
|
56
|
+
path,
|
|
57
|
+
base_url,
|
|
58
|
+
url_variables,
|
|
59
|
+
request,
|
|
60
|
+
request_body_required,
|
|
61
|
+
request_has_path_params,
|
|
62
|
+
request_has_query_params,
|
|
63
|
+
user_agent_header,
|
|
64
|
+
accept_header_value,
|
|
65
|
+
_globals,
|
|
66
|
+
security,
|
|
67
|
+
timeout_ms,
|
|
68
|
+
get_serialized_body,
|
|
69
|
+
url_override,
|
|
70
|
+
)
|
|
71
|
+
|
|
27
72
|
def build_request(
|
|
28
73
|
self,
|
|
29
74
|
method,
|
|
@@ -45,7 +90,46 @@ class BaseSDK:
|
|
|
45
90
|
url_override: Optional[str] = None,
|
|
46
91
|
) -> httpx.Request:
|
|
47
92
|
client = self.sdk_configuration.client
|
|
93
|
+
return self.build_request_with_client(
|
|
94
|
+
client,
|
|
95
|
+
method,
|
|
96
|
+
path,
|
|
97
|
+
base_url,
|
|
98
|
+
url_variables,
|
|
99
|
+
request,
|
|
100
|
+
request_body_required,
|
|
101
|
+
request_has_path_params,
|
|
102
|
+
request_has_query_params,
|
|
103
|
+
user_agent_header,
|
|
104
|
+
accept_header_value,
|
|
105
|
+
_globals,
|
|
106
|
+
security,
|
|
107
|
+
timeout_ms,
|
|
108
|
+
get_serialized_body,
|
|
109
|
+
url_override,
|
|
110
|
+
)
|
|
48
111
|
|
|
112
|
+
def build_request_with_client(
|
|
113
|
+
self,
|
|
114
|
+
client,
|
|
115
|
+
method,
|
|
116
|
+
path,
|
|
117
|
+
base_url,
|
|
118
|
+
url_variables,
|
|
119
|
+
request,
|
|
120
|
+
request_body_required,
|
|
121
|
+
request_has_path_params,
|
|
122
|
+
request_has_query_params,
|
|
123
|
+
user_agent_header,
|
|
124
|
+
accept_header_value,
|
|
125
|
+
_globals=None,
|
|
126
|
+
security=None,
|
|
127
|
+
timeout_ms: Optional[int] = None,
|
|
128
|
+
get_serialized_body: Optional[
|
|
129
|
+
Callable[[], Optional[SerializedRequestBody]]
|
|
130
|
+
] = None,
|
|
131
|
+
url_override: Optional[str] = None,
|
|
132
|
+
) -> httpx.Request:
|
|
49
133
|
query_params = {}
|
|
50
134
|
|
|
51
135
|
url = url_override
|
|
@@ -69,7 +153,7 @@ class BaseSDK:
|
|
|
69
153
|
if security is not None:
|
|
70
154
|
if callable(security):
|
|
71
155
|
security = security()
|
|
72
|
-
|
|
156
|
+
|
|
73
157
|
if security is not None:
|
|
74
158
|
security_headers, security_query_params = utils.get_security(security)
|
|
75
159
|
headers = {**headers, **security_headers}
|
|
@@ -129,7 +213,7 @@ class BaseSDK:
|
|
|
129
213
|
req.method,
|
|
130
214
|
req.url,
|
|
131
215
|
req.headers,
|
|
132
|
-
get_body_content(req)
|
|
216
|
+
get_body_content(req),
|
|
133
217
|
)
|
|
134
218
|
http_res = client.send(req, stream=stream)
|
|
135
219
|
except Exception as e:
|
|
@@ -149,7 +233,7 @@ class BaseSDK:
|
|
|
149
233
|
http_res.status_code,
|
|
150
234
|
http_res.url,
|
|
151
235
|
http_res.headers,
|
|
152
|
-
"<streaming response>" if stream else http_res.text
|
|
236
|
+
"<streaming response>" if stream else http_res.text,
|
|
153
237
|
)
|
|
154
238
|
|
|
155
239
|
if utils.match_status_codes(error_status_codes, http_res.status_code):
|
|
@@ -189,6 +273,7 @@ class BaseSDK:
|
|
|
189
273
|
) -> httpx.Response:
|
|
190
274
|
client = self.sdk_configuration.async_client
|
|
191
275
|
logger = self.sdk_configuration.debug_logger
|
|
276
|
+
|
|
192
277
|
async def do():
|
|
193
278
|
http_res = None
|
|
194
279
|
try:
|
|
@@ -200,7 +285,7 @@ class BaseSDK:
|
|
|
200
285
|
req.method,
|
|
201
286
|
req.url,
|
|
202
287
|
req.headers,
|
|
203
|
-
get_body_content(req)
|
|
288
|
+
get_body_content(req),
|
|
204
289
|
)
|
|
205
290
|
http_res = await client.send(req, stream=stream)
|
|
206
291
|
except Exception as e:
|
|
@@ -220,7 +305,7 @@ class BaseSDK:
|
|
|
220
305
|
http_res.status_code,
|
|
221
306
|
http_res.url,
|
|
222
307
|
http_res.headers,
|
|
223
|
-
"<streaming response>" if stream else http_res.text
|
|
308
|
+
"<streaming response>" if stream else http_res.text,
|
|
224
309
|
)
|
|
225
310
|
|
|
226
311
|
if utils.match_status_codes(error_status_codes, http_res.status_code):
|