11lockVersion: 2.0.0
22id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33management:
4- docChecksum: 82cf79b2dee6811d91e2912113c21d3a
4+ docChecksum: c33c788946fa446bfcf90b60f68abde9
55 docVersion: 1.0.0
66 speakeasyVersion: 1.568.2
77 generationVersion: 2.634.2
8- releaseVersion: 1.9.2
9- configChecksum: 1ca921f44508650d65ccf46783910ff3
8+ releaseVersion: 1.9.3
9+ configChecksum: 0f65a9bdd8df5ae03eaaaea3ab055bf1
1010 repoURL: https://github.com/mistralai/client-python.git
1111 installationURL: https://github.com/mistralai/client-python.git
1212 published: true
1313features:
1414 python:
1515 additionalDependencies: 1.0.0
16+ additionalProperties: 1.0.1
1617 constsAndDefaults: 1.0.5
1718 core: 5.19.3
1819 customCodeRegions: 0.1.1
@@ -89,7 +90,12 @@ generatedFiles:
8990 - docs/models/assistantmessage.md
9091 - docs/models/assistantmessagecontent.md
9192 - docs/models/assistantmessagerole.md
93+ - docs/models/audiochunk.md
94+ - docs/models/audiochunktype.md
95+ - docs/models/audiotranscriptionrequest.md
96+ - docs/models/audiotranscriptionrequeststream.md
9297 - docs/models/basemodelcard.md
98+ - docs/models/basemodelcardtype.md
9399 - docs/models/batcherror.md
94100 - docs/models/batchjobin.md
95101 - docs/models/batchjobout.md
@@ -320,6 +326,7 @@ generatedFiles:
320326 - docs/models/messageoutputeventrole.md
321327 - docs/models/messageoutputeventtype.md
322328 - docs/models/messages.md
329+ - docs/models/metadata.md
323330 - docs/models/metricout.md
324331 - docs/models/mistralpromptmode.md
325332 - docs/models/modelcapabilities.md
@@ -375,6 +382,10 @@ generatedFiles:
375382 - docs/models/systemmessagecontent.md
376383 - docs/models/textchunk.md
377384 - docs/models/textchunktype.md
385+ - docs/models/thinkchunk.md
386+ - docs/models/thinkchunktype.md
387+ - docs/models/thinking.md
388+ - docs/models/timestampgranularity.md
378389 - docs/models/tool.md
379390 - docs/models/toolcall.md
380391 - docs/models/toolchoice.md
@@ -398,6 +409,19 @@ generatedFiles:
398409 - docs/models/tools.md
399410 - docs/models/tooltypes.md
400411 - docs/models/trainingfile.md
412+ - docs/models/transcriptionresponse.md
413+ - docs/models/transcriptionsegmentchunk.md
414+ - docs/models/transcriptionstreamdone.md
415+ - docs/models/transcriptionstreamdonetype.md
416+ - docs/models/transcriptionstreamevents.md
417+ - docs/models/transcriptionstreameventsdata.md
418+ - docs/models/transcriptionstreameventtypes.md
419+ - docs/models/transcriptionstreamlanguage.md
420+ - docs/models/transcriptionstreamlanguagetype.md
421+ - docs/models/transcriptionstreamsegmentdelta.md
422+ - docs/models/transcriptionstreamsegmentdeltatype.md
423+ - docs/models/transcriptionstreamtextdelta.md
424+ - docs/models/transcriptionstreamtextdeltatype.md
401425 - docs/models/two.md
402426 - docs/models/type.md
403427 - docs/models/unarchiveftmodelout.md
@@ -420,6 +444,7 @@ generatedFiles:
420444 - docs/models/websearchtooltype.md
421445 - docs/sdks/accesses/README.md
422446 - docs/sdks/agents/README.md
447+ - docs/sdks/audio/README.md
423448 - docs/sdks/batch/README.md
424449 - docs/sdks/beta/README.md
425450 - docs/sdks/chat/README.md
@@ -437,6 +462,7 @@ generatedFiles:
437462 - docs/sdks/mistraljobs/README.md
438463 - docs/sdks/models/README.md
439464 - docs/sdks/ocr/README.md
465+ - docs/sdks/transcriptions/README.md
440466 - poetry.toml
441467 - py.typed
442468 - scripts/prepare_readme.py
@@ -448,6 +474,7 @@ generatedFiles:
448474 - src/mistralai/_version.py
449475 - src/mistralai/accesses.py
450476 - src/mistralai/agents.py
477+ - src/mistralai/audio.py
451478 - src/mistralai/basesdk.py
452479 - src/mistralai/batch.py
453480 - src/mistralai/beta.py
@@ -489,6 +516,9 @@ generatedFiles:
489516 - src/mistralai/models/apiendpoint.py
490517 - src/mistralai/models/archiveftmodelout.py
491518 - src/mistralai/models/assistantmessage.py
519+ - src/mistralai/models/audiochunk.py
520+ - src/mistralai/models/audiotranscriptionrequest.py
521+ - src/mistralai/models/audiotranscriptionrequeststream.py
492522 - src/mistralai/models/basemodelcard.py
493523 - src/mistralai/models/batcherror.py
494524 - src/mistralai/models/batchjobin.py
@@ -668,6 +698,8 @@ generatedFiles:
668698 - src/mistralai/models/ssetypes.py
669699 - src/mistralai/models/systemmessage.py
670700 - src/mistralai/models/textchunk.py
701+ - src/mistralai/models/thinkchunk.py
702+ - src/mistralai/models/timestampgranularity.py
671703 - src/mistralai/models/tool.py
672704 - src/mistralai/models/toolcall.py
673705 - src/mistralai/models/toolchoice.py
@@ -681,6 +713,14 @@ generatedFiles:
681713 - src/mistralai/models/toolreferencechunk.py
682714 - src/mistralai/models/tooltypes.py
683715 - src/mistralai/models/trainingfile.py
716+ - src/mistralai/models/transcriptionresponse.py
717+ - src/mistralai/models/transcriptionsegmentchunk.py
718+ - src/mistralai/models/transcriptionstreamdone.py
719+ - src/mistralai/models/transcriptionstreamevents.py
720+ - src/mistralai/models/transcriptionstreameventtypes.py
721+ - src/mistralai/models/transcriptionstreamlanguage.py
722+ - src/mistralai/models/transcriptionstreamsegmentdelta.py
723+ - src/mistralai/models/transcriptionstreamtextdelta.py
684724 - src/mistralai/models/unarchiveftmodelout.py
685725 - src/mistralai/models/updateftmodelin.py
686726 - src/mistralai/models/uploadfileout.py
@@ -696,6 +736,7 @@ generatedFiles:
696736 - src/mistralai/py.typed
697737 - src/mistralai/sdk.py
698738 - src/mistralai/sdkconfiguration.py
739+ - src/mistralai/transcriptions.py
699740 - src/mistralai/types/__init__.py
700741 - src/mistralai/types/basemodel.py
701742 - src/mistralai/utils/__init__.py
@@ -751,7 +792,7 @@ examples:
751792 application/json: {}
752793 responses:
753794 "200":
754- application/json: {"id": "<id>", "object": "model", "created": 124166, "owned_by": "<value>", "root": "<value>", "archived": true, "capabilities": {"completion_chat": true, "completion_fim": false, "function_calling": false, "fine_tuning": false, "classification": false}, "max_context_length": 32768, "job": "c4f8ef9a-6612-4f49-88fa-a80eb8116e46", "model_type": "completion"}
795+ application/json: {"id": "<id>", "object": "model", "created": 124166, "owned_by": "<value>", "workspace_id": "<id>", " root": "<value>", "root_version ": "<value>", "archived": true, "capabilities": {"completion_chat": true, "completion_fim": false, "function_calling": false, "fine_tuning": false, "classification": false}, "max_context_length": 32768, "job": "c4f8ef9a-6612-4f49-88fa-a80eb8116e46", "model_type": "completion"}
755796 jobs_api_routes_fine_tuning_archive_fine_tuned_model:
756797 speakeasy-default-jobs-api-routes-fine-tuning-archive-fine-tuned-model:
757798 parameters:
@@ -1027,33 +1068,33 @@ examples:
10271068 jobs_api_routes_batch_create_batch_job:
10281069 speakeasy-default-jobs-api-routes-batch-create-batch-job:
10291070 requestBody:
1030- application/json: {"input_files": ["fe3343a2-3b8d-404b-ba32-a78dede2614a"], "endpoint": "/v1/moderations", "model": "Altima", " timeout_hours": 24}
1071+ application/json: {"input_files": ["fe3343a2-3b8d-404b-ba32-a78dede2614a"], "endpoint": "/v1/moderations", "timeout_hours": 24}
10311072 responses:
10321073 "200":
1033- application/json: {"id": "<id>", "object": "batch", "input_files": ["7b2553d8-e17f-4df5-a862-a1678f6b5271", "8c618d9f-7d82-42ba-a284-d57d84f50a58", "c042f996-e842-441d-ae47-4e0850334e41"], "endpoint": "<value>", "model": "Taurus", " errors": [{"message": "<value>", "count": 1}], "status": "SUCCESS", "created_at": 395527, "total_requests": 166919, "completed_requests": 258552, "succeeded_requests": 480980, "failed_requests": 684176}
1074+ application/json: {"id": "<id>", "object": "batch", "input_files": ["7b2553d8-e17f-4df5-a862-a1678f6b5271", "8c618d9f-7d82-42ba-a284-d57d84f50a58", "c042f996-e842-441d-ae47-4e0850334e41"], "endpoint": "<value>", "errors": [{"message": "<value>", "count": 1}], "status": "SUCCESS", "created_at": 395527, "total_requests": 166919, "completed_requests": 258552, "succeeded_requests": 480980, "failed_requests": 684176}
10341075 jobs_api_routes_batch_get_batch_job:
10351076 speakeasy-default-jobs-api-routes-batch-get-batch-job:
10361077 parameters:
10371078 path:
10381079 job_id: "4017dc9f-b629-42f4-9700-8c681b9e7f0f"
10391080 responses:
10401081 "200":
1041- application/json: {"id": "<id>", "object": "batch", "input_files": ["11b83f16-f2f9-4de4-a81f-203fff419c99"], "endpoint": "<value>", "model": "Accord", " errors": [], "status": "TIMEOUT_EXCEEDED", "created_at": 900958, "total_requests": 458292, "completed_requests": 184893, "succeeded_requests": 104800, "failed_requests": 836210}
1082+ application/json: {"id": "<id>", "object": "batch", "input_files": ["11b83f16-f2f9-4de4-a81f-203fff419c99"], "endpoint": "<value>", "errors": [], "status": "TIMEOUT_EXCEEDED", "created_at": 900958, "total_requests": 458292, "completed_requests": 184893, "succeeded_requests": 104800, "failed_requests": 836210}
10421083 jobs_api_routes_batch_cancel_batch_job:
10431084 speakeasy-default-jobs-api-routes-batch-cancel-batch-job:
10441085 parameters:
10451086 path:
10461087 job_id: "4fb29d1c-535b-4f0a-a1cb-2167f86da569"
10471088 responses:
10481089 "200":
1049- application/json: {"id": "<id>", "object": "batch", "input_files": ["8fd9d88a-66be-43fd-a816-ba509ca3ca85"], "endpoint": "<value>", "model": "PT Cruiser", " errors": [], "status": "TIMEOUT_EXCEEDED", "created_at": 608251, "total_requests": 12693, "completed_requests": 203340, "succeeded_requests": 189291, "failed_requests": 969057}
1090+ application/json: {"id": "<id>", "object": "batch", "input_files": ["8fd9d88a-66be-43fd-a816-ba509ca3ca85"], "endpoint": "<value>", "errors": [], "status": "TIMEOUT_EXCEEDED", "created_at": 608251, "total_requests": 12693, "completed_requests": 203340, "succeeded_requests": 189291, "failed_requests": 969057}
10501091 chat_completion_v1_chat_completions_post:
10511092 speakeasy-default-chat-completion-v1-chat-completions-post:
10521093 requestBody:
10531094 application/json: {"model": "mistral-small-latest", "stream": false, "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
10541095 responses:
10551096 "200":
1056- application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16 , "completion_tokens": 34 , "total_tokens": 50 }, "created": 1702256327, "choices": []}
1097+ application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 0 , "completion_tokens": 0 , "total_tokens": 0 }, "created": 1702256327, "choices": []}
10571098 "422":
10581099 application/json: {}
10591100 stream_chat:
@@ -1069,7 +1110,7 @@ examples:
10691110 application/json: {"model": "codestral-2405", "top_p": 1, "stream": false, "prompt": "def", "suffix": "return a+b"}
10701111 responses:
10711112 "200":
1072- application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "codestral-latest", "usage": {"prompt_tokens": 16 , "completion_tokens": 34 , "total_tokens": 50 }, "created": 1702256327, "choices": []}
1113+ application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "codestral-latest", "usage": {"prompt_tokens": 0 , "completion_tokens": 0 , "total_tokens": 0 }, "created": 1702256327, "choices": []}
10731114 "422":
10741115 application/json: {}
10751116 stream_fim:
@@ -1085,7 +1126,7 @@ examples:
10851126 application/json: {"stream": false, "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}], "agent_id": "<id>"}
10861127 responses:
10871128 "200":
1088- application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 16 , "completion_tokens": 34 , "total_tokens": 50 }, "created": 1702256327, "choices": []}
1129+ application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 0 , "completion_tokens": 0 , "total_tokens": 0 }, "created": 1702256327, "choices": []}
10891130 "422":
10901131 application/json: {}
10911132 stream_agents:
@@ -1101,7 +1142,7 @@ examples:
11011142 application/json: {"model": "mistral-embed", "input": ["Embed this sentence.", "As well as this one."]}
11021143 responses:
11031144 "200":
1104- 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}]}
1145+ application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "mistral-small-latest", "usage": {"prompt_tokens": 0 , "completion_tokens": 0 , "total_tokens": 0 }, "data": [{"object": "embedding", "embedding": [0.1, 0.2, 0.3], "index": 0}, {"object": "embedding", "embedding": [0.4, 0.5, 0.6], "index": 1}]}
11051146 "422":
11061147 application/json: {}
11071148 moderations_v1_moderations_post:
@@ -1342,5 +1383,16 @@ examples:
13421383 application/json: {"library_id": "7f9c6af4-e362-4cf1-9363-0409d51c2dfa", "org_id": "6b2cac3a-b29c-4d8f-bebb-0db06ec1bf97", "role": "<value>", "share_with_type": "<value>", "share_with_uuid": "618c78f1-41ca-45c3-8ef2-7d78898c7061"}
13431384 "422":
13441385 application/json: {}
1386+ audio_api_v1_transcriptions_post:
1387+ speakeasy-default-audio-api-v1-transcriptions-post:
1388+ requestBody:
1389+ multipart/form-data: {"model": "Model X", "stream": false}
1390+ responses:
1391+ "200":
1392+ application/json: {"model": "Beetle", "text": "<value>", "usage": {"prompt_tokens": 0, "completion_tokens": 0, "total_tokens": 0}, "language": "<value>"}
1393+ audio_api_v1_transcriptions_post_stream:
1394+ speakeasy-default-audio-api-v1-transcriptions-post-stream:
1395+ requestBody:
1396+ multipart/form-data: {"model": "Camry", "stream": true}
13451397examplesVersion: 1.0.2
13461398generatedTests: {}
0 commit comments