Skip to content

Commit bc4adf3

Browse files
github-actions[bot]speakeasybotGaspardBT
authored
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.7.0 (#214)
* ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.517.3 * update examples * fix inputs --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: gaspardBT <gaspard@mistral.ai>
1 parent a7d02c3 commit bc4adf3

File tree

131 files changed

+2948
-532
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+2948
-532
lines changed

.speakeasy/gen.lock

+99-30
Large diffs are not rendered by default.

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: false
1717
python:
18-
version: 1.6.0
18+
version: 1.7.0
1919
additionalDependencies:
2020
dev:
2121
pytest: ^8.2.2

.speakeasy/workflow.lock

+5-6
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ sources:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:15e39124d61c30c69260e298a909e60996ac6e8623c202d1745b88fc3e67cb2f
18-
sourceBlobDigest: sha256:d16b98efd9214ceb1c89beedc40e67dd09349d5122076f6e16d1a552ee5b3e63
17+
sourceRevisionDigest: sha256:e7953d0c99d1c036d6bfe223052f231a89626f7007a105a96258dad2eedab39e
18+
sourceBlobDigest: sha256:66ed2d18b563f3350de4ab16c9e2ca6ce425c6376feb5fcf1511d5d074908091
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1742466858
2221
targets:
2322
mistralai-azure-sdk:
2423
source: mistral-azure-source
@@ -37,10 +36,10 @@ targets:
3736
mistralai-sdk:
3837
source: mistral-openapi
3938
sourceNamespace: mistral-openapi
40-
sourceRevisionDigest: sha256:15e39124d61c30c69260e298a909e60996ac6e8623c202d1745b88fc3e67cb2f
41-
sourceBlobDigest: sha256:d16b98efd9214ceb1c89beedc40e67dd09349d5122076f6e16d1a552ee5b3e63
39+
sourceRevisionDigest: sha256:e7953d0c99d1c036d6bfe223052f231a89626f7007a105a96258dad2eedab39e
40+
sourceBlobDigest: sha256:66ed2d18b563f3350de4ab16c9e2ca6ce425c6376feb5fcf1511d5d074908091
4241
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:4de7cac024939b19dfba3601531280e278d2d8188dc063827694bda3992666fc
42+
codeSamplesRevisionDigest: sha256:7c657301f482932fca0a3e914d3c25820ebb7e535e1887daea3cd9240eca0444
4443
workflow:
4544
workflowVersion: 1.0.0
4645
speakeasyVersion: 1.517.3

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ The documentation for the GCP SDK is available [here](packages/mistralai_gcp/REA
441441

442442
* [moderate](docs/sdks/classifiers/README.md#moderate) - Moderations
443443
* [moderate_chat](docs/sdks/classifiers/README.md#moderate_chat) - Chat Moderations
444+
* [classify](docs/sdks/classifiers/README.md#classify) - Classifications
445+
* [classify_chat](docs/sdks/classifiers/README.md#classify_chat) - Chat Classifications
444446

445447
### [embeddings](docs/sdks/embeddings/README.md)
446448

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [python v1.6.0] .
190190
### Releases
191-
- [PyPI v1.6.0] https://pypi.org/project/mistralai/1.6.0 - .
191+
- [PyPI v1.6.0] https://pypi.org/project/mistralai/1.6.0 - .
192+
193+
## 2025-04-16 18:35:19
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [python v1.7.0] .
200+
### Releases
201+
- [PyPI v1.7.0] https://pypi.org/project/mistralai/1.7.0 - .
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# ChatClassificationRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
8+
| `model` | *str* | :heavy_check_mark: | N/A |
9+
| `inputs` | [models.Inputs](../models/inputs.md) | :heavy_check_mark: | Chat to classify |

docs/models/chatmoderationrequest.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55

66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
8-
| `model` | *str* | :heavy_check_mark: | N/A |
98
| `inputs` | [models.ChatModerationRequestInputs](../models/chatmoderationrequestinputs.md) | :heavy_check_mark: | Chat to classify |
10-
| `truncate_for_context_length` | *Optional[bool]* | :heavy_minus_sign: | N/A |
9+
| `model` | *str* | :heavy_check_mark: | N/A |

docs/models/classificationobject.md

-9
This file was deleted.

docs/models/classificationresponse.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description | Example |
7-
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8-
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | mod-e5cc70bb28c444948073e77776eb30ef |
9-
| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | |
10-
| `results` | List[[models.ClassificationObject](../models/classificationobject.md)] | :heavy_minus_sign: | N/A | |
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8+
| `id` | *str* | :heavy_check_mark: | N/A | mod-e5cc70bb28c444948073e77776eb30ef |
9+
| `model` | *str* | :heavy_check_mark: | N/A | |
10+
| `results` | List[Dict[str, [models.ClassificationTargetResult](../models/classificationtargetresult.md)]] | :heavy_check_mark: | N/A | |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ClassificationTargetResult
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `scores` | Dict[str, *float*] | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)