Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.2.6 (#169)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.462.2

* update gcp client 1.2.6

* update azure client 1.2.6

---------

Co-authored-by: speakeasybot <[email protected]>
Co-authored-by: gaspardBT <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent 329ce8c commit d14559a
Show file tree
Hide file tree
Showing 59 changed files with 930 additions and 535 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.speakeasy/reports
README-PYPI.md
.venv/
pyrightconfig.json
Expand Down
50 changes: 35 additions & 15 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
management:
docChecksum: 36ad3563d9d2b3af47015100d060570b
docChecksum: 7ad277ed0527b2949ed9d503ce742fab
docVersion: 0.0.2
speakeasyVersion: 1.451.1
generationVersion: 2.470.1
releaseVersion: 1.2.5
configChecksum: 9dbada68b30d84dc9c102c143b926b3d
speakeasyVersion: 1.462.2
generationVersion: 2.486.1
releaseVersion: 1.2.6
configChecksum: 195a36c6a88eb19c3a487f1fe4a39bcc
repoURL: https://github.com/mistralai/client-python.git
installationURL: https://github.com/mistralai/client-python.git
published: true
features:
python:
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.6.8
core: 5.7.4
defaultEnabledRetries: 0.2.0
downloadStreams: 1.0.1
enumUnions: 0.1.0
Expand All @@ -25,10 +25,10 @@ features:
globalSecurity: 3.0.2
globalSecurityCallbacks: 1.0.0
globalSecurityFlattening: 1.0.0
globalServerURLs: 3.0.0
globalServerURLs: 3.1.0
methodArguments: 1.0.2
multipartFileContentType: 1.0.0
nameOverrides: 3.0.0
nameOverrides: 3.0.1
nullables: 1.0.0
openEnums: 1.0.0
responseFormat: 1.0.1
Expand Down Expand Up @@ -373,7 +373,12 @@ generatedFiles:
- src/mistralai/utils/values.py
examples:
list_models_v1_models_get:
speakeasy-default-list-models-v1-models-get: {}
speakeasy-default-list-models-v1-models-get:
responses:
"200":
application/json: {}
"422":
application/json: {}
retrieve_model_v1_models__model_id__get:
"":
parameters:
Expand Down Expand Up @@ -487,43 +492,56 @@ examples:
responses:
"200":
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": []}
"422": {}
"422":
application/json: {}
stream_chat:
speakeasy-default-stream-chat:
requestBody:
application/json: {"model": "mistral-small-latest", "messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}]}
responses:
"422":
application/json: {}
fim_completion_v1_fim_completions_post:
speakeasy-default-fim-completion-v1-fim-completions-post:
requestBody:
application/json: {"model": "codestral-2405", "prompt": "def", "suffix": "return a+b"}
responses:
"200":
application/json: {"id": "cmpl-e5cc70bb28c444948073e77776eb30ef", "object": "chat.completion", "model": "codestral-latest", "usage": {"prompt_tokens": 16, "completion_tokens": 34, "total_tokens": 50}, "created": 1702256327, "choices": []}
"422": {}
"422":
application/json: {}
stream_fim:
speakeasy-default-stream-fim:
requestBody:
application/json: {"model": "codestral-2405", "prompt": "def", "suffix": "return a+b"}
responses:
"422":
application/json: {}
agents_completion_v1_agents_completions_post:
speakeasy-default-agents-completion-v1-agents-completions-post:
requestBody:
application/json: {"messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}], "agent_id": "<value>"}
responses:
"200":
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": []}
"422": {}
"422":
application/json: {}
stream_agents:
speakeasy-default-stream-agents:
requestBody:
application/json: {"messages": [{"content": "Who is the best French painter? Answer in one short sentence.", "role": "user"}], "agent_id": "<value>"}
responses:
"422":
application/json: {}
embeddings_v1_embeddings_post:
speakeasy-default-embeddings-v1-embeddings-post:
requestBody:
application/json: {"input": ["Embed this sentence.", "As well as this one."], "model": "Wrangler"}
responses:
"200":
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}]}
"422": {}
"422":
application/json: {}
files_api_routes_download_file:
speakeasy-default-files-api-routes-download-file:
parameters:
Expand Down Expand Up @@ -564,15 +582,17 @@ examples:
responses:
"200":
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
"422": {}
"422":
application/json: {}
moderations_chat_v1_chat_moderations_post:
speakeasy-default-moderations-chat-v1-chat-moderations-post:
requestBody:
application/json: {"input": [[{"content": "<value>"}, {"content": "<value>"}, {"content": "<value>"}], [{"content": "<value>"}]], "model": "V90"}
responses:
"200":
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
"422": {}
"422":
application/json: {}
files_api_routes_get_signed_url:
speakeasy-default-files-api-routes-get-signed-url:
parameters:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 1.2.5
version: 1.2.6
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
34 changes: 17 additions & 17 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
speakeasyVersion: 1.451.1
speakeasyVersion: 1.462.2
sources:
mistral-azure-source:
sourceNamespace: mistral-azure-source
sourceRevisionDigest: sha256:9c35eed0174f2d8165807bcd7c8e7b7111fa97c059a77ae7eeaa352ca7e83b4d
sourceBlobDigest: sha256:07283bfde08363f9f69b133888b482472c4bf12d2e5b59cb33c8993c517278e3
sourceRevisionDigest: sha256:ff181b1e0e3894a4925f7ae87415323058538a13bae9d9d508a8fe3b6ec0e333
sourceBlobDigest: sha256:a2b4fd69298ebb9adb0d3c8dfb452db52defac512a7532203eebffb6a252df76
tags:
- latest
mistral-google-cloud-source:
sourceNamespace: mistral-google-cloud-source
sourceRevisionDigest: sha256:e0fd58ce2dbba068f375d3a23d758b8678c2a68cf4fc7bc46ea7e1b37abe0647
sourceBlobDigest: sha256:0707d8d2566a9ef4ef286bb0abe467f8696ccf83ba73091065d7caf627a06611
sourceRevisionDigest: sha256:36c7de11e35023dc8fa5f3c0fb0e486d2a102275a2df808c08cfe9d43089be04
sourceBlobDigest: sha256:dd65bfa5d0448ad1851ebb18b57aa675533cd3e166beb86a390b0ab51d16a1c1
tags:
- latest
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:f74c08bdc7ae39f5fe2394df8f31ae623ece30a7f65019ab6b7bcea352953f05
sourceBlobDigest: sha256:5de08a038994ec94c0889341d434b598f541459d114f9935deb9ef3b3af90c5f
sourceRevisionDigest: sha256:84bbc6f6011a31e21c8a674b01104446f986c7b5a6b002357800be8ef939b8da
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
tags:
- latest
- speakeasy-sdk-regen-1733325251
- speakeasy-sdk-regen-1736155788
targets:
mistralai-azure-sdk:
source: mistral-azure-source
sourceNamespace: mistral-azure-source
sourceRevisionDigest: sha256:9c35eed0174f2d8165807bcd7c8e7b7111fa97c059a77ae7eeaa352ca7e83b4d
sourceBlobDigest: sha256:07283bfde08363f9f69b133888b482472c4bf12d2e5b59cb33c8993c517278e3
sourceRevisionDigest: sha256:ff181b1e0e3894a4925f7ae87415323058538a13bae9d9d508a8fe3b6ec0e333
sourceBlobDigest: sha256:a2b4fd69298ebb9adb0d3c8dfb452db52defac512a7532203eebffb6a252df76
codeSamplesNamespace: mistral-openapi-azure-code-samples
codeSamplesRevisionDigest: sha256:79a227720579444358a825b1a272c153f3d9dd48cd0913be6c988d7931a44241
codeSamplesRevisionDigest: sha256:28356dba7ea28436035e20182b8ce4d1951e19503b5accef6a128d860361e5c0
mistralai-gcp-sdk:
source: mistral-google-cloud-source
sourceNamespace: mistral-google-cloud-source
sourceRevisionDigest: sha256:e0fd58ce2dbba068f375d3a23d758b8678c2a68cf4fc7bc46ea7e1b37abe0647
sourceBlobDigest: sha256:0707d8d2566a9ef4ef286bb0abe467f8696ccf83ba73091065d7caf627a06611
sourceRevisionDigest: sha256:36c7de11e35023dc8fa5f3c0fb0e486d2a102275a2df808c08cfe9d43089be04
sourceBlobDigest: sha256:dd65bfa5d0448ad1851ebb18b57aa675533cd3e166beb86a390b0ab51d16a1c1
codeSamplesNamespace: mistral-openapi-google-cloud-code-samples
codeSamplesRevisionDigest: sha256:0657ec41e473356a5a0eeaca3dff137e9ff16080ec1fb50e72553245aa86ffe5
codeSamplesRevisionDigest: sha256:7de23f90d6543356f310f46375bef4db7f43eb22b2871ad4dfe1b7d0cc875bb4
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:f74c08bdc7ae39f5fe2394df8f31ae623ece30a7f65019ab6b7bcea352953f05
sourceBlobDigest: sha256:5de08a038994ec94c0889341d434b598f541459d114f9935deb9ef3b3af90c5f
sourceRevisionDigest: sha256:84bbc6f6011a31e21c8a674b01104446f986c7b5a6b002357800be8ef939b8da
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:9a22e0289ff4e72dd43c1b65ddb8c7870814176d36e1eb6352d06e93dec597ba
codeSamplesRevisionDigest: sha256:3d7ebf5043f98a2e9b07c66057c279f90272a813875b29bd9b75595f77caf0c4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading

0 comments on commit d14559a

Please sign in to comment.