Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.440.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 2, 2024
1 parent 4ac4737 commit 9d24a83
Show file tree
Hide file tree
Showing 32 changed files with 353 additions and 104 deletions.
25 changes: 18 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
management:
docChecksum: d066d98bdd0ef905d4126e0e69940946
docChecksum: 36ad3563d9d2b3af47015100d060570b
docVersion: 0.0.2
speakeasyVersion: 1.440.1
generationVersion: 2.460.1
releaseVersion: 1.2.3
configChecksum: 25fa33668bf14110dfe5bac267dcc8b4
releaseVersion: 1.2.4
configChecksum: 4fe789bac842073beb4e2d9c6c3f833d
repoURL: https://github.com/mistralai/client-python.git
installationURL: https://github.com/mistralai/client-python.git
published: true
Expand Down Expand Up @@ -107,16 +107,17 @@ generatedFiles:
- docs/models/filepurpose.md
- docs/models/filesapiroutesdeletefilerequest.md
- docs/models/filesapiroutesdownloadfilerequest.md
- docs/models/filesapiroutesgetsignedurlrequest.md
- docs/models/filesapirouteslistfilesrequest.md
- docs/models/filesapiroutesretrievefilerequest.md
- docs/models/filesapiroutesuploadfilemultipartbodyparams.md
- docs/models/fileschema.md
- docs/models/filesignedurl.md
- docs/models/fimcompletionrequest.md
- docs/models/fimcompletionrequeststop.md
- docs/models/fimcompletionresponse.md
- docs/models/fimcompletionstreamrequest.md
- docs/models/fimcompletionstreamrequeststop.md
- docs/models/finetuneablemodel.md
- docs/models/finishreason.md
- docs/models/ftmodelcapabilitiesout.md
- docs/models/ftmodelcard.md
Expand Down Expand Up @@ -282,14 +283,15 @@ generatedFiles:
- src/mistralai/models/filepurpose.py
- src/mistralai/models/files_api_routes_delete_fileop.py
- src/mistralai/models/files_api_routes_download_fileop.py
- src/mistralai/models/files_api_routes_get_signed_urlop.py
- src/mistralai/models/files_api_routes_list_filesop.py
- src/mistralai/models/files_api_routes_retrieve_fileop.py
- src/mistralai/models/files_api_routes_upload_fileop.py
- src/mistralai/models/fileschema.py
- src/mistralai/models/filesignedurl.py
- src/mistralai/models/fimcompletionrequest.py
- src/mistralai/models/fimcompletionresponse.py
- src/mistralai/models/fimcompletionstreamrequest.py
- src/mistralai/models/finetuneablemodel.py
- src/mistralai/models/ftmodelcapabilitiesout.py
- src/mistralai/models/ftmodelcard.py
- src/mistralai/models/ftmodelout.py
Expand Down Expand Up @@ -454,7 +456,7 @@ examples:
application/json: {"model": "codestral-latest"}
responses:
"200":
application/json: {"id": "a621cf02-1cd9-4cf5-8403-315211a509a3", "auto_start": false, "model": "open-mistral-7b", "status": "FAILED", "job_type": "<value>", "created_at": 550483, "modified_at": 906537, "training_files": ["74c2becc-3769-4177-b5e0-24985613de0e"]}
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"]}
jobs_api_routes_fine_tuning_get_fine_tuning_job:
speakeasy-default-jobs-api-routes-fine-tuning-get-fine-tuning-job:
parameters:
Expand Down Expand Up @@ -521,7 +523,7 @@ examples:
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}]}
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": {}
files_api_routes_download_file:
speakeasy-default-files-api-routes-download-file:
Expand Down Expand Up @@ -572,3 +574,12 @@ examples:
"200":
application/json: {"id": "mod-e5cc70bb28c444948073e77776eb30ef"}
"422": {}
files_api_routes_get_signed_url:
speakeasy-default-files-api-routes-get-signed-url:
parameters:
path:
file_id: "<id>"
query: {}
responses:
"200":
application/json: {"url": "https://scornful-daughter.com/"}
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.3
version: 1.2.4
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ sources:
- latest
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:9b6ad47076b570f4e23494bf744a7822547d0003e4b10985f26f1c3b5128e631
sourceBlobDigest: sha256:150e3da2a6bfb74e86e2ce864e9a094fc796f3a08df91f6a6e8745b54b3e16bc
sourceRevisionDigest: sha256:f74c08bdc7ae39f5fe2394df8f31ae623ece30a7f65019ab6b7bcea352953f05
sourceBlobDigest: sha256:5de08a038994ec94c0889341d434b598f541459d114f9935deb9ef3b3af90c5f
tags:
- latest
- speakeasy-sdk-regen-1731693697
- speakeasy-sdk-regen-1733149559
targets:
mistralai-azure-sdk:
source: mistral-azure-source
Expand All @@ -37,10 +37,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:9b6ad47076b570f4e23494bf744a7822547d0003e4b10985f26f1c3b5128e631
sourceBlobDigest: sha256:150e3da2a6bfb74e86e2ce864e9a094fc796f3a08df91f6a6e8745b54b3e16bc
sourceRevisionDigest: sha256:f74c08bdc7ae39f5fe2394df8f31ae623ece30a7f65019ab6b7bcea352953f05
sourceBlobDigest: sha256:5de08a038994ec94c0889341d434b598f541459d114f9935deb9ef3b3af90c5f
codeSamplesNamespace: mistral-openapi-code-samples
codeSamplesRevisionDigest: sha256:d1ea6603d96bdc063cc747cde1cadcbf443be580935e12438e7b915d0cd9a019
codeSamplesRevisionDigest: sha256:800804bcf76f579fd76510126828c03be89bb4964a01da87f376148f86cc88dc
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
* [retrieve](docs/sdks/files/README.md#retrieve) - Retrieve File
* [delete](docs/sdks/files/README.md#delete) - Delete File
* [download](docs/sdks/files/README.md#download) - Download File
* [get_signed_url](docs/sdks/files/README.md#get_signed_url) - Get Signed Url

### [fim](docs/sdks/fim/README.md)

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,14 @@ Based on:
### Generated
- [python v1.2.3] .
### Releases
- [PyPI v1.2.3] https://pypi.org/project/mistralai/1.2.3 - .
- [PyPI v1.2.3] https://pypi.org/project/mistralai/1.2.3 - .

## 2024-12-02 14:25:56
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.440.1 (2.460.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.2.4] .
### Releases
- [PyPI v1.2.4] https://pypi.org/project/mistralai/1.2.4 - .
3 changes: 2 additions & 1 deletion docs/models/apiendpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
| `ROOT_V1_CHAT_COMPLETIONS` | /v1/chat/completions |
| `ROOT_V1_EMBEDDINGS` | /v1/embeddings |
| `ROOT_V1_FIM_COMPLETIONS` | /v1/fim/completions |
| `ROOT_V1_MODERATIONS` | /v1/moderations |
| `ROOT_V1_MODERATIONS` | /v1/moderations |
| `ROOT_V1_CHAT_MODERATIONS` | /v1/chat/moderations |
2 changes: 1 addition & 1 deletion docs/models/detailedjobout.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| `id` | *str* | :heavy_check_mark: | N/A |
| `auto_start` | *bool* | :heavy_check_mark: | N/A |
| `hyperparameters` | [models.TrainingParameters](../models/trainingparameters.md) | :heavy_check_mark: | N/A |
| `model` | [models.FineTuneableModel](../models/finetuneablemodel.md) | :heavy_check_mark: | The name of the model to fine-tune. |
| `model` | *str* | :heavy_check_mark: | The name of the model to fine-tune. |
| `status` | [models.DetailedJobOutStatus](../models/detailedjoboutstatus.md) | :heavy_check_mark: | N/A |
| `job_type` | *str* | :heavy_check_mark: | N/A |
| `created_at` | *int* | :heavy_check_mark: | N/A |
Expand Down
9 changes: 9 additions & 0 deletions docs/models/filesapiroutesgetsignedurlrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# FilesAPIRoutesGetSignedURLRequest


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
| `file_id` | *str* | :heavy_check_mark: | N/A |
| `expiry` | *Optional[int]* | :heavy_minus_sign: | Number of hours before the url becomes invalid. Defaults to 24h |
8 changes: 8 additions & 0 deletions docs/models/filesignedurl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# FileSignedURL


## Fields

| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `url` | *str* | :heavy_check_mark: | N/A |
14 changes: 0 additions & 14 deletions docs/models/finetuneablemodel.md

This file was deleted.

Loading

0 comments on commit 9d24a83

Please sign in to comment.