Skip to content

Commit 387fa29

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.528.1
1 parent 4398f5a commit 387fa29

File tree

185 files changed

+9523
-545
lines changed

Some content is hidden

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

185 files changed

+9523
-545
lines changed

.speakeasy/gen.lock

+274-12
Large diffs are not rendered by default.

.speakeasy/workflow.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ sources:
1010
- "2.0"
1111
orq-ai-sdk-python:
1212
sourceNamespace: orq-ai-sdk-python
13-
sourceRevisionDigest: sha256:cda653afa98a2a4b858277a542708c96eb91a26d1f99ee12d41776a64efb60e5
14-
sourceBlobDigest: sha256:37b18fb529fc915f459761b25eabf1f2cb2a259a6838b3c3687d5aa2befe5b3f
13+
sourceRevisionDigest: sha256:745020915ef322581b7052a8248198922693858c98cf9004f99269807e4b8d02
14+
sourceBlobDigest: sha256:10a6db01907cbbd8a41b2e12cfc6d104bb9d97ef9417889debb1f9dcf779c5a1
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1743507201
17+
- speakeasy-sdk-regen-1743709420
1818
- "2.0"
1919
targets:
2020
orq-ai-sdk-prerelease-python:
@@ -27,10 +27,10 @@ targets:
2727
orq-ai-sdk-python:
2828
source: orq-ai-sdk-python
2929
sourceNamespace: orq-ai-sdk-python
30-
sourceRevisionDigest: sha256:cda653afa98a2a4b858277a542708c96eb91a26d1f99ee12d41776a64efb60e5
31-
sourceBlobDigest: sha256:37b18fb529fc915f459761b25eabf1f2cb2a259a6838b3c3687d5aa2befe5b3f
30+
sourceRevisionDigest: sha256:745020915ef322581b7052a8248198922693858c98cf9004f99269807e4b8d02
31+
sourceBlobDigest: sha256:10a6db01907cbbd8a41b2e12cfc6d104bb9d97ef9417889debb1f9dcf779c5a1
3232
codeSamplesNamespace: orq-ai-sdk-python-code-samples
33-
codeSamplesRevisionDigest: sha256:7901758446f415328f81eab9cf46686c0ff50b25ed085ff2b5156cfd63f25f27
33+
codeSamplesRevisionDigest: sha256:b8fd96c454dbfdb5882356c9ff4216a042c81628e783154dda397cd9b6979ae6
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

README.md

