mistralai 1.5.0__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.
Files changed (89) hide show
  1. mistralai/_hooks/types.py +15 -3
  2. mistralai/_version.py +3 -3
  3. mistralai/agents.py +32 -12
  4. mistralai/basesdk.py +8 -0
  5. mistralai/chat.py +37 -17
  6. mistralai/classifiers.py +59 -37
  7. mistralai/embeddings.py +22 -18
  8. mistralai/extra/utils/response_format.py +3 -3
  9. mistralai/files.py +36 -0
  10. mistralai/fim.py +37 -17
  11. mistralai/httpclient.py +4 -2
  12. mistralai/jobs.py +30 -0
  13. mistralai/mistral_jobs.py +24 -0
  14. mistralai/models/__init__.py +43 -16
  15. mistralai/models/assistantmessage.py +2 -0
  16. mistralai/models/chatcompletionrequest.py +3 -10
  17. mistralai/models/chatcompletionstreamrequest.py +3 -10
  18. mistralai/models/chatmoderationrequest.py +86 -0
  19. mistralai/models/classificationrequest.py +7 -36
  20. mistralai/models/contentchunk.py +8 -1
  21. mistralai/models/documenturlchunk.py +56 -0
  22. mistralai/models/embeddingrequest.py +8 -44
  23. mistralai/models/filepurpose.py +1 -1
  24. mistralai/models/fimcompletionrequest.py +2 -3
  25. mistralai/models/fimcompletionstreamrequest.py +2 -3
  26. mistralai/models/ocrimageobject.py +77 -0
  27. mistralai/models/ocrpagedimensions.py +25 -0
  28. mistralai/models/ocrpageobject.py +64 -0
  29. mistralai/models/ocrrequest.py +97 -0
  30. mistralai/models/ocrresponse.py +26 -0
  31. mistralai/models/ocrusageinfo.py +51 -0
  32. mistralai/models/prediction.py +4 -5
  33. mistralai/models_.py +66 -18
  34. mistralai/ocr.py +248 -0
  35. mistralai/sdk.py +23 -3
  36. mistralai/sdkconfiguration.py +4 -2
  37. mistralai/utils/__init__.py +2 -0
  38. mistralai/utils/serializers.py +10 -6
  39. mistralai/utils/values.py +4 -1
  40. {mistralai-1.5.0.dist-info → mistralai-1.5.2rc1.dist-info}/METADATA +70 -19
  41. {mistralai-1.5.0.dist-info → mistralai-1.5.2rc1.dist-info}/RECORD +88 -76
  42. {mistralai-1.5.0.dist-info → mistralai-1.5.2rc1.dist-info}/WHEEL +1 -1
  43. mistralai_azure/__init__.py +10 -1
  44. mistralai_azure/_hooks/types.py +15 -3
  45. mistralai_azure/_version.py +3 -0
  46. mistralai_azure/basesdk.py +8 -0
  47. mistralai_azure/chat.py +88 -20
  48. mistralai_azure/httpclient.py +52 -0
  49. mistralai_azure/models/__init__.py +7 -0
  50. mistralai_azure/models/assistantmessage.py +2 -0
  51. mistralai_azure/models/chatcompletionrequest.py +8 -10
  52. mistralai_azure/models/chatcompletionstreamrequest.py +8 -10
  53. mistralai_azure/models/function.py +3 -0
  54. mistralai_azure/models/jsonschema.py +61 -0
  55. mistralai_azure/models/prediction.py +25 -0
  56. mistralai_azure/models/responseformat.py +42 -1
  57. mistralai_azure/models/responseformats.py +1 -1
  58. mistralai_azure/models/toolcall.py +3 -0
  59. mistralai_azure/sdk.py +56 -14
  60. mistralai_azure/sdkconfiguration.py +14 -6
  61. mistralai_azure/utils/__init__.py +2 -0
  62. mistralai_azure/utils/serializers.py +10 -6
  63. mistralai_azure/utils/values.py +4 -1
  64. mistralai_gcp/__init__.py +10 -1
  65. mistralai_gcp/_hooks/types.py +15 -3
  66. mistralai_gcp/_version.py +3 -0
  67. mistralai_gcp/basesdk.py +8 -0
  68. mistralai_gcp/chat.py +89 -21
  69. mistralai_gcp/fim.py +61 -21
  70. mistralai_gcp/httpclient.py +52 -0
  71. mistralai_gcp/models/__init__.py +7 -0
  72. mistralai_gcp/models/assistantmessage.py +2 -0
  73. mistralai_gcp/models/chatcompletionrequest.py +8 -10
  74. mistralai_gcp/models/chatcompletionstreamrequest.py +8 -10
  75. mistralai_gcp/models/fimcompletionrequest.py +2 -3
  76. mistralai_gcp/models/fimcompletionstreamrequest.py +2 -3
  77. mistralai_gcp/models/function.py +3 -0
  78. mistralai_gcp/models/jsonschema.py +61 -0
  79. mistralai_gcp/models/prediction.py +25 -0
  80. mistralai_gcp/models/responseformat.py +42 -1
  81. mistralai_gcp/models/responseformats.py +1 -1
  82. mistralai_gcp/models/toolcall.py +3 -0
  83. mistralai_gcp/sdk.py +63 -19
  84. mistralai_gcp/sdkconfiguration.py +14 -6
  85. mistralai_gcp/utils/__init__.py +2 -0
  86. mistralai_gcp/utils/serializers.py +10 -6
  87. mistralai_gcp/utils/values.py +4 -1
  88. mistralai/models/chatclassificationrequest.py +0 -113
  89. {mistralai-1.5.0.dist-info → mistralai-1.5.2rc1.dist-info}/LICENSE +0 -0
