Skip to content

Commit 6458ed0

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.535.1
1 parent f130337 commit 6458ed0

File tree

777 files changed

+27060
-1953
lines changed

Some content is hidden

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

777 files changed

+27060
-1953
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.534.0
1+
speakeasyVersion: 1.535.1
22
sources:
33
orq-ai-sdk-prerelease-python:
44
sourceNamespace: orq-ai-sdk-prerelease-python
5-
sourceRevisionDigest: sha256:0a15dc24c929d415989ee7406187435abd79ce4571c50ae9dffa13a544ca8a8b
6-
sourceBlobDigest: sha256:2f0d3505c9689414c168766e8f0c412fe1b25b5cfd788bc736e4b713b9c817fd
5+
sourceRevisionDigest: sha256:ce7fc89657b9bd4295522abb745ed54162948d7cfc638f06da93137954ad5d06
6+
sourceBlobDigest: sha256:0971291366ddd2ce9b8111eff06c02e3f15ae77834488109b448d9321c45e17e
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1743713466
9+
- speakeasy-sdk-regen-1744964973
1010
- "2.0"
1111
orq-ai-sdk-python:
1212
sourceNamespace: orq-ai-sdk-python
@@ -20,10 +20,10 @@ targets:
2020
orq-ai-sdk-prerelease-python:
2121
source: orq-ai-sdk-prerelease-python
2222
sourceNamespace: orq-ai-sdk-prerelease-python
23-
sourceRevisionDigest: sha256:0a15dc24c929d415989ee7406187435abd79ce4571c50ae9dffa13a544ca8a8b
24-
sourceBlobDigest: sha256:2f0d3505c9689414c168766e8f0c412fe1b25b5cfd788bc736e4b713b9c817fd
23+
sourceRevisionDigest: sha256:ce7fc89657b9bd4295522abb745ed54162948d7cfc638f06da93137954ad5d06
24+
sourceBlobDigest: sha256:0971291366ddd2ce9b8111eff06c02e3f15ae77834488109b448d9321c45e17e
2525
codeSamplesNamespace: orq-ai-sdk-prerelease-python-code-samples
26-
codeSamplesRevisionDigest: sha256:010cac2eee4098583bcab4193cf1a3a8052a1e70c4e78dc85057b031f5b373ea
26+
codeSamplesRevisionDigest: sha256:19e99d9ca4ed6b3522a31b8e2bf76a443347061b5eee470dc95ff4eddcb75d5e
2727
orq-ai-sdk-python:
2828
source: orq-ai-sdk-python
2929
sourceNamespace: orq-ai-sdk-python

packages/orq-rc/.speakeasy/gen.lock

Lines changed: 831 additions & 201 deletions
Large diffs are not rendered by default.

packages/orq-rc/README.md

Lines changed: 43 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ with Orq(
123123
api_key=os.getenv("ORQ_API_KEY", ""),
124124
) as orq:
125125

126-
res = orq.contacts.create(external_id="<id>")
126+
res = orq.post_v2_traces_sessions_count()
127127

128128
assert res is not None
129129

@@ -146,7 +146,7 @@ async def main():
146146
api_key=os.getenv("ORQ_API_KEY", ""),
147147
) as orq:
148148

149-
res = await orq.contacts.create_async(external_id="<id>")
149+
res = await orq.post_v2_traces_sessions_count_async()
150150

151151
assert res is not None
152152

@@ -178,7 +178,7 @@ with Orq(
178178
api_key=os.getenv("ORQ_API_KEY", ""),
179179
) as orq:
180180

181-
res = orq.contacts.create(external_id="<id>")
181+
res = orq.post_v2_traces_sessions_count()
182182

183183
assert res is not None
184184

