Skip to content

Commit

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

* regen with 1.462.2

---------

Co-authored-by: speakeasybot <[email protected]>
Co-authored-by: gaspardBT <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent a1c6933 commit a117be8
Show file tree
Hide file tree
Showing 9 changed files with 90 additions and 20 deletions.
22 changes: 15 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 0.0.2
speakeasyVersion: 1.462.2
generationVersion: 2.486.1
releaseVersion: 1.2.6
configChecksum: 195a36c6a88eb19c3a487f1fe4a39bcc
releaseVersion: 1.3.0
configChecksum: e3b0a94e8a244b9061b81373ae58d4ed
repoURL: https://github.com/mistralai/client-python.git
installationURL: https://github.com/mistralai/client-python.git
published: true
Expand Down Expand Up @@ -402,9 +402,11 @@ examples:
parameters:
path:
model_id: "ft:open-mistral-7b:587a6b29:20240514:7e773925"
requestBody:
application/json: {}
responses:
"200":
application/json: {"id": "<id>", "created": 857478, "owned_by": "<value>", "root": "<value>", "archived": true, "job": "905bf4aa-77f2-404e-b754-c352acfe5407"}
application/json: {"id": "<id>", "created": 857478, "owned_by": "<value>", "root": "<value>", "archived": true, "capabilities": {}, "job": "905bf4aa-77f2-404e-b754-c352acfe5407"}
jobs_api_routes_fine_tuning_archive_fine_tuned_model:
"":
parameters:
Expand Down Expand Up @@ -457,7 +459,7 @@ examples:
jobs_api_routes_fine_tuning_create_fine_tuning_job:
speakeasy-default-jobs-api-routes-fine-tuning-create-fine-tuning-job:
requestBody:
application/json: {"model": "codestral-latest"}
application/json: {"model": "codestral-latest", "hyperparameters": {}}
responses:
"200":
application/json: {"id": "a621cf02-1cd9-4cf5-8403-315211a509a3", "auto_start": false, "model": "2", "status": "FAILED", "job_type": "<value>", "created_at": 550483, "modified_at": 906537, "training_files": ["74c2becc-3769-4177-b5e0-24985613de0e"]}
Expand All @@ -468,23 +470,23 @@ examples:
job_id: "b18d8d81-fd7b-4764-a31e-475cb1f36591"
responses:
"200":
application/json: {"id": "58ccc65b-c928-4154-952e-30c048b8c2b5", "auto_start": false, "model": "open-mistral-nemo", "status": "VALIDATED", "job_type": "<value>", "created_at": 968091, "modified_at": 32069, "training_files": [], "checkpoints": []}
application/json: {"id": "58ccc65b-c928-4154-952e-30c048b8c2b5", "auto_start": false, "hyperparameters": {}, "model": "open-mistral-nemo", "status": "VALIDATED", "job_type": "<value>", "created_at": 968091, "modified_at": 32069, "training_files": [], "checkpoints": []}
jobs_api_routes_fine_tuning_cancel_fine_tuning_job:
speakeasy-default-jobs-api-routes-fine-tuning-cancel-fine-tuning-job:
parameters:
path:
job_id: "03fa7112-315a-4072-a9f2-43f3f1ec962e"
responses:
"200":
application/json: {"id": "fb7dec95-f740-47b2-b8ee-d9b046936a67", "auto_start": true, "model": "mistral-large-latest", "status": "VALIDATED", "job_type": "<value>", "created_at": 252151, "modified_at": 56775, "training_files": [], "checkpoints": []}
application/json: {"id": "fb7dec95-f740-47b2-b8ee-d9b046936a67", "auto_start": true, "hyperparameters": {}, "model": "mistral-large-latest", "status": "VALIDATED", "job_type": "<value>", "created_at": 252151, "modified_at": 56775, "training_files": [], "checkpoints": []}
jobs_api_routes_fine_tuning_start_fine_tuning_job:
speakeasy-default-jobs-api-routes-fine-tuning-start-fine-tuning-job:
parameters:
path:
job_id: "0eb0f807-fb9f-4e46-9c13-4e257df6e1ba"
responses:
"200":
application/json: {"id": "bc3810ce-43e6-4fde-85a4-cd01d1f9cf8f", "auto_start": true, "model": "codestral-latest", "status": "RUNNING", "job_type": "<value>", "created_at": 186591, "modified_at": 451468, "training_files": [], "checkpoints": []}
application/json: {"id": "bc3810ce-43e6-4fde-85a4-cd01d1f9cf8f", "auto_start": true, "hyperparameters": {}, "model": "codestral-latest", "status": "RUNNING", "job_type": "<value>", "created_at": 186591, "modified_at": 451468, "training_files": [], "checkpoints": []}
chat_completion_v1_chat_completions_post:
speakeasy-default-chat-completion-v1-chat-completions-post:
requestBody:
Expand All @@ -501,6 +503,7 @@ examples:
responses:
"422":
application/json: {}
"200": {}
fim_completion_v1_fim_completions_post:
speakeasy-default-fim-completion-v1-fim-completions-post:
requestBody:
Expand All @@ -517,6 +520,7 @@ examples:
responses:
"422":
application/json: {}
"200": {}
agents_completion_v1_agents_completions_post:
speakeasy-default-agents-completion-v1-agents-completions-post:
requestBody:
Expand All @@ -533,6 +537,7 @@ examples:
responses:
"422":
application/json: {}
"200": {}
embeddings_v1_embeddings_post:
speakeasy-default-embeddings-v1-embeddings-post:
requestBody:
Expand All @@ -547,6 +552,9 @@ examples:
parameters:
path:
file_id: "<id>"
responses:
"200":
application/octet-stream: "x-file: example.file"
jobs_api_routes_batch_get_batch_jobs:
speakeasy-default-jobs-api-routes-batch-get-batch-jobs:
responses:
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.6
version: 1.3.0
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
5 changes: 2 additions & 3 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ sources:
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
tags:
- latest
- speakeasy-sdk-regen-1736155788
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -40,10 +39,10 @@ targets:
sourceRevisionDigest: sha256:84bbc6f6011a31e21c8a674b01104446f986c7b5a6b002357800be8ef939b8da
sourceBlobDigest: sha256:ebc7c1bb20aa87873a255cebea1e451099d8949ea1bbff81ec5fd45a107e3a32
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:3d7ebf5043f98a2e9b07c66057c279f90272a813875b29bd9b75595f77caf0c4
codeSamplesRevisionDigest: sha256:3868602e7de978e42d8372711d9711af5338a2f2bbf7671a5998c6176f74f58f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
speakeasyVersion: 1.462.2
sources:
mistral-azure-source:
inputs:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
workflowVersion: 1.0.0
speakeasyVersion: latest
speakeasyVersion: 1.462.2 # # Pinned to unblock https://github.com/mistralai/client-python/pull/173
sources:
mistral-azure-source:
inputs:
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ Based on:
### Generated
- [python v1.2.6] .
### Releases
- [PyPI v1.2.6] https://pypi.org/project/mistralai/1.2.6 - .
- [PyPI v1.2.6] https://pypi.org/project/mistralai/1.2.6 - .

## 2025-01-14 09:35:05
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.468.5 (2.493.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.0] .
### Releases
- [PyPI v1.3.0] https://pypi.org/project/mistralai/1.3.0 - .
Loading

0 comments on commit a117be8

Please sign in to comment.