@@ -1,37 +1,39 @@
1
- mistralai_azure/__init__.py,sha256=ybmMeI8Pa2HEQCdADbpyIdm3JWu8AU61HxmDupOlTws,220
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=ealwk4q-4oIauxj5Nyx9xmu9vX0nm4vcDALDy4qydgE,2576
7
- mistralai_azure/_version.py,sha256=ui-BNM2etffJhHb6ltHG0lnH2tREv1Ls9MiIs_2wPtI,319
8
- mistralai_azure/basesdk.py,sha256=DYOnk4GhhaNa4PZeoHbm_IKwlwtf8_GBscmMLAaoiG4,11944
9
- mistralai_azure/chat.py,sha256=NwvXO3wAOaazn3n6hqPrcfH6mIGYBpq_bqnuInISMl4,32666
10
- mistralai_azure/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
11
- mistralai_azure/models/__init__.py,sha256=tUGnhgKbxZMd8R7DK09Zy0TRlcp5fg32LaHgwE6wtRs,5474
12
- mistralai_azure/models/assistantmessage.py,sha256=RfLzXdsZ0VIo-x5I10YveA5lRu0caYZ6ZYqqUvV8T5Y,2235
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=H27Zk4cqqisV-gVkT9yeLOKw7i_tNBlfj1YNaBymNv0,9571
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=BgXe4fTcsIZiDJD7M4WjxQB2dlRptc1r0l7uSse9diU,8707
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=dMKaqEIbvXIQWf6NROjlVaHGOU6weso7AVCIG691ULI,473
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=ObWSXbwECiJJ0j0Ra_Yh2kpcC0zB2IZoGk_HpWBTwtc,1051
28
- mistralai_azure/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
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=RTTdfhcbbH6kq7L1MaQ0Z7bl7xdrE6DZxYPZaIe0lEo,778
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=ZVPE9lFzswEMlHw_kiG_j5vzoJ5BwEYlVLCYGmYDjpA,3936
44
- mistralai_azure/sdkconfiguration.py,sha256=HUS03mJdC7BZZ7nmqwUiF-ez6OpYZyZ-cauLNUOzfww,1706
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=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
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=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
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=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
62
- mistralai_gcp/__init__.py,sha256=ybmMeI8Pa2HEQCdADbpyIdm3JWu8AU61HxmDupOlTws,220
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=DJD5-sKZfAj0tKgSU5w0YNuJE_C8PDa5n1V27T_7SmE,2574
68
- mistralai_gcp/_version.py,sha256=7vh6Mzf2l8H7TUuxjCavDyOaT0x_ighKJadlem_FXTI,317
69
- mistralai_gcp/basesdk.py,sha256=r7yAbWHu0e7qE7EBzNoASAY708v2KWjmOZCLgM9koEg,11938
70
- mistralai_gcp/chat.py,sha256=j8y7_E7sLfK7rRDz2X9Ul-w_GNu2epAQC8uT7kuCqN4,32586
71
- mistralai_gcp/fim.py,sha256=5TvHIZY-OZzg1GWoSyPXRlG5FVIvhbT3o48A2-eoPe8,26096
72
- mistralai_gcp/httpclient.py,sha256=WDbLpMzo7qmWki_ryOJcCAYNI1T4uyWKV08rRuCdNII,2688
73
- mistralai_gcp/models/__init__.py,sha256=FgLN8dDWM4XLCS1EWH--nk90Fnnrypsa2EEu5Yv84iI,6296
74
- mistralai_gcp/models/assistantmessage.py,sha256=dAdHmWc2sXzeDoP4jCLH5T4wqu7gRUzBlOVfAVmbO7Q,2233
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=vBAKgPqpwF09393yXHBKRulcVL7cS0VL3WnCDlLI0SE,9619
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=6dVEiVFScJR8mbYFPKDgnPMLnU1QgCrg7hqASnlZQaY,8755
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=pKPGdwfd8KGUKi2th6836ZH-VR1hoKZodqB73swKjoM,6635
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=aW1JB_LF4fi-GFtlXS41wOZuc09wgCMrP8mRFpvuRjE,6014
87
- mistralai_gcp/models/function.py,sha256=5DkjJlymCiGz9GLfspaHAD8gxVXllSjySHeEhsgf3KI,471
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=2FG3eNkJyeSgh7YzQ-saib43ILvSVElV42h8hIffZ1g,1049
93
- mistralai_gcp/models/responseformats.py,sha256=oeXHoVUoZrZwrz-0cm-rHj5sHygv9MpeqgdummGa8ww,488
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=2qaVi_1HrjESewPBG3FdZrllVmbYwkcnBm2bnVCoVlM,774
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=c38PFI_NTMYbLtVGdq7bdf1Pbj-wgGJfplDmY_vkhIE,6746
109
- mistralai_gcp/sdkconfiguration.py,sha256=3EvSsy_Jk4G-Q9-1veLVFqbgVO-bkCtgi4St7aA-KlU,1700
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=1x4KfQf2ULtO_aOk_M2RMCimoz8jgcW0RZd-f34KDAs,2365
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=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
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=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
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=vUkTVk_TSaK10aEj368KYWvnd4T5EsawixMcTro_UHc,2570
134
- mistralai/_version.py,sha256=GRgL4RQk2kYt7mohgi1PRAMqEbZSHKMkxC4qZQ_m4Ak,460
135
- mistralai/agents.py,sha256=63-FJfMJ_9Qb0O0-uorAJM8km4FHpCEjjIk14margM8,31392
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=da0sFeLR-ztU5-fuGJ4TMqUnnqSzXbPAjpNgKI52tBk,11999
141
+ mistralai/basesdk.py,sha256=GsU5bp8O5fBCl34tKxaYmeYSIIM971eAPeFBBC_BpFo,12191
138
142
  mistralai/batch.py,sha256=YN4D0Duwrap9Ysmp_lRpADYp1Znay7THE_z8ERGvDds,501
