You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[extracted_text_signed_url](docs/sdks/documents/README.md#extracted_text_signed_url) - Retrieve the signed URL of text extracted from a given document.
540
549
*[reprocess](docs/sdks/documents/README.md#reprocess) - Reprocess a document.
*[search](docs/sdks/chatcompletionevents/README.md#search) - Get Chat Completion Events
563
+
*[search_ids](docs/sdks/chatcompletionevents/README.md#search_ids) - Alternative to /search that returns only the IDs and that can return many IDs at once
564
+
*[fetch](docs/sdks/chatcompletionevents/README.md#fetch) - Get Chat Completion Event
565
+
*[fetch_similar_events](docs/sdks/chatcompletionevents/README.md#fetch_similar_events) - Get Similar Chat Completion Events
566
+
*[judge](docs/sdks/chatcompletionevents/README.md#judge) - Run Judge on an event based on the given options
*[list_records](docs/sdks/datasets/README.md#list_records) - List existing records in the dataset
582
+
*[create_record](docs/sdks/datasets/README.md#create_record) - Add a conversation to the dataset
583
+
*[import_from_campaign](docs/sdks/datasets/README.md#import_from_campaign) - Populate the dataset with a campaign
584
+
*[import_from_explorer](docs/sdks/datasets/README.md#import_from_explorer) - Populate the dataset with samples from the explorer
585
+
*[import_from_file](docs/sdks/datasets/README.md#import_from_file) - Populate the dataset with samples from an uploaded file
586
+
*[import_from_playground](docs/sdks/datasets/README.md#import_from_playground) - Populate the dataset with samples from the playground
587
+
*[import_from_dataset_records](docs/sdks/datasets/README.md#import_from_dataset_records) - Populate the dataset with samples from another dataset
588
+
*[export_to_jsonl](docs/sdks/datasets/README.md#export_to_jsonl) - Export to the Files API and retrieve presigned URL to download the resulting JSONL file
589
+
*[fetch_task](docs/sdks/datasets/README.md#fetch_task) - Get status of a dataset import task
590
+
*[list_tasks](docs/sdks/datasets/README.md#list_tasks) - List import tasks for the given dataset
res = mistral.models.retrieve(model_id="ft:open-mistral-7b:587a6b29:20240514:7e773925")
809
+
res = mistral.models.list()
743
810
744
811
# Handle response
745
812
print(res)
@@ -762,7 +829,7 @@ with Mistral(
762
829
**Primary error:**
763
830
*[`MistralError`](./src/mistralai/client/errors/mistralerror.py): The base class for HTTP error responses.
764
831
765
-
<details><summary>Less common errors (6)</summary>
832
+
<details><summary>Less common errors (7)</summary>
766
833
767
834
<br />
768
835
@@ -773,7 +840,8 @@ with Mistral(
773
840
774
841
775
842
**Inherit from [`MistralError`](./src/mistralai/client/errors/mistralerror.py)**:
776
-
*[`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 53 of 75 methods.*
843
+
*[`HTTPValidationError`](./src/mistralai/client/errors/httpvalidationerror.py): Validation Error. Status code `422`. Applicable to 60 of 121 methods.*
844
+
*[`ObservabilityError`](./src/mistralai/client/errors/observabilityerror.py): Bad Request - Invalid request parameters or data. Applicable to 40 of 121 methods.*
777
845
*[`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.
Copy file name to clipboardExpand all lines: docs/models/agent.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
|`instructions`|*OptionalNullable[str]*|:heavy_minus_sign:| Instruction prompt the model will follow during the conversation. |
9
9
|`tools`| List[[models.AgentTool](../models/agenttool.md)]|:heavy_minus_sign:| List of tools which are available to the model during the conversation. |
10
10
|`completion_args`|[Optional[models.CompletionArgs]](../models/completionargs.md)|:heavy_minus_sign:| White-listed arguments from the completion API |
0 commit comments