+23-1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,25 @@ with Orq(
235235
* [get](docs/sdks/files/README.md#get) - Retrieve a file
236236
* [delete](docs/sdks/files/README.md#delete) - Delete file
237237

238+
### [knowledge](docs/sdks/knowledge/README.md)
239+
240+
* [list](docs/sdks/knowledge/README.md#list) - List all knowledge bases
241+
* [create](docs/sdks/knowledge/README.md#create) - Create a knowledge
242+
* [retrieve](docs/sdks/knowledge/README.md#retrieve) - Retrieves a knowledge base
243+
* [update](docs/sdks/knowledge/README.md#update) - Updates a knowledge
244+
* [delete](docs/sdks/knowledge/README.md#delete) - Deletes a knowledge
245+
* [search](docs/sdks/knowledge/README.md#search) - Retrieves the documents used for retrieval
246+
* [list_datasources](docs/sdks/knowledge/README.md#list_datasources) - List all datasources
247+
* [create_datasource](docs/sdks/knowledge/README.md#create_datasource) - Create a new datasource
248+
* [retrieve_datasource](docs/sdks/knowledge/README.md#retrieve_datasource) - Retrieve a datasource
249+
* [delete_datasource](docs/sdks/knowledge/README.md#delete_datasource) - Deletes a datasource
250+
* [update_datasource](docs/sdks/knowledge/README.md#update_datasource) - Update a datasource
251+
* [create_chunks](docs/sdks/knowledge/README.md#create_chunks) - Create chunks for a datasource
252+
* [list_chunks](docs/sdks/knowledge/README.md#list_chunks) - List all chunks for a datasource
253+
* [update_chunk](docs/sdks/knowledge/README.md#update_chunk) - Update a chunk
254+
* [delete_chunk](docs/sdks/knowledge/README.md#delete_chunk) - Delete a chunk
255+
* [retrieve_chunk](docs/sdks/knowledge/README.md#retrieve_chunk) - Retrieve a chunk
256+
238257

239258
### [prompts](docs/sdks/prompts/README.md)
240259

@@ -309,7 +328,10 @@ with Orq(
309328
api_key=os.getenv("ORQ_API_KEY", ""),
310329
) as orq:
311330

312-
res = orq.files.create()
331+
res = orq.files.create(file={
332+
"file_name": "example.file",
333+
"content": open("example.file", "rb"),
334+
})
313335

314336
assert res is not None
315337

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,14 @@ Based on:
238238
### Generated
239239
- [python v3.2.13] .
240240
### Releases
241-
- [PyPI v3.2.13] https://pypi.org/project/orq-ai-sdk/3.2.13 - .
241+
- [PyPI v3.2.13] https://pypi.org/project/orq-ai-sdk/3.2.13 - .
242+
243+
## 2025-04-03 19:43:21
244+
### Changes
245+
Based on:
246+
- OpenAPI Doc
247+
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
248+
### Generated
249+
- [python v3.3.0] .
250+
### Releases
251+
- [PyPI v3.3.0] https://pypi.org/project/orq-ai-sdk/3.3.0 - .

docs/models/chunkingcleanupoptions.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ChunkingCleanupOptions
2+
3+
The cleanup options applied to the datasource content. All options are enabled by default to ensure enhanced security and optimal chunk quality. Defaults to system-standard cleanup options if not specified.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
10+
| `delete_emails` | *Optional[bool]* | :heavy_minus_sign: | Removes email addresses from the provided text. |
11+
| `delete_credit_cards` | *Optional[bool]* | :heavy_minus_sign: | Removes credit card numbers from the provided text. |
12+
| `delete_phone_numbers` | *Optional[bool]* | :heavy_minus_sign: | Removes phone numbers from the provided text. |
13+
| `clean_bullet_points` | *Optional[bool]* | :heavy_minus_sign: | Removes bullet points formatting from the text. |
14+
| `clean_numbered_list` | *Optional[bool]* | :heavy_minus_sign: | Removes numbered list formatting from the text. |
15+
| `clean_unicode` | *Optional[bool]* | :heavy_minus_sign: | Normalizes or removes unnecessary unicode characters from the text. |
16+
| `clean_dashes` | *Optional[bool]* | :heavy_minus_sign: | Normalizes or removes various dash characters to standardize the text. |
17+
| `clean_whitespaces` | *Optional[bool]* | :heavy_minus_sign: | Trims and normalizes excessive whitespace throughout the text. |

docs/models/chunkingconfiguration.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# ChunkingConfiguration
2+
3+
The chunking configuration settings for the datasource. Defaults to the system's standard chunking configuration if not specified.
4+
5+
6+
## Supported Types
7+
8+
### `models.ChunkingConfiguration1`
9+
10+
```python
11+
value: models.ChunkingConfiguration1 = /* values here */
12+
```
13+
14+
### `models.ChunkingConfiguration2`
15+
16+
```python
17+
value: models.ChunkingConfiguration2 = /* values here */
18+
```
19+

docs/models/chunkingconfiguration1.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ChunkingConfiguration1
2+
3+
Optimized chunking strategy focusing on speed and avoiding duplication of content chunks.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
10+
| `type` | [models.ChunkingConfigurationType](../models/chunkingconfigurationtype.md) | :heavy_check_mark: | N/A |

docs/models/chunkingconfiguration2.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ChunkingConfiguration2
2+
3+
Provides advanced settings for customizing chunking behavior, enabling fine-grained control to better meet specific data processing needs.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10+
| `type` | [models.CreateDatasourceChunkingConfigurationType](../models/createdatasourcechunkingconfigurationtype.md) | :heavy_check_mark: | N/A |
11+
| `chunk_max_characters` | *Optional[float]* | :heavy_minus_sign: | Defines the absolute maximum character length per chunk. Text elements exceeding this size will be automatically split into multiple chunks. |
12+
| `chunk_overlap` | *Optional[float]* | :heavy_minus_sign: | Specifies the number of characters to overlap between consecutive chunks. This overlap helps maintain semantic continuity when splitting large text elements. |
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ChunkingConfigurationType
2+
3+
4+
## Values
5+
6+
| Name | Value |
7+
| --------- | --------- |
8+
| `DEFAULT` | default |

docs/models/chunkingoptions.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ChunkingOptions
2+
3+
Configuration options specifying how the datasource file is chunked. Required if `file_id` is specified. Defaults to standard chunking options if omitted.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10+
| `chunking_configuration` | [Optional[models.ChunkingConfiguration]](../models/chunkingconfiguration.md) | :heavy_minus_sign: | The chunking configuration settings for the datasource. Defaults to the system's standard chunking configuration if not specified. |
11+
| `chunking_cleanup_options` | [Optional[models.ChunkingCleanupOptions]](../models/chunkingcleanupoptions.md) | :heavy_minus_sign: | The cleanup options applied to the datasource content. All options are enabled by default to ensure enhanced security and optimal chunk quality. Defaults to system-standard cleanup options if not specified. |

0 commit comments

Comments
 (0)