139
- mistralai/chat.py,sha256=n_FpKg-yN0CbAcnVRAkkwcXQuBPwiZBe3e1YSg2hfq8,39339
140
- mistralai/classifiers.py,sha256=oxGQEj6QfIWvV2GIAhfev9DVbFTG79uR5ODKTmOiJxs,16594
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=oT6SgsC3ODtn9mAWfpHN9Eli6puLmz9dEe-ZrY0QiPA,8590
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,48 +152,49 @@ 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=OiIpNXMODKJ6U2QDCXxPHBoVtXzXF7jtBzCLmI4t_CU,907
152
- mistralai/files.py,sha256=E1-MxJc-84IdKrc-0k-bvYNa7OSoNFCQ7wBX9tMnFb8,44359
153
- mistralai/fim.py,sha256=WFlELwTAT_dT7HcBRuby8xqoQsUsw-IXqzqufyyqz_g,27289
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=N-D-srtDBykpfyVKacTY4upDGvNLqdWlEYqhJvta99E,4194
156
- mistralai/jobs.py,sha256=SVNlvn8XGaCkNJ5tKOKci5QLavacmkNqoYeIGF4ik0Q,43481
157
- mistralai/mistral_jobs.py,sha256=2ScKd2Tv79-MWxEQkrqr53Ikya8rmTbSiJ96judp7DY,30166
158
- mistralai/models/__init__.py,sha256=IGlVf2t6ZzB5HvRNQpFaf5WmKJOemcrCU9Uvsf9IAz0,21953
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
162
166
  mistralai/models/archiveftmodelout.py,sha256=dQx1J91UA06pjk2r7okhKMyBBePmHal7SPpn6Y_wEsY,820
