Skip to content

Commit 882fc41

Browse files
github-actions[bot]opper-bot
andauthored
chore: update SDK via automated generation (#115)
- Run speakeasy generation - Apply parameter name fixes - Apply schema conversion patches Generated on: 2026-01-02 12:20:15 UTC 🤖 This PR was created automatically by the SDK generation workflow. Co-authored-by: opper-bot <bot@opper.ai>
1 parent 7c0ff98 commit 882fc41

51 files changed

Lines changed: 2064 additions & 96 deletions

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 208 additions & 47 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: false
3131
skipResponseBodyAssertions: false
3232
python:
33-
version: 1.7.1
33+
version: 1.7.2
3434
additionalDependencies:
3535
dev: {}
3636
main: {}
@@ -42,6 +42,7 @@ python:
4242
- Speakeasy
4343
baseErrorName: OpperError
4444
clientServerStatusCodesAsErrors: true
45+
constFieldCasing: upper
4546
defaultErrorName: APIError
4647
description: Python Client SDK Generated by Speakeasy.
4748
enableCustomCodeRegions: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.673.0
1+
speakeasyVersion: 1.680.11
22
sources:
33
FastAPI:
44
sourceNamespace: fast-api
5-
sourceRevisionDigest: sha256:d977bb721b29c73ca744581d4fde9fd8fef611af59b37749a1aeeb49d8a24a13
6-
sourceBlobDigest: sha256:e4866bcc37feac400aef98e48d26be97f467df4bb5a6c955e7741e5b4dfca423
5+
sourceRevisionDigest: sha256:13cd81898eb71cdd19e82a935d0e5dfb06a777d4046ffa057d779c6505d2d63f
6+
sourceBlobDigest: sha256:a1a9175b61dcaf2793ad1e8c195782207eb8d2c5ee521e2e7c66f59170b5d1a7
77
tags:
88
- latest
9+
- main
910
- 2.0.0
1011
targets:
1112
opper:
1213
source: FastAPI
1314
sourceNamespace: fast-api
14-
sourceRevisionDigest: sha256:d977bb721b29c73ca744581d4fde9fd8fef611af59b37749a1aeeb49d8a24a13
15-
sourceBlobDigest: sha256:e4866bcc37feac400aef98e48d26be97f467df4bb5a6c955e7741e5b4dfca423
15+
sourceRevisionDigest: sha256:13cd81898eb71cdd19e82a935d0e5dfb06a777d4046ffa057d779c6505d2d63f
16+
sourceBlobDigest: sha256:a1a9175b61dcaf2793ad1e8c195782207eb8d2c5ee521e2e7c66f59170b5d1a7
1617
codeSamplesNamespace: fast-api-python-code-samples
17-
codeSamplesRevisionDigest: sha256:eed9d0b848bcc293201ef1129a63d9f6e15052b4cc04435ed9fa831c66e4061a
18+
codeSamplesRevisionDigest: sha256:9dfdecaa1391b6538d69062c2880536af675dc37016b088a71ca7dd2eeab9676
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest

docs/models/bodyuploadfileknowledgeknowledgebaseiduploadpost.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
| Field | Type | Required | Description | Example |
77
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
88
| `file` | [models.BodyUploadFileKnowledgeKnowledgeBaseIDUploadPostFile](../models/bodyuploadfileknowledgeknowledgebaseiduploadpostfile.md) | :heavy_check_mark: | The file to upload | |
9-
| `chunk_size` | *Optional[int]* | :heavy_minus_sign: | The chunk size to use for the document (number of characters) | |
10-
| `chunk_overlap` | *Optional[int]* | :heavy_minus_sign: | The chunk overlap to use for the document (number of characters) | |
9+
| `text_processing_chunk_size` | *Optional[int]* | :heavy_minus_sign: | The chunk size to use for the document (number of characters) | |
10+
| `text_processing_chunk_overlap` | *Optional[int]* | :heavy_minus_sign: | The chunk overlap to use for the document (number of characters) | |
1111
| `metadata` | *OptionalNullable[str]* | :heavy_minus_sign: | Optional JSON object metadata to attach to the file | {"category": "legal", "client": "acme"} |

docs/models/documentsegment.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# DocumentSegment
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------- | -------------------------- | -------------------------- | -------------------------- |
8+
| `id` | *str* | :heavy_check_mark: | The id of the segment |
9+
| `content` | *str* | :heavy_check_mark: | The content of the segment |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetDocumentByKeyKnowledgeKnowledgeBaseIDDocumentsDocumentKeyGetRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
8+
| `knowledge_base_id` | *str* | :heavy_check_mark: | The id of the knowledge base |
9+
| `document_key` | *str* | :heavy_check_mark: | The key of the document to retrieve |

docs/models/getdocumentresponse.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# GetDocumentResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `id` | *str* | :heavy_check_mark: | The id of the document | |
9+
| `key` | *str* | :heavy_check_mark: | The key of the document | paris_123 |
10+
| `segments` | List[[models.DocumentSegment](../models/documentsegment.md)] | :heavy_check_mark: | The content segments of the document. Documents are split into segments for indexing, and segments may have overlapping text. | [<br/>{<br/>"content": "The capital of France is Paris.",<br/>"id": "123e4567-e89b-12d3-a456-426614174000"<br/>},<br/>{<br/>"content": "Paris is known for the Eiffel Tower.",<br/>"id": "123e4567-e89b-12d3-a456-426614174001"<br/>}<br/>] |
11+
| `metadata` | Dict[str, *Any*] | :heavy_minus_sign: | The metadata of the document | {<br/>"category": "product",<br/>"price": 100<br/>} |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# ListOCRModelsResponse
2+
3+
Response model for listing OCR models.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- |
10+
| `hosting_provider` | *str* | :heavy_check_mark: | The hosting provider of the model | Mistral |
11+
| `name` | *str* | :heavy_check_mark: | The name of the model | mistral/ocr-latest |
12+
| `location` | *str* | :heavy_check_mark: | The location of the model | EU |
13+
| `cost_per_page` | *OptionalNullable[float]* | :heavy_minus_sign: | The cost in USD per page processed | 0.001 |

docs/models/mistralocrextra.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# MistralOCRExtra
2+
3+
Mistral-specific OCR parameters.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
10+
| `extract_header` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to extract header content from pages |
11+
| `extract_footer` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether to extract footer content from pages |
12+
| `table_format` | *OptionalNullable[str]* | :heavy_minus_sign: | Format for extracted tables: 'markdown' or 'html' |
13+
| `bbox_annotation_format` | Dict[str, *Any*] | :heavy_minus_sign: | JSON schema for structured bounding box extraction |
14+
| `document_annotation_format` | Dict[str, *Any*] | :heavy_minus_sign: | JSON schema for structured document extraction |

docs/models/ocrcost.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# OCRCost
2+
3+
Cost information for OCR processing.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
10+
| `generation` | *float* | :heavy_check_mark: | Cost of the OCR request in USD |
11+
| `platform` | *float* | :heavy_check_mark: | Platform fee in USD (percentage of generation cost) |
12+
| `total` | *float* | :heavy_check_mark: | Total cost in USD (generation + platform) |

0 commit comments

Comments
 (0)