Skip to content

Commit 18d0ba0

Browse files
authored
Revert "chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.7.1 (#220)" (#222)
This reverts commit be02ba7.
1 parent 192f0a0 commit 18d0ba0

File tree

14 files changed

+43
-147
lines changed

14 files changed

+43
-147
lines changed

.speakeasy/gen.lock

Lines changed: 4 additions & 4 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: 3589e9f1ea5775264c5c8e0887b4ea0e
5-
docVersion: 1.0.0
4+
docChecksum: 63f1a973632e9afab0da3d2498994c1b
5+
docVersion: 0.0.2
66
speakeasyVersion: 1.517.3
77
generationVersion: 2.548.6
8-
releaseVersion: 1.7.1
9-
configChecksum: d35541d61057b11258d7d56bbc5c5260
8+
releaseVersion: 1.7.0
9+
configChecksum: d52ab0a71ab9e0798da08262c59bf31d
1010
repoURL: https://github.com/mistralai/client-python.git
1111
installationURL: https://github.com/mistralai/client-python.git
1212
published: true

.speakeasy/gen.yaml

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

.speakeasy/workflow.lock

Lines changed: 5 additions & 6 deletions
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:14f5a88b723582e80ead33d129f287568eed05815a9437b7ff5c890ca4c93318
18-
sourceBlobDigest: sha256:230b4f22197e202aebd70f8628844a27fe70b9b27569dbc3338d3e7d5442cb88
17+
sourceRevisionDigest: sha256:e7953d0c99d1c036d6bfe223052f231a89626f7007a105a96258dad2eedab39e
18+
sourceBlobDigest: sha256:66ed2d18b563f3350de4ab16c9e2ca6ce425c6376feb5fcf1511d5d074908091
1919
tags:
2020
- latest
21-
- speakeasy-sdk-regen-1747922489
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:14f5a88b723582e80ead33d129f287568eed05815a9437b7ff5c890ca4c93318
41-
sourceBlobDigest: sha256:230b4f22197e202aebd70f8628844a27fe70b9b27569dbc3338d3e7d5442cb88
39+
sourceRevisionDigest: sha256:e7953d0c99d1c036d6bfe223052f231a89626f7007a105a96258dad2eedab39e
40+
sourceBlobDigest: sha256:66ed2d18b563f3350de4ab16c9e2ca6ce425c6376feb5fcf1511d5d074908091
4241
codeSamplesNamespace: mistral-openapi-code-samples
43-
codeSamplesRevisionDigest: sha256:d75cede62f03f1040732d65da392f66fe75c725dab04cdfba5498ad334652c1e
42+
codeSamplesRevisionDigest: sha256:7c657301f482932fca0a3e914d3c25820ebb7e535e1887daea3cd9240eca0444
4443
workflow:
4544
workflowVersion: 1.0.0
4645
speakeasyVersion: 1.517.3

RELEASES.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -198,16 +198,4 @@ Based on:
198198
### Generated
199199
- [python v1.7.0] .
200200
### Releases
201-
- [PyPI v1.7.0] https://pypi.org/project/mistralai/1.7.0 - .
202-
203-
## 2025-05-22 14:01:13
204-
### Changes
205-
- Added support for `document_annotation_format` and `bbox_annotation_format` in `client.ocr.process`
206-
207-
Based on:
208-
- OpenAPI Doc
209-
- Speakeasy CLI 1.517.3 (2.548.6) https://github.com/speakeasy-api/speakeasy
210-
### Generated
211-
- [python v1.7.1] .
212-
### Releases
213-
- [PyPI v1.7.1] https://pypi.org/project/mistralai/1.7.1 - .
201+
- [PyPI v1.7.0] https://pypi.org/project/mistralai/1.7.0 - .

docs/models/ocrimageobject.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@
1010
| `top_left_y` | *Nullable[int]* | :heavy_check_mark: | Y coordinate of top-left corner of the extracted image |
1111
| `bottom_right_x` | *Nullable[int]* | :heavy_check_mark: | X coordinate of bottom-right corner of the extracted image |
1212
| `bottom_right_y` | *Nullable[int]* | :heavy_check_mark: | Y coordinate of bottom-right corner of the extracted image |
13-
| `image_base64` | *OptionalNullable[str]* | :heavy_minus_sign: | Base64 string of the extracted image |
14-
| `image_annotation` | *OptionalNullable[str]* | :heavy_minus_sign: | Annotation of the extracted image in json str |
13+
| `image_base64` | *OptionalNullable[str]* | :heavy_minus_sign: | Base64 string of the extracted image |

docs/models/ocrrequest.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
8-
| `model` | *Nullable[str]* | :heavy_check_mark: | N/A |
9-
| `document` | [models.Document](../models/document.md) | :heavy_check_mark: | Document to run OCR on |
10-
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A |
11-
| `pages` | List[*int*] | :heavy_minus_sign: | Specific pages user wants to process in various formats: single number, range, or list of both. Starts from 0 |
12-
| `include_image_base64` | *OptionalNullable[bool]* | :heavy_minus_sign: | Include image URLs in response |
13-
| `image_limit` | *OptionalNullable[int]* | :heavy_minus_sign: | Max images to extract |
14-
| `image_min_size` | *OptionalNullable[int]* | :heavy_minus_sign: | Minimum height and width of image to extract |
15-
| `bbox_annotation_format` | [OptionalNullable[models.ResponseFormat]](../models/responseformat.md) | :heavy_minus_sign: | Structured output class for extracting useful information from each extracted bounding box / image from document. Only json_schema is valid for this field |
16-
| `document_annotation_format` | [OptionalNullable[models.ResponseFormat]](../models/responseformat.md) | :heavy_minus_sign: | Structured output class for extracting useful information from the entire document. Only json_schema is valid for this field |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
8+
| `model` | *Nullable[str]* | :heavy_check_mark: | N/A |
9+
| `document` | [models.Document](../models/document.md) | :heavy_check_mark: | Document to run OCR on |
10+
| `id` | *Optional[str]* | :heavy_minus_sign: | N/A |
11+
| `pages` | List[*int*] | :heavy_minus_sign: | Specific pages user wants to process in various formats: single number, range, or list of both. Starts from 0 |
12+
| `include_image_base64` | *OptionalNullable[bool]* | :heavy_minus_sign: | Include image URLs in response |
13+
| `image_limit` | *OptionalNullable[int]* | :heavy_minus_sign: | Max images to extract |
14+
| `image_min_size` | *OptionalNullable[int]* | :heavy_minus_sign: | Minimum height and width of image to extract |

docs/models/ocrresponse.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- |
8-
| `pages` | List[[models.OCRPageObject](../models/ocrpageobject.md)] | :heavy_check_mark: | List of OCR info for pages. |
9-
| `model` | *str* | :heavy_check_mark: | The model used to generate the OCR. |
10-
| `usage_info` | [models.OCRUsageInfo](../models/ocrusageinfo.md) | :heavy_check_mark: | N/A |
11-
| `document_annotation` | *OptionalNullable[str]* | :heavy_minus_sign: | Formatted response in the request_format if provided in json str |
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
8+
| `pages` | List[[models.OCRPageObject](../models/ocrpageobject.md)] | :heavy_check_mark: | List of OCR info for pages. |
9+
| `model` | *str* | :heavy_check_mark: | The model used to generate the OCR. |
10+
| `usage_info` | [models.OCRUsageInfo](../models/ocrusageinfo.md) | :heavy_check_mark: | N/A |

0 commit comments

Comments
 (0)