163
- mistralai/models/assistantmessage.py,sha256=BbvwC7W4Zk_8GN3w1QnEj7UygVGl0pfCtr6eosNUAgw,2204
167
+ mistralai/models/assistantmessage.py,sha256=pmOhSINRB8sJ11lNtfKEL0k6-JnTEJ7cjlWW9D0pIMM,2624
164
168
  mistralai/models/basemodelcard.py,sha256=nv-xjoZFCuIdjKBl98dVH5puT7qh0AC2MaE7WTsMxfs,2985
165
169
  mistralai/models/batcherror.py,sha256=tThkO9B-g-6eDSBCm1Emd-zDI4B3mk2vAl0L1MI3pdQ,390
166
170
  mistralai/models/batchjobin.py,sha256=1GDaaHJeGVo71F4HVZkTdX92bmr3DieNB0ZuHFzBIeE,1850
167
171
  mistralai/models/batchjobout.py,sha256=AXFSgDFGY_1LFVHtVdp66y08DUZCxsZtZ_NzTAJYDWM,3067
168
172
  mistralai/models/batchjobsout.py,sha256=Tq6bcb4_-fcW8C9AOnfJN8_sTy1NQhDn82qFOKdFPcg,868
169
173
  mistralai/models/batchjobstatus.py,sha256=WlrIl5vWQGfLmgQA91_9CnCMKhWN6Lli458fT-4Asj4,294
170
- mistralai/models/chatclassificationrequest.py,sha256=WYthWiE7euFSeJYJRQJMXmxbWzGDl8kpF4yyLO9ZJaE,3225
171
174
  mistralai/models/chatcompletionchoice.py,sha256=6iIFLZj2KYx0HFfzS3-E3sNXG6mPEAlDyXxIA5iZI_U,849
172
- mistralai/models/chatcompletionrequest.py,sha256=MlAYYz5-VK9i81Teb89D_KxqQ34lip0eU3DlHkv05aM,9763
175
+ mistralai/models/chatcompletionrequest.py,sha256=Qm2b3Ohv3hQi4N6bGn53EsdiHDmwK8BL4JFT06R3VT4,9651
173
176
  mistralai/models/chatcompletionresponse.py,sha256=sLE-_Bx9W5rH2-HE2fBWPVbJbmBWx_jSY2mJ3KBEn6w,792
