Skip to content

Commit b702867

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.488.0
1 parent a3de3ff commit b702867

File tree

1,550 files changed

+23144
-34809
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

+23144
-34809
lines changed

.speakeasy/gen.lock

Lines changed: 593 additions & 911 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:5cca2bc035c511f7dcf9180229ece0149410ffaf203293baa9b622f1e07a8852
14-
sourceBlobDigest: sha256:94b09accae719a572dfb76f78d438c093dd0815568b5b4b8658914e16f7c5f68
13+
sourceRevisionDigest: sha256:fac9908f5496e07fb93e6b38ede6e95e74598a18b064a0c994159aad11586e26
14+
sourceBlobDigest: sha256:0dfdc3a9483acfbe24d02199977e59bc1e36e4d3852920ecab9300217a5fb1e2
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1739297667
17+
- speakeasy-sdk-regen-1739307191
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:5cca2bc035c511f7dcf9180229ece0149410ffaf203293baa9b622f1e07a8852
31-
sourceBlobDigest: sha256:94b09accae719a572dfb76f78d438c093dd0815568b5b4b8658914e16f7c5f68
30+
sourceRevisionDigest: sha256:fac9908f5496e07fb93e6b38ede6e95e74598a18b064a0c994159aad11586e26
31+
sourceBlobDigest: sha256:0dfdc3a9483acfbe24d02199977e59bc1e36e4d3852920ecab9300217a5fb1e2
3232
codeSamplesNamespace: orq-ai-sdk-python-code-samples
33-
codeSamplesRevisionDigest: sha256:c3f9a6ae1c598ed59ed9791589dc07a9a97d918e07e36d3e14d7ac1c4cf8d103
33+
codeSamplesRevisionDigest: sha256:93bc3518a42ea7ff36c0209501a1e747cf7dbc42d446acce7abdedc15467672a
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

README.md

Lines changed: 19 additions & 22 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: The Orquesta API
15+
[Dev] orq.ai API: orq.ai API documentation
1616

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

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

200-
* [all](docs/sdks/deploymentssdk/README.md#all) - List all deployments
200+
* [list](docs/sdks/deploymentssdk/README.md#list) - 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
203204

204205
#### [deployments.metrics](docs/sdks/metrics/README.md)
205206

@@ -214,31 +215,27 @@ with Orq(
214215
* [upload](docs/sdks/files/README.md#upload) - Upload file
215216
* [list](docs/sdks/files/README.md#list) - List all files
216217
* [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
220219

221220

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

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
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
232229

233230
### [prompts](docs/sdks/prompts/README.md)
234231

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
237-
* [delete](docs/sdks/prompts/README.md#delete) - Delete a prompt
238-
* [get_one](docs/sdks/prompts/README.md#get_one) - Get one prompt
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
239235
* [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
236+
* [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
242239

243240
### [remoteconfig](docs/sdks/remoteconfig/README.md)
244241

@@ -267,7 +264,7 @@ with Orq(
267264
api_key=os.getenv("ORQ_API_KEY", ""),
268265
) as orq:
269266

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

272269
assert res is not None
273270

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

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:
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:
375372

376373
| Error Type | Status Code | Content Type |
377374
| ------------------- | ----------- | ---------------- |
@@ -390,7 +387,7 @@ with Orq(
390387
res = None
391388
try:
392389

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

395392
assert res is not None
396393

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,14 @@ Based on:
5858
### Generated
5959
- [python v3.1.2] .
6060
### Releases
61-
- [PyPI v3.1.2] https://pypi.org/project/orq-ai-sdk/3.1.2 - .
61+
- [PyPI v3.1.2] https://pypi.org/project/orq-ai-sdk/3.1.2 - .
62+
63+
## 2025-02-11 20:52:55
64+
### Changes
65+
Based on:
66+
- OpenAPI Doc
67+
- Speakeasy CLI 1.488.0 (2.506.0) https://github.com/speakeasy-api/speakeasy
68+
### Generated
69+
- [python v3.1.3] .
70+
### Releases
71+
- [PyPI v3.1.3] https://pypi.org/project/orq-ai-sdk/3.1.3 - .

docs/models/bulkfileuploadfiles.md

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

docs/models/bulkfileuploadfilespurpose.md

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

docs/models/bulkfileuploadpurpose.md

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

docs/models/bulkfileuploadrequestbody.md

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

docs/models/createpromptlanguage.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# CreatePromptLanguage
2+
3+
The language that the prompt is written in. Use this field to categorize the prompt for your own purpose
4+
5+
6+
## Values
7+
8+
| Name | Value |
9+
| --------- | --------- |
10+
| `CHINESE` | Chinese |
11+
| `DUTCH` | Dutch |
12+
| `ENGLISH` | English |
13+
| `FRENCH` | French |
14+
| `GERMAN` | German |
15+
| `RUSSIAN` | Russian |
16+
| `SPANISH` | Spanish |

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[*str*] | :heavy_minus_sign: | N/A |
9-
| `language` | *Optional[str]* | :heavy_minus_sign: | N/A |
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 |

0 commit comments

Comments
 (0)