@@ -242,7 +242,6 @@ with Orq(
242242
* [retrieve](docs/sdks/knowledge/README.md#retrieve) - Retrieves a knowledge base
243243
* [update](docs/sdks/knowledge/README.md#update) - Updates a knowledge
244244
* [delete](docs/sdks/knowledge/README.md#delete) - Deletes a knowledge
245-
* [search](docs/sdks/knowledge/README.md#search) - Retrieves the documents used for retrieval
246245
* [list_datasources](docs/sdks/knowledge/README.md#list_datasources) - List all datasources
247246
* [create_datasource](docs/sdks/knowledge/README.md#create_datasource) - Create a new datasource
248247
* [retrieve_datasource](docs/sdks/knowledge/README.md#retrieve_datasource) - Retrieve a datasource
@@ -254,6 +253,27 @@ with Orq(
254253
* [delete_chunk](docs/sdks/knowledge/README.md#delete_chunk) - Delete a chunk
255254
* [retrieve_chunk](docs/sdks/knowledge/README.md#retrieve_chunk) - Retrieve a chunk
256255

256+
### [memory_stores](docs/sdks/memorystores/README.md)
257+
258+
* [list](docs/sdks/memorystores/README.md#list) - List memory stores
259+
* [create](docs/sdks/memorystores/README.md#create) - Create memory store
260+
* [retrieve](docs/sdks/memorystores/README.md#retrieve) - Retrieve memory store
261+
* [update](docs/sdks/memorystores/README.md#update) - Update memory store
262+
* [delete](docs/sdks/memorystores/README.md#delete) - Delete memory store
263+
* [list_memories](docs/sdks/memorystores/README.md#list_memories) - List all memories
264+
* [create_memory](docs/sdks/memorystores/README.md#create_memory) - Create a new memory
265+
* [retrieve_memory](docs/sdks/memorystores/README.md#retrieve_memory) - Retrieve a specific memory
266+
* [update_memory](docs/sdks/memorystores/README.md#update_memory) - Update a specific memory
267+
* [delete_memory](docs/sdks/memorystores/README.md#delete_memory) - Delete a specific memory
268+
* [list_documents](docs/sdks/memorystores/README.md#list_documents) - List all documents for a memory
269+
* [create_document](docs/sdks/memorystores/README.md#create_document) - Create a new memory document
270+
* [retrieve_document](docs/sdks/memorystores/README.md#retrieve_document) - Retrieve a specific memory document
271+
* [update_document](docs/sdks/memorystores/README.md#update_document) - Update a specific memory document
272+
* [delete_document](docs/sdks/memorystores/README.md#delete_document) - Delete a specific memory document
273+
274+
### [Orq SDK](docs/sdks/orq/README.md)
275+
276+
* [post_v2_traces_sessions_count](docs/sdks/orq/README.md#post_v2_traces_sessions_count) - Get total count of sessions
257277

258278
### [prompts](docs/sdks/prompts/README.md)
259279

@@ -269,6 +289,22 @@ with Orq(
269289

270290
* [retrieve](docs/sdks/remoteconfigs/README.md#retrieve) - Retrieve a remote config
271291

292+
### [sessions](docs/sdks/sessions/README.md)
293+
294+
* [create](docs/sdks/sessions/README.md#create) - Create Trace Session
295+
* [delete](docs/sdks/sessions/README.md#delete) - Delete Trace Session
296+
* [get](docs/sdks/sessions/README.md#get) - Get Trace Session
297+
* [update](docs/sdks/sessions/README.md#update) - Update Trace Session
298+
* [list](docs/sdks/sessions/README.md#list) - List sessions
299+
300+
### [tools](docs/sdks/tools/README.md)
301+
302+
* [list](docs/sdks/tools/README.md#list) - List tools
303+
* [create](docs/sdks/tools/README.md#create) - Create tool
304+
* [update](docs/sdks/tools/README.md#update) - Update tool
305+
* [delete](docs/sdks/tools/README.md#delete) - Delete tool
306+
* [retrieve](docs/sdks/tools/README.md#retrieve) - Retrieve tool
307+
272308
</details>
273309
<!-- End Available Resources and Operations [operations] -->
274310

@@ -357,7 +393,7 @@ with Orq(
357393
api_key=os.getenv("ORQ_API_KEY", ""),
358394
) as orq:
359395

360-
res = orq.contacts.create(external_id="<id>",
396+
res = orq.post_v2_traces_sessions_count(,
361397
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
362398

363399
assert res is not None
@@ -379,7 +415,7 @@ with Orq(
379415
api_key=os.getenv("ORQ_API_KEY", ""),
380416
) as orq:
381417

382-
res = orq.contacts.create(external_id="<id>")
418+
res = orq.post_v2_traces_sessions_count()
383419

384420
assert res is not None
385421

@@ -455,7 +491,7 @@ with Orq(
455491
api_key=os.getenv("ORQ_API_KEY", ""),
456492
) as orq:
457493

458-
res = orq.contacts.create(external_id="<id>")
494+
res = orq.post_v2_traces_sessions_count()
459495

460496
assert res is not None
461497

packages/orq-rc/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,4 +1168,14 @@ Based on:
11681168
### Generated
11691169
- [python v3.4.0-rc.0] packages/orq-rc
11701170
### Releases
1171-
- [PyPI v3.4.0-rc.0] https://pypi.org/project/orq-ai-sdk/3.4.0-rc.0 - packages/orq-rc
1171+
- [PyPI v3.4.0-rc.0] https://pypi.org/project/orq-ai-sdk/3.4.0-rc.0 - packages/orq-rc
1172+
1173+
## 2025-04-18 08:29:13
1174+
### Changes
1175+
Based on:
1176+
- OpenAPI Doc
1177+
- Speakeasy CLI 1.535.1 (2.585.2) https://github.com/speakeasy-api/speakeasy
1178+
### Generated
1179+
- [python v3.4.0-rc.37] packages/orq-rc
1180+
### Releases
1181+
- [PyPI v3.4.0-rc.37] https://pypi.org/project/orq-ai-sdk/3.4.0-rc.37 - packages/orq-rc

packages/orq-rc/USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ with Orq(
99
api_key=os.getenv("ORQ_API_KEY", ""),
1010
) as orq:
1111

12-
res = orq.contacts.create(external_id="<id>")
12+
res = orq.post_v2_traces_sessions_count()
1313

1414
assert res is not None
1515

@@ -32,7 +32,7 @@ async def main():
3232
api_key=os.getenv("ORQ_API_KEY", ""),
3333
) as orq:
3434

35-
res = await orq.contacts.create_async(external_id="<id>")
35+
res = await orq.post_v2_traces_sessions_count_async()
3636

3737
assert res is not None
3838

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# AgenticRagConfig
2+
3+
The Agentic RAG configuration for the knowledge base. If `null` is provided, Agentic RAG will be disabled.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
10+
| `model` | *str* | :heavy_check_mark: | The model to use for the Agentic RAG |
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Arguments
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8+
| `type` | [models.CreateToolRequestBodyToolsRequestType](../models/createtoolrequestbodytoolsrequesttype.md) | :heavy_check_mark: | The type of the argument. |
9+
| `description` | *str* | :heavy_check_mark: | A description of the argument. |
10+
| `send_to_model` | *Optional[bool]* | :heavy_minus_sign: | Whether to send the argument to the model. If set to false, the argument will not be sent to the model and needs to be provided by the user or it will be left blank. |
11+
| `default_value` | [Optional[models.DefaultValue]](../models/defaultvalue.md) | :heavy_minus_sign: | The default value of the argument. |

packages/orq-rc/docs/models/assistantmessage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
| Field | Type | Required | Description |
77
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
8-
| `role` | [models.DeploymentsPrefixMessages4Role](../models/deploymentsprefixmessages4role.md) | :heavy_check_mark: | The role of the messages author, in this case `assistant`. |
9-
| `content` | [Optional[models.PrefixMessagesContent]](../models/prefixmessagescontent.md) | :heavy_minus_sign: | The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified. |
8+
| `content` | [OptionalNullable[models.PrefixMessagesContent]](../models/prefixmessagescontent.md) | :heavy_minus_sign: | The contents of the assistant message. Required unless `tool_calls` or `function_call` is specified. |
109
| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | The refusal message by the assistant. |
10+
| `role` | [models.DeploymentsPrefixMessages4Role](../models/deploymentsprefixmessages4role.md) | :heavy_check_mark: | The role of the messages author, in this case `assistant`. |
1111
| `name` | *Optional[str]* | :heavy_minus_sign: | An optional name for the participant. Provides the model information to differentiate between participants of the same role. |
1212
| `audio` | [OptionalNullable[models.Audio]](../models/audio.md) | :heavy_minus_sign: | Data about a previous audio response from the model. |
1313
| `tool_calls` | List[[models.ToolCalls](../models/toolcalls.md)] | :heavy_minus_sign: | The tool calls generated by the model, such as function calls. |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Billing
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| -------------------------- | -------------------------- | -------------------------- | -------------------------- |
8+
| `input_cost` | *float* | :heavy_check_mark: | Total cost of the session |
9+
| `output_cost` | *float* | :heavy_check_mark: | Total cost of the session |
10+
| `total_cost` | *float* | :heavy_check_mark: | Total usage of the session |
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Blueprint
2+
3+
The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- |
10+
| `url` | *str* | :heavy_check_mark: | The URL to send the request to. |
11+
| `method` | [models.Method](../models/method.md) | :heavy_check_mark: | The HTTP method to use. |
12+
| `headers` | Dict[str, *str*] | :heavy_minus_sign: | The headers to send with the request. |
13+
| `body` | Dict[str, *Any*] | :heavy_minus_sign: | The body to send with the request. |

0 commit comments

Comments
 (0)