Skip to content

Commit 2bdff9f

Browse files
Merge pull request #271 from mistralai/speakeasy-sdk-regen-1756796562
chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.9.10
2 parents 806e91d + d985faa commit 2bdff9f

20 files changed

+134
-28
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2d045ec7-2ebb-4f4d-ad25-40953b132161
33
management:
4-
docChecksum: a38b769b82bac0658cf02fed22bdbde0
4+
docChecksum: c3693e4872a0785b2ed46c59a8464804
55
docVersion: 1.0.0
66
speakeasyVersion: 1.568.2
77
generationVersion: 2.634.2
8-
releaseVersion: 1.9.9
9-
configChecksum: b08e017cb434c255d6ef2c20584815e8
8+
releaseVersion: 1.9.10
9+
configChecksum: 438b1373b4090838b050a2779ab5383f
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true
@@ -199,6 +199,7 @@ generatedFiles:
199199
- docs/models/embeddingrequestinputs.md
200200
- docs/models/embeddingresponse.md
201201
- docs/models/embeddingresponsedata.md
202+
- docs/models/encodingformat.md
202203
- docs/models/entitytype.md
203204
- docs/models/entries.md
204205
- docs/models/eventout.md
@@ -379,6 +380,7 @@ generatedFiles:
379380
- docs/models/stop.md
380381
- docs/models/systemmessage.md
381382
- docs/models/systemmessagecontent.md
383+
- docs/models/systemmessagecontentchunks.md
382384
- docs/models/textchunk.md
383385
- docs/models/textchunktype.md
384386
- docs/models/thinkchunk.md
@@ -579,6 +581,7 @@ generatedFiles:
579581
- src/mistralai/models/embeddingrequest.py
580582
- src/mistralai/models/embeddingresponse.py
581583
- src/mistralai/models/embeddingresponsedata.py
584+
- src/mistralai/models/encodingformat.py
582585
- src/mistralai/models/entitytype.py
583586
- src/mistralai/models/eventout.py
584587
- src/mistralai/models/file.py
@@ -696,6 +699,7 @@ generatedFiles:
696699
- src/mistralai/models/source.py
697700
- src/mistralai/models/ssetypes.py
698701
- src/mistralai/models/systemmessage.py
702+
- src/mistralai/models/systemmessagecontentchunks.py
699703
- src/mistralai/models/textchunk.py
700704
- src/mistralai/models/thinkchunk.py
701705
- src/mistralai/models/timestampgranularity.py

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ generation:
2121
generateNewTests: false
2222
skipResponseBodyAssertions: false
2323
python:
24-
version: 1.9.9
24+
version: 1.9.10
2525
additionalDependencies:
2626
dev:
2727
pytest: ^8.2.2

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ sources:
1414
- latest
1515
mistral-openapi:
1616
sourceNamespace: mistral-openapi
17-
sourceRevisionDigest: sha256:fcdf40207fa983a6ad7c0346f499d2b87ef2f1381a48e791a9a485bd40525ff8
18-
sourceBlobDigest: sha256:64fa97f0836a2441e32bc255ced698234c147c790775988102f17b493f0da87d
17+
sourceRevisionDigest: sha256:eefc1f0b6a5e9ec673d317d61cad766290710b5fc369412491b75f732cccfedd
18+
sourceBlobDigest: sha256:97767522559603de92a9738938e522cea4d558b2a854500acf6fe8d81f8ccfb8
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1756229662
21+
- speakeasy-sdk-regen-1756796562
2222
targets:
2323
mistralai-azure-sdk:
2424
source: mistral-azure-source
@@ -37,10 +37,10 @@ targets:
3737
mistralai-sdk:
3838
source: mistral-openapi
3939
sourceNamespace: mistral-openapi
40-
sourceRevisionDigest: sha256:fcdf40207fa983a6ad7c0346f499d2b87ef2f1381a48e791a9a485bd40525ff8
41-
sourceBlobDigest: sha256:64fa97f0836a2441e32bc255ced698234c147c790775988102f17b493f0da87d
40+
sourceRevisionDigest: sha256:eefc1f0b6a5e9ec673d317d61cad766290710b5fc369412491b75f732cccfedd
41+
sourceBlobDigest: sha256:97767522559603de92a9738938e522cea4d558b2a854500acf6fe8d81f8ccfb8
4242
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:39367b425e8a1e7376b8900711e0852f653aaab239f74cc658567fe05ad11784
43+
codeSamplesRevisionDigest: sha256:372d48b60fafc0c389b12af1dad61faa479598e8194dc3a2a1ed27c207ab9b18
4444
workflow:
4545
workflowVersion: 1.0.0
4646
speakeasyVersion: 1.568.2

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,4 +308,14 @@ Based on:
308308
### Generated
309309
- [python v1.9.9] .
310310
### Releases
311-
- [PyPI v1.9.9] https://pypi.org/project/mistralai/1.9.9 - .
311+
- [PyPI v1.9.9] https://pypi.org/project/mistralai/1.9.9 - .
312+
313+
## 2025-09-02 07:02:26
314+
### Changes
315+
Based on:
316+
- OpenAPI Doc
317+
- Speakeasy CLI 1.568.2 (2.634.2) https://github.com/speakeasy-api/speakeasy
318+
### Generated
319+
- [python v1.9.10] .
320+
### Releases
321+
- [PyPI v1.9.10] https://pypi.org/project/mistralai/1.9.10 - .

