Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,390 changes: 1,171 additions & 219 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
python:
version: 3.0.0
version: 3.1.0
additionalDependencies:
dev:
pytest: ^8.2.2
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ sources:
- speakeasy-mistralai-gcp-sdk-26292830187-1
mistral-openapi:
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5c136a8e459fca0edf36b519df7d0656c349368e5d8d7783bf0fa9fed34f38b3
sourceBlobDigest: sha256:cd1f89be90a7f5c6d27326308ce3d905f47830c99abe7f1fea69dc6647e1a320
sourceRevisionDigest: sha256:0f0cd5f8c49b7aef4ce394319ea6d3d528b13db1687fd74758e95aa24ccf0080
sourceBlobDigest: sha256:042ce5a3793fde34859bd5dc853ba71d866a369949d8555207cccf50e07432b3
tags:
- latest
- 1.0.0
Expand All @@ -39,10 +39,10 @@ targets:
mistralai-sdk:
source: mistral-openapi
sourceNamespace: mistral-openapi
sourceRevisionDigest: sha256:5c136a8e459fca0edf36b519df7d0656c349368e5d8d7783bf0fa9fed34f38b3
sourceBlobDigest: sha256:cd1f89be90a7f5c6d27326308ce3d905f47830c99abe7f1fea69dc6647e1a320
sourceRevisionDigest: sha256:0f0cd5f8c49b7aef4ce394319ea6d3d528b13db1687fd74758e95aa24ccf0080
sourceBlobDigest: sha256:042ce5a3793fde34859bd5dc853ba71d866a369949d8555207cccf50e07432b3
codeSamplesNamespace: mistral-openapi-python-code-samples
codeSamplesRevisionDigest: sha256:3c3e420f5d5c47961f3273528d7f7d733d5a994f148e7f7fe4536fa712be4232
codeSamplesRevisionDigest: sha256:5648198ba0c5b8fdee77c5502e11b89b7d5307291bc72f134c38cbb622b1eacc
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.796.4
Expand Down
54 changes: 40 additions & 14 deletions README-PYPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ print(res.choices[0].message.content)

