Skip to content

Commit 53ab820

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.488.0
1 parent 3144893 commit 53ab820

File tree

1,550 files changed

+34853
-23134
lines changed

Some content is hidden

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

1,550 files changed

+34853
-23134
lines changed

.speakeasy/gen.lock

Lines changed: 945 additions & 593 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
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:52ac12c4714030143195ccf0f69d092bad5ea08a83dbe821f8107a960f5226b5
14-
sourceBlobDigest: sha256:7c7f96e7a47d847e39b9fdc64b548b24cc7b4e2ab2d0287c0f614bde642c10ab
13+
sourceRevisionDigest: sha256:5cca2bc035c511f7dcf9180229ece0149410ffaf203293baa9b622f1e07a8852
14+
sourceBlobDigest: sha256:94b09accae719a572dfb76f78d438c093dd0815568b5b4b8658914e16f7c5f68
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1739296517
17+
- speakeasy-sdk-regen-1739297667
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:52ac12c4714030143195ccf0f69d092bad5ea08a83dbe821f8107a960f5226b5
31-
sourceBlobDigest: sha256:7c7f96e7a47d847e39b9fdc64b548b24cc7b4e2ab2d0287c0f614bde642c10ab
30+
sourceRevisionDigest: sha256:5cca2bc035c511f7dcf9180229ece0149410ffaf203293baa9b622f1e07a8852
31+
sourceBlobDigest: sha256:94b09accae719a572dfb76f78d438c093dd0815568b5b4b8658914e16f7c5f68
3232
codeSamplesNamespace: orq-ai-sdk-python-code-samples
33-
codeSamplesRevisionDigest: sha256:3efb446196bf72e0bceacac241fa3159dc203b018ec754d533bedc95c08bdb73
33+
codeSamplesRevisionDigest: sha256:c3f9a6ae1c598ed59ed9791589dc07a9a97d918e07e36d3e14d7ac1c4cf8d103
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

README.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Developer-friendly & type-safe Python SDK specifically catered to leverage *orq-
1212
<!-- Start Summary [summary] -->
1313
## Summary
1414

15-
[Dev] orq.ai API: orq.ai API documentation
15+
[Dev] orq.ai API: The Orquesta API
1616