174
- mistralai/models/chatcompletionstreamrequest.py,sha256=3Td59jU_GDoioTjcrx5pteOqiRJxlFF0lshVpRsx7V0,9451
177
+ mistralai/models/chatcompletionstreamrequest.py,sha256=5IPSsJC51NdNdQ3uZrVnHx0eIZUvFEIeJ9CD6T53Bz4,9339
178
+ mistralai/models/chatmoderationrequest.py,sha256=LX-dhlYxecEzChSTt4jo4DA8lC4DEp5brgaiksTGF-o,2367
175
179
  mistralai/models/checkpointout.py,sha256=A2kXS8-VT_1lbg3brifVjZD6tXdsET8vLqBm2a-yXgA,1109
176
180
  mistralai/models/classificationobject.py,sha256=JqaKo3AQD4t5X12ZnHjJ6K3Y6LXUn94uGdLJSoGr8vY,665
177
- mistralai/models/classificationrequest.py,sha256=UFbjwNFtLZmylX3DqQSH3FoOvvD1UGBapK6f9b9LGYE,1903
181
+ mistralai/models/classificationrequest.py,sha256=FqQfSrGYwLUjVw78Ft7tbmhAkUN0FqolCn4MNArOuR8,922
178
182
  mistralai/models/classificationresponse.py,sha256=TeBV7mH0nvLswPdLhv4ZaDTsXvuVYJqSe5Uci7qVSMA,649
179
183
  mistralai/models/completionchunk.py,sha256=Cdq-FBWa1oBhrxapoOAj8qr6xmkeIPsfPQSbjeK6NLY,871
180
184
  mistralai/models/completionevent.py,sha256=rFc5dJBRnNOzspI95Jhkjd9WyM476u48cN0T1Vh-Cxw,399
181
185
  mistralai/models/completionresponsestreamchoice.py,sha256=gw5-_iOyznuimumDtBV65E3zwUW0KH1OHP55dGCAsAA,1927
182
- mistralai/models/contentchunk.py,sha256=SR4M8E4u44_r5YNFVTuWmiDHCU3wp4kWBhVj_HRxRGs,875
186
+ mistralai/models/contentchunk.py,sha256=V8-d2u9ReICA6uXZwJTUXu88VfKRIAsLRO6o113Mcw8,1073
183
187
  mistralai/models/delete_model_v1_models_model_id_deleteop.py,sha256=lnVRFX-G0jkn1dCFC89sXY2Pj_w4QfMDeF1tPjS4hWE,602
184
188
  mistralai/models/deletefileout.py,sha256=s3a-H2RgFQ9HX0kYSmP6GwmwE1jghz7dBj-3G0NBVSY,587
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/embeddingrequest.py,sha256=9SZGc7QOMfYd_KRGSG-fXapaKisN4hZlqmtvo6sodX0,2046
192
+ mistralai/models/documenturlchunk.py,sha256=j3JB_Cy1eIRY7fTJe8AvQrdrLEA6xsJcM1l9_a1Sh68,1704
193
+ mistralai/models/embeddingrequest.py,sha256=-EbPsiGUIur80rP5QJ8QaoN5SQGoVmxVUDmUUtFB0CY,762
189
194
  mistralai/models/embeddingresponse.py,sha256=te6E_LYEzRjHJ9QREmsFp5PeNP2J_8ALVjyb1T20pNA,663
190
195
  mistralai/models/embeddingresponsedata.py,sha256=fJ3mrZqyBBBE40a6iegOJX3DVDfgyMRq23ByeGSTLFk,534
