Skip to content

Commit aa612a6

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.535.1
1 parent 65b3e08 commit aa612a6

File tree

690 files changed

+26468
-1372
lines changed

Some content is hidden

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

690 files changed

+26468
-1372
lines changed

.speakeasy/gen.lock

Lines changed: 792 additions & 31 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:a8d118a1b6394394b3b88885eb8fc8fa11875e7bfd5519624a289f651cc840d3
14-
sourceBlobDigest: sha256:fcf20bfb5dc138d6e96c06d26a20cdf8a4afc623a59bf89bd334ce0c0494ab9f
13+
sourceRevisionDigest: sha256:dda22ef4014e0db6373076bb63a4b3f20037e4489302e6f73078c5fcf2306096
14+
sourceBlobDigest: sha256:6afb28150575140d5f46205789d5fa2d1036b153114dc5f496aa6a7b7556799c
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1744901286
17+
- speakeasy-sdk-regen-1745189439
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:a8d118a1b6394394b3b88885eb8fc8fa11875e7bfd5519624a289f651cc840d3
31-
sourceBlobDigest: sha256:fcf20bfb5dc138d6e96c06d26a20cdf8a4afc623a59bf89bd334ce0c0494ab9f
30+
sourceRevisionDigest: sha256:dda22ef4014e0db6373076bb63a4b3f20037e4489302e6f73078c5fcf2306096
31+
sourceBlobDigest: sha256:6afb28150575140d5f46205789d5fa2d1036b153114dc5f496aa6a7b7556799c
3232
codeSamplesNamespace: orq-ai-sdk-python-code-samples
33-
codeSamplesRevisionDigest: sha256:9bbdda8ffa012d81962853e38e90df498b2bd3965cbd3dfd6c19f073e1d84810
33+
codeSamplesRevisionDigest: sha256:a741248d6bdb8e7edbeaca130c236d63eb00785db1476bf8a13ae13148637e9e
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

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

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,4 +368,14 @@ Based on:
368368
### Generated
369369
- [python v3.3.15] .
370370
### Releases
371-
- [PyPI v3.3.15] https://pypi.org/project/orq-ai-sdk/3.3.15 - .
371+
- [PyPI v3.3.15] https://pypi.org/project/orq-ai-sdk/3.3.15 - .
372+
373+
## 2025-04-20 22:50:20
374+
### Changes
375+
Based on:
376+
- OpenAPI Doc
377+
- Speakeasy CLI 1.535.1 (2.585.2) https://github.com/speakeasy-api/speakeasy
378+
### Generated
379+
- [python v3.4.0] .
380+
### Releases
381+
- [PyPI v3.4.0] https://pypi.org/project/orq-ai-sdk/3.4.0 - .

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

docs/models/agenticragconfig.md

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 |

docs/models/arguments.md

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

docs/models/assistantmessage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Field | Type | Required | Description |
77
| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
8-
| `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. |
99
| `refusal` | *OptionalNullable[str]* | :heavy_minus_sign: | The refusal message by the assistant. |
1010
| `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. |

docs/models/billing.md

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 |

docs/models/blueprint.md

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)