docs/models/apiendpoint.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@
33

44
## Values
55

6-
| Name | Value |
7-
| -------------------------- | -------------------------- |
8-
| `ROOT_V1_CHAT_COMPLETIONS` | /v1/chat/completions |
9-
| `ROOT_V1_EMBEDDINGS` | /v1/embeddings |
10-
| `ROOT_V1_FIM_COMPLETIONS` | /v1/fim/completions |
11-
| `ROOT_V1_MODERATIONS` | /v1/moderations |
12-
| `ROOT_V1_CHAT_MODERATIONS` | /v1/chat/moderations |
6+
| Name | Value |
7+
| ------------------------------ | ------------------------------ |
8+
| `ROOT_V1_CHAT_COMPLETIONS` | /v1/chat/completions |
9+
| `ROOT_V1_EMBEDDINGS` | /v1/embeddings |
10+
| `ROOT_V1_FIM_COMPLETIONS` | /v1/fim/completions |
11+
| `ROOT_V1_MODERATIONS` | /v1/moderations |
12+
| `ROOT_V1_CHAT_MODERATIONS` | /v1/chat/moderations |
13+
| `ROOT_V1_OCR` | /v1/ocr |
14+
| `ROOT_V1_CLASSIFICATIONS` | /v1/classifications |
15+
| `ROOT_V1_CHAT_CLASSIFICATIONS` | /v1/chat/classifications |
16+
| `ROOT_V1_CONVERSATIONS` | /v1/conversations |
17+
| `ROOT_V1_AUDIO_TRANSCRIPTIONS` | /v1/audio/transcriptions |

docs/models/embeddingrequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@
88
| `model` | *str* | :heavy_check_mark: | ID of the model to use. | mistral-embed |
99
| `inputs` | [models.EmbeddingRequestInputs](../models/embeddingrequestinputs.md) | :heavy_check_mark: | Text to embed. | [<br/>"Embed this sentence.",<br/>"As well as this one."<br/>] |
1010
| `output_dimension` | *OptionalNullable[int]* | :heavy_minus_sign: | The dimension of the output embeddings. | |
11-
| `output_dtype` | [Optional[models.EmbeddingDtype]](../models/embeddingdtype.md) | :heavy_minus_sign: | N/A | |
11+
| `output_dtype` | [Optional[models.EmbeddingDtype]](../models/embeddingdtype.md) | :heavy_minus_sign: | N/A | |
12+
| `encoding_format` | [Optional[models.EncodingFormat]](../models/encodingformat.md) | :heavy_minus_sign: | N/A | |

docs/models/encodingformat.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# EncodingFormat
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| -------- | -------- |
8+
| `FLOAT` | float |
9+
| `BASE64` | base64 |

docs/models/systemmessagecontent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
value: str = /* values here */
1010
```
1111

12-
### `List[models.TextChunk]`
12+
### `List[models.SystemMessageContentChunks]`
1313

1414
```python
15-
value: List[models.TextChunk] = /* values here */
15+
value: List[models.SystemMessageContentChunks] = /* values here */
1616
```
1717

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# SystemMessageContentChunks
2+
3+
4+
## Supported Types
5+
6+
### `models.TextChunk`
7+
8+
```python
9+
value: models.TextChunk = /* values here */
10+
```
11+
12+
### `models.ThinkChunk`
13+
14+
```python
15+
value: models.ThinkChunk = /* values here */
16+
```
17+

docs/sdks/embeddings/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ with Mistral(
4242
| `inputs` | [models.EmbeddingRequestInputs](../../models/embeddingrequestinputs.md) | :heavy_check_mark: | Text to embed. | [<br/>"Embed this sentence.",<br/>"As well as this one."<br/>] |
4343
| `output_dimension` | *OptionalNullable[int]* | :heavy_minus_sign: | The dimension of the output embeddings. | |
4444
| `output_dtype` | [Optional[models.EmbeddingDtype]](../../models/embeddingdtype.md) | :heavy_minus_sign: | N/A | |
45+
| `encoding_format` | [Optional[models.EncodingFormat]](../../models/encodingformat.md) | :heavy_minus_sign: | N/A | |
4546
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | |
4647

4748
### Response

0 commit comments

Comments
 (0)