11lockVersion: 2.0.0
22id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33management:
4- docChecksum: 553c31591e8dc33a58cb75f348c3aa72
4+ docChecksum: 81cc8be96362e2f1cb145b08a2e6c4fa
55 docVersion: 0.0.2
66 speakeasyVersion: 1.477.0
77 generationVersion: 2.497.0
8- releaseVersion: 1.5.0
9- configChecksum: 9a5649c5c372dc5fd2fde38a0faee40e
8+ releaseVersion: 1.5.1
9+ configChecksum: ef3439d915c5d16e7cfb88fe2bf94907
1010 repoURL: https://github.com/mistralai/client-python.git
1111 installationURL: https://github.com/mistralai/client-python.git
1212 published: true
@@ -68,8 +68,6 @@ generatedFiles:
6868 - docs/models/batchjobsout.md
6969 - docs/models/batchjobsoutobject.md
7070 - docs/models/batchjobstatus.md
71- - docs/models/chatclassificationrequest.md
72- - docs/models/chatclassificationrequestinputs.md
7371 - docs/models/chatcompletionchoice.md
7472 - docs/models/chatcompletionrequest.md
7573 - docs/models/chatcompletionrequesttoolchoice.md
@@ -78,6 +76,8 @@ generatedFiles:
7876 - docs/models/chatcompletionstreamrequestmessages.md
7977 - docs/models/chatcompletionstreamrequeststop.md
8078 - docs/models/chatcompletionstreamrequesttoolchoice.md
79+ - docs/models/chatmoderationrequest.md
80+ - docs/models/chatmoderationrequestinputs.md
8181 - docs/models/checkpointout.md
8282 - docs/models/classificationobject.md
8383 - docs/models/classificationrequest.md
@@ -99,6 +99,8 @@ generatedFiles:
9999 - docs/models/detailedjoboutobject.md
100100 - docs/models/detailedjoboutrepositories.md
101101 - docs/models/detailedjoboutstatus.md
102+ - docs/models/document.md
103+ - docs/models/documenturlchunk.md
102104 - docs/models/embeddingrequest.md
103105 - docs/models/embeddingresponse.md
104106 - docs/models/embeddingresponsedata.md
@@ -166,9 +168,14 @@ generatedFiles:
166168 - docs/models/modelcapabilities.md
167169 - docs/models/modellist.md
168170 - docs/models/object.md
171+ - docs/models/ocrimageobject.md
172+ - docs/models/ocrpagedimensions.md
173+ - docs/models/ocrpageobject.md
174+ - docs/models/ocrrequest.md
175+ - docs/models/ocrresponse.md
176+ - docs/models/ocrusageinfo.md
169177 - docs/models/one.md
170178 - docs/models/prediction.md
171- - docs/models/predictiontype.md
172179 - docs/models/queryparamstatus.md
173180 - docs/models/referencechunk.md
174181 - docs/models/referencechunktype.md
@@ -227,6 +234,7 @@ generatedFiles:
227234 - docs/sdks/mistral/README.md
228235 - docs/sdks/mistraljobs/README.md
229236 - docs/sdks/models/README.md
237+ - docs/sdks/ocr/README.md
230238 - poetry.toml
231239 - py.typed
232240 - pylintrc
@@ -261,11 +269,11 @@ generatedFiles:
261269 - src/mistralai/models/batchjobout.py
262270 - src/mistralai/models/batchjobsout.py
263271 - src/mistralai/models/batchjobstatus.py
264- - src/mistralai/models/chatclassificationrequest.py
265272 - src/mistralai/models/chatcompletionchoice.py
266273 - src/mistralai/models/chatcompletionrequest.py
267274 - src/mistralai/models/chatcompletionresponse.py
268275 - src/mistralai/models/chatcompletionstreamrequest.py
276+ - src/mistralai/models/chatmoderationrequest.py
269277 - src/mistralai/models/checkpointout.py
270278 - src/mistralai/models/classificationobject.py
271279 - src/mistralai/models/classificationrequest.py
@@ -279,6 +287,7 @@ generatedFiles:
279287 - src/mistralai/models/deletemodelout.py
280288 - src/mistralai/models/deltamessage.py
281289 - src/mistralai/models/detailedjobout.py
290+ - src/mistralai/models/documenturlchunk.py
282291 - src/mistralai/models/embeddingrequest.py
283292 - src/mistralai/models/embeddingresponse.py
284293 - src/mistralai/models/embeddingresponsedata.py
@@ -327,6 +336,12 @@ generatedFiles:
327336 - src/mistralai/models/metricout.py
328337 - src/mistralai/models/modelcapabilities.py
329338 - src/mistralai/models/modellist.py
339+ - src/mistralai/models/ocrimageobject.py
340+ - src/mistralai/models/ocrpagedimensions.py
341+ - src/mistralai/models/ocrpageobject.py
342+ - src/mistralai/models/ocrrequest.py
343+ - src/mistralai/models/ocrresponse.py
344+ - src/mistralai/models/ocrusageinfo.py
330345 - src/mistralai/models/prediction.py
331346 - src/mistralai/models/referencechunk.py
332347 - src/mistralai/models/responseformat.py
@@ -357,6 +372,7 @@ generatedFiles:
357372 - src/mistralai/models/wandbintegration.py
358373 - src/mistralai/models/wandbintegrationout.py
359374 - src/mistralai/models_.py
375+ - src/mistralai/ocr.py
360376 - src/mistralai/py.typed
361377 - src/mistralai/sdk.py
362378 - src/mistralai/sdkconfiguration.py
@@ -607,7 +623,7 @@ examples:
607623 embeddings_v1_embeddings_post:
608624 speakeasy-default-embeddings-v1-embeddings-post:
609625 requestBody:
610- application/json: {"input": ["Embed this sentence.", "As well as this one."], "model": "mistral-embed" }
626+ application/json: {"model": "mistral-embed", " input": ["Embed this sentence.", "As well as this one."]}
611627 responses:
612628 "200":
613629 application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "data": [{"object": "embedding", "embedding": [0.1, 0.2, 0.3], "index": 0}, {"object": "embedding", "embedding": [0.4, 0.5, 0.6], "index": 1}]}
@@ -616,7 +632,7 @@ examples:
616632 moderations_v1_moderations_post:
617633 speakeasy-default-moderations-v1-moderations-post:
618634 requestBody:
619- application/json: {"input": ["<value>"]}
635+ application/json: {"model": "V90", " input": ["<value>"]}
620636 responses:
621637 "200":
622638 application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
@@ -625,11 +641,20 @@ examples:
625641 moderations_chat_v1_chat_moderations_post:
626642 speakeasy-default-moderations-chat-v1-chat-moderations-post:
627643 requestBody:
628- application/json: {"input": [[{"content": "<value>", "role": "tool"}, {"content": "<value>", "role": "tool"}, {"content": "<value>", "role": "tool"}], [{"prefix": false, "role": "assistant"}, {"content": "<value>", "role": "user"}, {"prefix": false, "role": "assistant"}]], "model ": "Roadster" }
644+ application/json: {"model": "Roadster", " input": [[{"content": "<value>", "role": "tool"}, {"content": "<value>", "role": "tool"}, {"content": "<value>", "role": "tool"}], [{"prefix": false, "role": "assistant"}, {"content": "<value>", "role": "user"}, {"prefix": false, "role": "assistant"}]], "truncate_for_context_length ": false }
629645 responses:
630646 "200":
631647 application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
632648 "422":
633649 application/json: {}
650+ ocr_v1_ocr_post:
651+ speakeasy-default-ocr-v1-ocr-post:
652+ requestBody:
653+ application/json: {"model": "Focus", "document": {"document_url": "https://dutiful-horst.org"}}
654+ responses:
655+ "200":
656+ application/json: {"pages": [], "model": "A4", "usage_info": {"pages_processed": 442675}}
657+ "422":
658+ application/json: {}
634659examplesVersion: 1.0.0
635660generatedTests: {}
0 commit comments