191
196
  mistralai/models/eventout.py,sha256=TouRJeISBLphMTPHfgSOpuoOmbGDVohPOrdgHyExMpw,1633
192
- mistralai/models/filepurpose.py,sha256=SPaXJpAW93EozlCU63Wtpj_KkMtjwXk41n1_ohFccQw,256
197
+ mistralai/models/filepurpose.py,sha256=lQk45E78j4bJyMi59jLH5IjU1rCUsqprF28P4ArGQoo,263
193
198
  mistralai/models/files_api_routes_delete_fileop.py,sha256=HOx-hJxphSYF-JV3zOGe2eucWQUpfVqxG0IDaSa3dcE,500
194
199
  mistralai/models/files_api_routes_download_fileop.py,sha256=y3sLFZ-j4eUuxCyIP0L-exy0ViqskDLkghkOccElBQQ,504
195
200
  mistralai/models/files_api_routes_get_signed_urlop.py,sha256=e_XczBgInaylmHJ9m5wJQ78hfCp2PrrTrT8bxGGi8BI,879
@@ -198,9 +203,9 @@ mistralai/models/files_api_routes_retrieve_fileop.py,sha256=8DjSbYqUqFoPq-qcNXyV
198
203
  mistralai/models/files_api_routes_upload_fileop.py,sha256=gIGH5xcPryWYkj1FmNv_0-9He-QB_rRf1a5nUYBNDTU,2213
199
204
  mistralai/models/fileschema.py,sha256=n_IjCdNOrC2fuzkv75wJn01XvqGTmPK3JqAFSHaOiMA,2597
200
205
  mistralai/models/filesignedurl.py,sha256=VwvuhzhJulAB99Qxz6zr-2F1aINosAfaSxU0IhytDSU,289
201
- mistralai/models/fimcompletionrequest.py,sha256=DidQBt_s7o-VkfGNZpN6MUi19Qs_WXVCvA7ek45Hcnc,6606
206
+ mistralai/models/fimcompletionrequest.py,sha256=wWDCkQ_PMnjB8DrIuIvVJlPGqQtTpVDHt4p7xJ204Ug,6565
202
207
  mistralai/models/fimcompletionresponse.py,sha256=_QwzRuL3KuKkyrA4Fxp366SW0H0EzOA7f4FLkWLm-PM,790
203
- mistralai/models/fimcompletionstreamrequest.py,sha256=n-uzWyaSk4-dfBLM8rbmhZOESLKG_JCcaoc1aLdrbqk,5985
208
+ mistralai/models/fimcompletionstreamrequest.py,sha256=fxuR8FDOWMwIqlYU9ttAfGeRdVgTz4l2k26_OEfxelg,5944
204
209
  mistralai/models/ftmodelcapabilitiesout.py,sha256=H1kKEChUPgYT31ZQUz0tn9NRa7Z3hRZlh-sFfDYvBos,648
205
210
  mistralai/models/ftmodelcard.py,sha256=G3dioHDMOhbI5HIw5gCaxZDb1sCthBzkXIAYMNHwya8,3300
206
211
  mistralai/models/ftmodelout.py,sha256=dw-y8KKT_7rzW6tu10gfc1YKB8-Kpw4e4zy23z_U1d4,2530
@@ -233,7 +238,13 @@ mistralai/models/listfilesout.py,sha256=tW2fNabLKcftc5kytkjwVaChlOzWRL4FKtNzDak9
233
238
  mistralai/models/metricout.py,sha256=dXQMMU4Nk6-Zr06Jx1TWilFi6cOwiVLjSanCFn0cPxo,2034
234
239
  mistralai/models/modelcapabilities.py,sha256=No-Dl09zT1sG4MxsWnx4s8Yo1tUeMQ7k-HR_iQFIMFc,703
235
240
  mistralai/models/modellist.py,sha256=D4Y784kQkx0ARhofFrpEqGLfxa-jTY8ev0TQMrD_n8I,995