1717
For more information about the API: [orq.ai Documentation](https://docs.orq.ai)
1818
<!-- End Summary [summary] -->
@@ -197,10 +197,9 @@ with Orq(
197197

198198
### [deployments](docs/sdks/deploymentssdk/README.md)
199199

200-
* [list](docs/sdks/deploymentssdk/README.md#list) - List all deployments
200+
* [all](docs/sdks/deploymentssdk/README.md#all) - List all deployments
201201
* [get_config](docs/sdks/deploymentssdk/README.md#get_config) - Get config
202202
* [invoke](docs/sdks/deploymentssdk/README.md#invoke) - Invoke
203-
* [stream](docs/sdks/deploymentssdk/README.md#stream) - Stream
204203

205204
#### [deployments.metrics](docs/sdks/metrics/README.md)
206205

@@ -215,27 +214,31 @@ with Orq(
215214
* [upload](docs/sdks/files/README.md#upload) - Upload file
216215
* [list](docs/sdks/files/README.md#list) - List all files
217216
* [get](docs/sdks/files/README.md#get) - Get file by ID
217+
* [update](docs/sdks/files/README.md#update) - Update file name
218218
* [delete](docs/sdks/files/README.md#delete) - Delete file
219+
* [bulk_upload](docs/sdks/files/README.md#bulk_upload) - Bulk upload file
219220

220221

221-
### [prompt_snippets](docs/sdks/promptsnippets/README.md)
222+
### [prompt](docs/sdks/prompt/README.md)
222223

223-
* [list](docs/sdks/promptsnippets/README.md#list) - List all prompts snippets
224-
* [create](docs/sdks/promptsnippets/README.md#create) - Create a prompt snippet
225-
* [update](docs/sdks/promptsnippets/README.md#update) - Update a prompt snippet
226-
* [delete](docs/sdks/promptsnippets/README.md#delete) - Delete a prompt snippet
227-
* [get](docs/sdks/promptsnippets/README.md#get) - Retrieve a prompt snippet
228-
* [get_by_key](docs/sdks/promptsnippets/README.md#get_by_key) - Retrieve a prompt snippet by key
224+
225+
#### [prompt.snippets](docs/sdks/snippets/README.md)
226+
227+
* [find_one](docs/sdks/snippets/README.md#find_one) - Get one prompt snippet
228+
229+
#### [prompt.templates](docs/sdks/templates/README.md)
230+
231+
* [get_all](docs/sdks/templates/README.md#get_all) - Get all prompt templates
229232

230233
### [prompts](docs/sdks/prompts/README.md)
231234

232-
* [list](docs/sdks/prompts/README.md#list) - List all prompts
233-
* [create](docs/sdks/prompts/README.md#create) - Create a prompt
234-
* [retrieve](docs/sdks/prompts/README.md#retrieve) - Retrieve a prompt
235-
* [update](docs/sdks/prompts/README.md#update) - Update a prompt
235+
* [create](docs/sdks/prompts/README.md#create) - Create a new prompt
236+
* [create_version](docs/sdks/prompts/README.md#create_version) - Create a new prompt version
236237
* [delete](docs/sdks/prompts/README.md#delete) - Delete a prompt
237-
* [list_versions](docs/sdks/prompts/README.md#list_versions) - List all prompt versions
238-
* [get_version](docs/sdks/prompts/README.md#get_version) - Retrieve a prompt version
238+
* [get_one](docs/sdks/prompts/README.md#get_one) - Get one prompt
239+
* [update](docs/sdks/prompts/README.md#update) - Update a prompt
240+
* [duplicate](docs/sdks/prompts/README.md#duplicate) - Duplicate a prompt
241+
* [get_all](docs/sdks/prompts/README.md#get_all) - Get all prompts
239242

240243
### [remoteconfig](docs/sdks/remoteconfig/README.md)
241244

@@ -264,7 +267,7 @@ with Orq(
264267
api_key=os.getenv("ORQ_API_KEY", ""),
265268
) as orq:
266269

267-
res = orq.deployments.stream(key="<key>")
270+
res = orq.deployments.invoke(key="<key>")
268271

269272
assert res is not None
270273

@@ -368,7 +371,7 @@ By default, an API error will raise a models.APIError exception, which has the f
368371
| `.raw_response` | *httpx.Response* | The raw HTTP response |
369372
| `.body` | *str* | The response content |
370373

371-
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `list_async` method may raise the following exceptions:
374+
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `all_async` method may raise the following exceptions:
372375

373376
| Error Type | Status Code | Content Type |
374377
| ------------------- | ----------- | ---------------- |
@@ -387,7 +390,7 @@ with Orq(
387390
res = None
388391
try:
389392

390-
res = orq.deployments.list()
393+
res = orq.deployments.all()
391394

392395
assert res is not None
393396

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,14 @@ Based on:
4848
### Generated
4949
- [python v3.1.1] .
5050
### Releases
51-
- [PyPI v3.1.1] https://pypi.org/project/orq-ai-sdk/3.1.1 - .
51+
- [PyPI v3.1.1] https://pypi.org/project/orq-ai-sdk/3.1.1 - .
52+
53+
## 2025-02-11 18:14:12
54+
### Changes
55+
Based on:
56+
- OpenAPI Doc
57+
- Speakeasy CLI 1.488.0 (2.506.0) https://github.com/speakeasy-api/speakeasy
58+
### Generated
59+
- [python v3.1.2] .
60+
### Releases
61+
- [PyPI v3.1.2] https://pypi.org/project/orq-ai-sdk/3.1.2 - .

docs/models/bulkfileuploadfiles.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# BulkFileUploadFiles
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
8+
| `file_name` | *str* | :heavy_check_mark: | N/A |
9+
| `content` | *Union[bytes, IO[bytes], io.BufferedReader]* | :heavy_check_mark: | N/A |
10+
| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# BulkFileUploadFilesPurpose
2+
3+
The intended purpose of the uploaded file.
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ---------------------- | ---------------------- |
10+
| `RETRIEVAL` | retrieval |
11+
| `KNOWLEDGE_DATASOURCE` | knowledge_datasource |

docs/models/bulkfileuploadpurpose.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# BulkFileUploadPurpose
2+
3+
The intended purpose of the uploaded file.
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| ---------------------- | ---------------------- |
10+
| `RETRIEVAL` | retrieval |
11+
| `KNOWLEDGE_DATASOURCE` | knowledge_datasource |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# BulkFileUploadRequestBody
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
8+
| `files` | List[[models.BulkFileUploadFiles](../models/bulkfileuploadfiles.md)] | :heavy_check_mark: | N/A |
9+
| `purpose` | [models.BulkFileUploadPurpose](../models/bulkfileuploadpurpose.md) | :heavy_check_mark: | The intended purpose of the uploaded file. |

docs/models/createpromptlanguage.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/models/createpromptmetadata.md

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

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
8-
| `use_cases` | List[[models.CreatePromptUseCases](../models/createpromptusecases.md)] | :heavy_minus_sign: | A list of use cases that the prompt is meant to be used for. Use this field to categorize the prompt for your own purpose |
9-
| `language` | [Optional[models.CreatePromptLanguage]](../models/createpromptlanguage.md) | :heavy_minus_sign: | The language that the prompt is written in. Use this field to categorize the prompt for your own purpose |
6+
| Field | Type | Required | Description |
7+
| ------------------ | ------------------ | ------------------ | ------------------ |
8+
| `use_cases` | List[*str*] | :heavy_minus_sign: | N/A |
9+
| `language` | *Optional[str]* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)