* [create](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#create) - Create a new empty dataset
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#list) - List existing datasets
* [fetch](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#fetch) - Get dataset by id
* [fetch](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#fetch) - Get dataset by ID or slug
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#delete) - Delete a dataset
* [update](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#update) - Patch dataset
* [list_records](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#list_records) - List existing records in the dataset
Expand All @@ -607,14 +607,14 @@ print(res.choices[0].message.content)
* [fetch_task](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#fetch_task) - Get status of a dataset import task
* [list_tasks](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasets/README.md#list_tasks) - List import tasks for the given dataset

#### [Beta.Observability.Datasets.Records](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md)
#### [Beta.Observability.Datasets.Records](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md)

* [fetch](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md#fetch) - Get the content of a given dataset record
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md#delete) - Delete a record from a dataset
* [bulk_delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md#bulk_delete) - Delete multiple records from datasets
* [judge](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md#judge) - Run Judge on a dataset record based on the given options
* [update_payload](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md#update_payload) - Update a dataset record payload
* [update_properties](https://github.com/mistralai/client-python/blob/main/docs/sdks/records/README.md#update_properties) - Update dataset record properties
* [fetch](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md#fetch) - Get the content of a given dataset record
* [delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md#delete) - Delete a record from a dataset
* [bulk_delete](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md#bulk_delete) - Delete multiple records from datasets
* [judge](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md#judge) - Run Judge on a dataset record based on the given options
* [update_payload](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md#update_payload) - Update a dataset record payload
* [update_properties](https://github.com/mistralai/client-python/blob/main/docs/sdks/datasetsrecords/README.md#update_properties) - Update dataset record properties

### [Beta.Observability.Evaluations](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md)

Expand All @@ -628,6 +628,32 @@ print(res.choices[0].message.content)
* [get_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#get_pipeline) - Get a pipeline
* [update_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#update_pipeline) - Update a pipeline
* [delete_pipeline](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#delete_pipeline) - Delete a pipeline
* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#list) - List evaluations for a project
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluations/README.md#get) - Get evaluation by slug

#### [Beta.Observability.Evaluations.Optimizations](https://github.com/mistralai/client-python/blob/main/docs/sdks/optimizations/README.md)

* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/optimizations/README.md#list) - List optimizations with optional filters
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/optimizations/README.md#get) - Get an optimization by id (with its anchored evaluation + project)
* [list_trials](https://github.com/mistralai/client-python/blob/main/docs/sdks/optimizations/README.md#list_trials) - List an optimization's trials with their observation runs (paginated)

#### [Beta.Observability.Evaluations.Projects](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsprojects/README.md)

* [list](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsprojects/README.md#list) - List projects
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsprojects/README.md#get) - Get project by slug

#### [Beta.Observability.Evaluations.Records](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsrecords/README.md)

* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsrecords/README.md#get) - Get a specific record from an evaluation run
* [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsrecords/README.md#search) - Search records for an evaluation run with content filters

#### [Beta.Observability.Evaluations.Runs](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md)

* [search](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#search) - Search evaluation runs with filters
* [search_all](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#search_all) - Search evaluation runs across all evaluations
* [get](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#get) - Get a specific evaluation run by ID
* [get_statistics](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#get_statistics) - Get statistics for a specific evaluation run
* [compute_statistics](https://github.com/mistralai/client-python/blob/main/docs/sdks/evaluationsruns/README.md#compute_statistics) - Compute statistics for a specific evaluation run with optional filters

### [Beta.Observability.Judges](https://github.com/mistralai/client-python/blob/main/docs/sdks/judges/README.md)

Expand Down Expand Up @@ -845,11 +871,11 @@ print(res.choices[0].message.content)

* [get_workflow_metrics](https://github.com/mistralai/client-python/blob/main/docs/sdks/metrics/README.md#get_workflow_metrics) - Get Workflow Metrics

#### [Workflows.Runs](https://github.com/mistralai/client-python/blob/main/docs/sdks/runs/README.md)
#### [Workflows.Runs](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsruns/README.md)

* [list_runs](https://github.com/mistralai/client-python/blob/main/docs/sdks/runs/README.md#list_runs) - List Runs
* [get_run](https://github.com/mistralai/client-python/blob/main/docs/sdks/runs/README.md#get_run) - Get Run
* [get_run_history](https://github.com/mistralai/client-python/blob/main/docs/sdks/runs/README.md#get_run_history) - Get Run History
* [list_runs](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsruns/README.md#list_runs) - List Runs
* [get_run](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsruns/README.md#get_run) - Get Run
* [get_run_history](https://github.com/mistralai/client-python/blob/main/docs/sdks/workflowsruns/README.md#get_run_history) - Get Run History

#### [Workflows.Schedules](https://github.com/mistralai/client-python/blob/main/docs/sdks/schedules/README.md)

Expand Down Expand Up @@ -1076,8 +1102,8 @@ with Mistral(


**Inherit from [`MistralError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 165 of 264 methods.*
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 55 of 264 methods.*
* [`HTTPValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 165 of 278 methods.*
* [`ObservabilityError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 69 of 278 methods.*
* [`ResponseValidationError`](https://github.com/mistralai/client-python/blob/main/src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.

</details>
Expand Down
54 changes: 40 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ print(res.choices[0].message.content)

* [create](docs/sdks/datasets/README.md#create) - Create a new empty dataset
* [list](docs/sdks/datasets/README.md#list) - List existing datasets
* [fetch](docs/sdks/datasets/README.md#fetch) - Get dataset by id
* [fetch](docs/sdks/datasets/README.md#fetch) - Get dataset by ID or slug
* [delete](docs/sdks/datasets/README.md#delete) - Delete a dataset
* [update](docs/sdks/datasets/README.md#update) - Patch dataset
* [list_records](docs/sdks/datasets/README.md#list_records) - List existing records in the dataset
Expand All @@ -607,14 +607,14 @@ print(res.choices[0].message.content)
* [fetch_task](docs/sdks/datasets/README.md#fetch_task) - Get status of a dataset import task
* [list_tasks](docs/sdks/datasets/README.md#list_tasks) - List import tasks for the given dataset

#### [Beta.Observability.Datasets.Records](docs/sdks/records/README.md)
#### [Beta.Observability.Datasets.Records](docs/sdks/datasetsrecords/README.md)

* [fetch](docs/sdks/records/README.md#fetch) - Get the content of a given dataset record
* [delete](docs/sdks/records/README.md#delete) - Delete a record from a dataset
* [bulk_delete](docs/sdks/records/README.md#bulk_delete) - Delete multiple records from datasets
* [judge](docs/sdks/records/README.md#judge) - Run Judge on a dataset record based on the given options
* [update_payload](docs/sdks/records/README.md#update_payload) - Update a dataset record payload
* [update_properties](docs/sdks/records/README.md#update_properties) - Update dataset record properties
* [fetch](docs/sdks/datasetsrecords/README.md#fetch) - Get the content of a given dataset record
* [delete](docs/sdks/datasetsrecords/README.md#delete) - Delete a record from a dataset
* [bulk_delete](docs/sdks/datasetsrecords/README.md#bulk_delete) - Delete multiple records from datasets
* [judge](docs/sdks/datasetsrecords/README.md#judge) - Run Judge on a dataset record based on the given options
* [update_payload](docs/sdks/datasetsrecords/README.md#update_payload) - Update a dataset record payload
* [update_properties](docs/sdks/datasetsrecords/README.md#update_properties) - Update dataset record properties

### [Beta.Observability.Evaluations](docs/sdks/evaluations/README.md)

Expand All @@ -628,6 +628,32 @@ print(res.choices[0].message.content)
* [get_pipeline](docs/sdks/evaluations/README.md#get_pipeline) - Get a pipeline
* [update_pipeline](docs/sdks/evaluations/README.md#update_pipeline) - Update a pipeline
* [delete_pipeline](docs/sdks/evaluations/README.md#delete_pipeline) - Delete a pipeline
* [list](docs/sdks/evaluations/README.md#list) - List evaluations for a project
* [get](docs/sdks/evaluations/README.md#get) - Get evaluation by slug

#### [Beta.Observability.Evaluations.Optimizations](docs/sdks/optimizations/README.md)

* [list](docs/sdks/optimizations/README.md#list) - List optimizations with optional filters
* [get](docs/sdks/optimizations/README.md#get) - Get an optimization by id (with its anchored evaluation + project)
* [list_trials](docs/sdks/optimizations/README.md#list_trials) - List an optimization's trials with their observation runs (paginated)

#### [Beta.Observability.Evaluations.Projects](docs/sdks/evaluationsprojects/README.md)

* [list](docs/sdks/evaluationsprojects/README.md#list) - List projects
* [get](docs/sdks/evaluationsprojects/README.md#get) - Get project by slug

#### [Beta.Observability.Evaluations.Records](docs/sdks/evaluationsrecords/README.md)

* [get](docs/sdks/evaluationsrecords/README.md#get) - Get a specific record from an evaluation run
* [search](docs/sdks/evaluationsrecords/README.md#search) - Search records for an evaluation run with content filters

#### [Beta.Observability.Evaluations.Runs](docs/sdks/evaluationsruns/README.md)

* [search](docs/sdks/evaluationsruns/README.md#search) - Search evaluation runs with filters
* [search_all](docs/sdks/evaluationsruns/README.md#search_all) - Search evaluation runs across all evaluations
* [get](docs/sdks/evaluationsruns/README.md#get) - Get a specific evaluation run by ID
* [get_statistics](docs/sdks/evaluationsruns/README.md#get_statistics) - Get statistics for a specific evaluation run
* [compute_statistics](docs/sdks/evaluationsruns/README.md#compute_statistics) - Compute statistics for a specific evaluation run with optional filters

### [Beta.Observability.Judges](docs/sdks/judges/README.md)

Expand Down Expand Up @@ -845,11 +871,11 @@ print(res.choices[0].message.content)

* [get_workflow_metrics](docs/sdks/metrics/README.md#get_workflow_metrics) - Get Workflow Metrics

#### [Workflows.Runs](docs/sdks/runs/README.md)
#### [Workflows.Runs](docs/sdks/workflowsruns/README.md)

* [list_runs](docs/sdks/runs/README.md#list_runs) - List Runs
* [get_run](docs/sdks/runs/README.md#get_run) - Get Run
* [get_run_history](docs/sdks/runs/README.md#get_run_history) - Get Run History
* [list_runs](docs/sdks/workflowsruns/README.md#list_runs) - List Runs
* [get_run](docs/sdks/workflowsruns/README.md#get_run) - Get Run
* [get_run_history](docs/sdks/workflowsruns/README.md#get_run_history) - Get Run History

#### [Workflows.Schedules](docs/sdks/schedules/README.md)

Expand Down Expand Up @@ -1076,8 +1102,8 @@ with Mistral(


**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 165 of 264 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 55 of 264 methods.*
* [`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 165 of 278 methods.*
* [`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 69 of 278 methods.*
* [`ResponseValidationError`](./src/mistralai/client/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.

</details>
Expand Down
Loading
Loading