236
- mistralai/models/prediction.py,sha256=54P1n4Y5pXu4YsFKAcmThj0GyUrWxyOlIfjG5K2htB8,726
241
+ mistralai/models/ocrimageobject.py,sha256=QDylsNCXy78rWLHuE4CrnQAPXnubz0-FN1wQXtsVsDA,2534
242
+ mistralai/models/ocrpagedimensions.py,sha256=oP4v80I8d6ZELSZt6cRoECd6uIONgdyCeeFalm-4OvM,609
243
+ mistralai/models/ocrpageobject.py,sha256=s0OzcCA0cLTFYahNOr0-r4ds7WOsXYhEx-QcNLngW7M,2085
244
+ mistralai/models/ocrrequest.py,sha256=KKFFvxsGsOQKAYFpuZ02-VsiJWNawlIIz-7dPPtNklU,3112
245
+ mistralai/models/ocrresponse.py,sha256=JpI9Yl6fYeGf6Wsn4M4Z-i6Ir2qAlMKFQnVXqsLiC5Y,752
246
+ mistralai/models/ocrusageinfo.py,sha256=cWtxHxXyJn3U1qJgG-XU-1xfC7poGHvhVtPqdrFrfII,1571
247
+ mistralai/models/prediction.py,sha256=BgWbbeSi1eD9Rh1xk8srXlRgD7Xooj8nLsbSQ21pNRo,718
237
248
  mistralai/models/referencechunk.py,sha256=A9vV5pZv-tUqGlswdu0HOyCYy0Q-UIJY0Oc9ZfM6XJA,519
238
249
  mistralai/models/responseformat.py,sha256=-TAPGth3_FAiNl-kuE4COI5cSP5fxQ7xewFSV989i58,2225
239
250
  mistralai/models/responseformats.py,sha256=O9lwS2M9m53DsRxTC4uRP12SvRhgaQoMjIYsDys5A7s,503
@@ -262,13 +273,14 @@ mistralai/models/usermessage.py,sha256=kjS5HudMsaRNfeUhFFBCyY8l-umlHvGk8wvTIq6-q
262
273
  mistralai/models/validationerror.py,sha256=DouDBJmBhbW4KPsF5rZEyBdnB_adC-l32kuHC0bvO2I,526
263
274
  mistralai/models/wandbintegration.py,sha256=BkLD3r08ToZkMAhPXdnC7bfOGr3banKqt1wVKMGehUQ,2406
264
275
  mistralai/models/wandbintegrationout.py,sha256=C0HpS8jJGnACs7eWnuIq0qJEroIUAbjkvzfSSkSKS7Q,2274
265
- mistralai/models_.py,sha256=r0etSSUChK7hxxf7ZyhoeloyE8TyPRL1s5Jh4Jgukbw,44394
276
+ mistralai/models_.py,sha256=lfFFHRx2Gt8d6HODFYfSgHO_roXbIvLX5aUj2jtKYBs,46140
277
+ mistralai/ocr.py,sha256=R4afXZ1Pk1f6k7Acady1HwRdW-kZXzs7d_Isa7oxJpo,10051
266
278
  mistralai/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
267
- mistralai/sdk.py,sha256=itKygBxr6JLO8f9u0v0m-bsHLOjKutuLalZsg0OLISU,5733
268
- mistralai/sdkconfiguration.py,sha256=sx6U1xgxFbflhJdOBAeI7isId-8wlMd8NK9pi-JGs1o,1789
279
+ mistralai/sdk.py,sha256=q18oi4qj0PU6fsB_5BaWy-18bGzLxOgMlkSvEgCW4MY,6453
280
+ mistralai/sdkconfiguration.py,sha256=88GOgda6cRq40OSFI5FIarLvGNrMaHTzinPI_GyqTvk,1873
269
281
  mistralai/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
270
282
  mistralai/types/basemodel.py,sha256=PexI39iKiOkIlobB8Ueo0yn8PLHp6_wb-WO-zelNDZY,1170
271
- mistralai/utils/__init__.py,sha256=8npwwHS-7zjVrbkzBGO-Uk4GkjC240PCleMbgPK1Axs,2418
283
+ mistralai/utils/__init__.py,sha256=A7_RAc6uLoQYKGunLRFg8cTYYvM4WgoM7Da50PYZOoU,2456
272
284
  mistralai/utils/annotations.py,sha256=aR7mZG34FzgRdew7WZPYEu9QGBerpuKxCF4sek5Z_5Y,1699
273
285
  mistralai/utils/enums.py,sha256=VzjeslROrAr2luZOTJlvu-4UlxgTaGOKlRYtJJ7IfyY,1006
274
286
  mistralai/utils/eventstreaming.py,sha256=LtcrfJYw4nP2Oe4Wl0-cEURLzRGYReRGWNFY5wYECIE,6186
@@ -280,11 +292,11 @@ mistralai/utils/queryparams.py,sha256=MTK6inMS1_WwjmMJEJmAn67tSHHJyarpdGRlorRHEt
280
292
  mistralai/utils/requestbodies.py,sha256=ySjEyjcLi731LNUahWvLOrES2HihuA8VrOJx4eQ7Qzg,2101
281
293
  mistralai/utils/retries.py,sha256=6yhfZifqIat9i76xF0lTR2jLj1IN9BNGyqqxATlEFPU,6348
282
294
  mistralai/utils/security.py,sha256=vWlpkikOnGN_HRRhJ7Pb8ywVAjiM3d3ey3oTWtM6jTU,6008
283
- mistralai/utils/serializers.py,sha256=BSJT7kBOkNBFyP7KREyMoe14JGbgijD1M6AXFMbdmco,4924
295
+ mistralai/utils/serializers.py,sha256=EGH40Pgp3sSK9uM4PxL7_SYzSHtmo-Uy6QIE5xLVg68,5198
284
296
  mistralai/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
285
- mistralai/utils/values.py,sha256=_89YXPTI_BU6SXJBzFR4pIzTCBPQW9tsOTN1jeBBIDs,3428
297
+ mistralai/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
286
298
  mistralai/version.py,sha256=iosXhlXclBwBqlADFKEilxAC2wWKbtuBKi87AmPi7s8,196
287
- mistralai-1.5.0.dist-info/LICENSE,sha256=rUtQ_9GD0OyLPlb-2uWVdfE87hzudMRmsW-tS-0DK-0,11340
288
- mistralai-1.5.0.dist-info/METADATA,sha256=drBwjaz85HBcWlgOsNldybLkbE3KitbeGUsThLU8etU,29251
289
- mistralai-1.5.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
290
- mistralai-1.5.0.dist-info/RECORD,,
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,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 2.0.1
2
+ Generator: poetry-core 2.1.1
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,9 +1,18 @@
1
1
  """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
2
 
3
- from ._version import __title__, __version__
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__
@@ -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.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
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.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
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.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
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
 
@@ -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:
@@ -231,6 +231,10 @@ class BaseSDK:
231
231
  req.headers,
232
232
  get_body_content(req),
233
233
  )
234
+
235
+ if client is None:
236
+ raise ValueError("client is required")
237
+
234
238
  http_res = client.send(req, stream=stream)
235
239
  except Exception as e:
236
240
  _, e = self.sdk_configuration.get_hooks().after_error(
@@ -303,6 +307,10 @@ class BaseSDK:
303
307
  req.headers,
304
308
  get_body_content(req),
305
309
  )
310
+
311
+ if client is None:
312
+ raise ValueError("client is required")
313
+
306
314
  http_res = await client.send(req, stream=stream)
307
315
  except Exception as e:
308
316
  _, e = self.sdk_configuration.get_hooks().after_error(