Skip to content

Commit 3ff8652

Browse files
authored
Merge pull request #7 from agentset-ai/speakeasy-sdk-regen-1764899064
chore: 🐝 Update SDK - Generate 0.6.1
2 parents 2d7afd3 + 4ac5d0f commit 3ff8652

Some content is hidden

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

42 files changed

+1953
-513
lines changed

.speakeasy/gen.lock

Lines changed: 1746 additions & 354 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@ generation:
2525
schemas:
2626
allOfMergeStrategy: shallowMerge
2727
requestBodyFieldName: ""
28+
persistentEdits: {}
2829
tests:
2930
generateTests: false
3031
generateNewTests: true
3132
skipResponseBodyAssertions: false
3233
python:
33-
version: 0.6.0
34+
version: 0.6.1
3435
additionalDependencies:
3536
dev: {}
3637
main: {}

.speakeasy/out.openapi.yaml

Lines changed: 51 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ paths:
341341
x-speakeasy-name-override: "create"
342342
x-speakeasy-group: "ingestJobs"
343343
summary: "Create an ingest job"
344-
x-codeSamples: [{"lang": "TypeScript", "source": "\nimport { Agentset } from \"agentset\";\n\nconst agentset = new Agentset({ apiKey: 'agentset_xxx' });\nconst ns = agentset.namespace('ns_xxx');\n\nconst job = await ns.ingestion.create({\n payload: {\n type: \"TEXT\",\n text: \"This is some content to ingest into the knowledge base.\",\n },\n config: {\n metadata: {\n foo: \"bar\",\n },\n chunkSize: 2000,\n chunkOverlap: 200,\n minSentencesPerChunk: 1,\n languageCode: \"en\",\n forceOcr: false,\n mode: \"balanced\",\n disableImageExtraction: false,\n disableOcrMath: false,\n useLlm: true,\n },\n});\nconsole.log(job);\n"}]
344+
x-codeSamples: [{"lang": "TypeScript", "source": "\nimport { Agentset } from \"agentset\";\n\nconst agentset = new Agentset({ apiKey: 'agentset_xxx' });\nconst ns = agentset.namespace('ns_xxx');\n\nconst job = await ns.ingestion.create({\n payload: {\n type: \"TEXT\",\n text: \"This is some content to ingest into the knowledge base.\",\n },\n config: {\n metadata: {\n foo: \"bar\",\n },\n chunkSize: 2048,\n },\n});\nconsole.log(job);\n"}]
345345
description: "Create an ingest job for the authenticated organization. You can control how documents are parsed and chunked using the optional `config` object (for example, chunk size, overlap, language, and advanced OCR/LLM options)."
346346
tags:
347347
- "Ingest Jobs"
@@ -486,7 +486,7 @@ paths:
486486
x-speakeasy-group: "ingestJobs"
487487
x-speakeasy-max-method-params: 1
488488
summary: "Re-ingest a job"
489-
x-codeSamples: [{"lang": "TypeScript", "source": "\nimport { Agentset } from \"agentset\";\n\nconst agentset = new Agentset({ apiKey: 'agentset_xxx' });\nconst ns = agentset.namespace('ns_xxx');\n\nconst result = await ns.ingestion.reIngest(\"job_123\");\nconsole.log(\"Job re-ingested: \", result);\n"}]
489+
x-codeSamples: [{"lang": "TypeScript", "source": "\nimport { Agentset } from \"agentset\";\n\nconst agentset = new Agentset({ apiKey: 'agentset_xxx' });\nconst ns = agentset.namespace('ns_xxx');\n\nconst result = await ns.ingestion.reIngest(\"job_123\");\nconsole.log(\"Job queued for re-ingestion: \", result);\n"}]
490490
description: "Re-ingest a job for the authenticated organization."
491491
tags:
492492
- "Ingest Jobs"
@@ -753,12 +753,13 @@ paths:
753753
maximum: 100
754754
"rerankModel":
755755
description: "The reranking model to use."
756-
default: "cohere:rerank-v3.5"
756+
default: "zeroentropy:zerank-2"
757757
type: "string"
758758
enum:
759759
- "cohere:rerank-v3.5"
760760
- "cohere:rerank-english-v3.0"
761761
- "cohere:rerank-multilingual-v3.0"
762+
- "zeroentropy:zerank-2"
762763
- "zeroentropy:zerank-1"
763764
- "zeroentropy:zerank-1-small"
764765
"filter":
@@ -1104,12 +1105,14 @@ paths:
11041105
- "cohere:rerank-v3.5"
11051106
- "cohere:rerank-english-v3.0"
11061107
- "cohere:rerank-multilingual-v3.0"
1108+
- "zeroentropy:zerank-2"
11071109
- "zeroentropy:zerank-1"
11081110
- "zeroentropy:zerank-1-small"
11091111
"llmModel":
11101112
type: "string"
11111113
enum:
11121114
- "openai:gpt-4.1"
1115+
- "openai:gpt-5.1"
11131116
- "openai:gpt-5"
11141117
- "openai:gpt-5-mini"
11151118
- "openai:gpt-5-nano"
@@ -1443,29 +1446,41 @@ components:
14431446
"ingest-job-payload-input":
14441447
description: "The ingest job payload for creation."
14451448
oneOf:
1446-
- type: "object"
1447-
properties:
1448-
"type":
1449-
type: "string"
1450-
const: "TEXT"
1451-
"text":
1452-
description: "The text to ingest."
1453-
type: "string"
1454-
minLength: 1
1455-
"fileName":
1456-
anyOf:
1457-
- description: "The name of the file."
1458-
type: "string"
1459-
- type: "null"
1460-
required:
1461-
- "type"
1462-
- "text"
1449+
- {"$ref": "#/components/schemas/text-payload-input"}
14631450
- {"$ref": "#/components/schemas/file-payload"}
14641451
- {"$ref": "#/components/schemas/managed-file-payload"}
14651452
- {"$ref": "#/components/schemas/crawl-payload"}
14661453
- {"$ref": "#/components/schemas/youtube-payload"}
14671454
- {"$ref": "#/components/schemas/batch-payload-input"}
14681455
type: "object"
1456+
discriminator:
1457+
propertyName: "type"
1458+
mapping:
1459+
"TEXT": "#/components/schemas/text-payload-input"
1460+
"FILE": "#/components/schemas/file-payload"
1461+
"MANAGED_FILE": "#/components/schemas/managed-file-payload"
1462+
"CRAWL": "#/components/schemas/crawl-payload"
1463+
"YOUTUBE": "#/components/schemas/youtube-payload"
1464+
"BATCH": "#/components/schemas/batch-payload-input"
1465+
"text-payload-input":
1466+
title: "Text Payload"
1467+
type: "object"
1468+
properties:
1469+
"type":
1470+
type: "string"
1471+
const: "TEXT"
1472+
"fileName":
1473+
anyOf:
1474+
- description: "The name of the file."
1475+
type: "string"
1476+
- type: "null"
1477+
"text":
1478+
description: "The text to ingest."
1479+
type: "string"
1480+
minLength: 1
1481+
required:
1482+
- "type"
1483+
- "text"
14691484
"file-payload":
14701485
title: "URL Payload"
14711486
type: "object"
@@ -1642,15 +1657,15 @@ components:
16421657
"type":
16431658
type: "string"
16441659
const: "TEXT"
1645-
"text":
1646-
description: "The text to ingest."
1647-
type: "string"
1648-
minLength: 1
16491660
"fileName":
16501661
anyOf:
16511662
- description: "The name of the file."
16521663
type: "string"
16531664
- type: "null"
1665+
"text":
1666+
description: "The text to ingest."
1667+
type: "string"
1668+
minLength: 1
16541669
"config": {"$ref": "#/components/schemas/document-config"}
16551670
required:
16561671
- "type"
@@ -1728,7 +1743,7 @@ components:
17281743
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
17291744
type: "boolean"
17301745
"chunkOverlap":
1731-
description: "Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
1746+
description: "[Deprecated] Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
17321747
deprecated: true
17331748
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
17341749
type: "number"
@@ -1796,7 +1811,7 @@ components:
17961811
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
17971812
type: "boolean"
17981813
"chunkOverlap":
1799-
description: "Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
1814+
description: "[Deprecated] Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
18001815
deprecated: true
18011816
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
18021817
type: "number"
@@ -2037,14 +2052,14 @@ components:
20372052
"type":
20382053
type: "string"
20392054
const: "TEXT"
2040-
"text":
2041-
description: "The text to ingest."
2042-
type: "string"
20432055
"fileName":
20442056
anyOf:
20452057
- description: "The name of the file."
20462058
type: "string"
20472059
- type: "null"
2060+
"text":
2061+
description: "The text to ingest."
2062+
type: "string"
20482063
required:
20492064
- "type"
20502065
- "text"
@@ -2066,14 +2081,14 @@ components:
20662081
"type":
20672082
type: "string"
20682083
const: "TEXT"
2069-
"text":
2070-
description: "The text to ingest."
2071-
type: "string"
20722084
"fileName":
20732085
anyOf:
20742086
- description: "The name of the file."
20752087
type: "string"
20762088
- type: "null"
2089+
"text":
2090+
description: "The text to ingest."
2091+
type: "string"
20772092
"config": {"$ref": "#/components/schemas/document-configOutput"}
20782093
required:
20792094
- "type"
@@ -2400,6 +2415,7 @@ components:
24002415
- "cohere:rerank-v3.5"
24012416
- "cohere:rerank-english-v3.0"
24022417
- "cohere:rerank-multilingual-v3.0"
2418+
- "zeroentropy:zerank-2"
24032419
- "zeroentropy:zerank-1"
24042420
- "zeroentropy:zerank-1-small"
24052421
"limit":
@@ -2423,6 +2439,7 @@ components:
24232439
type: "string"
24242440
enum:
24252441
- "openai:gpt-4.1"
2442+
- "openai:gpt-5.1"
24262443
- "openai:gpt-5"
24272444
- "openai:gpt-5-mini"
24282445
- "openai:gpt-5-nano"
@@ -2751,7 +2768,7 @@ components:
27512768
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
27522769
type: "boolean"
27532770
"chunkOverlap":
2754-
description: "Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
2771+
description: "[Deprecated] Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
27552772
deprecated: true
27562773
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
27572774
type: "number"
@@ -2813,7 +2830,7 @@ components:
28132830
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
28142831
type: "boolean"
28152832
"chunkOverlap":
2816-
description: "Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
2833+
description: "[Deprecated] Custom chunk overlap (in characters) between consecutive chunks. Helps preserve context across chunk boundaries."
28172834
deprecated: true
28182835
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
28192836
type: "number"

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.666.2
1+
speakeasyVersion: 1.669.1
22
sources:
33
AgentsetAPI:
44
sourceNamespace: agentset-api
5-
sourceRevisionDigest: sha256:a6df23629cb283c1347cc25e8f649c7580a8f7c8cdf8b433307705b9a0ecb914
6-
sourceBlobDigest: sha256:3e5e7057ba318d1b9cc689c006fabbce04e4aae466278f1da0b45bda4060df8e
5+
sourceRevisionDigest: sha256:e50486cb5f895a2af1e321e536f799cfc10dfc58cd5b668c5ee2a7fc13ee7f98
6+
sourceBlobDigest: sha256:6ace02a082c8fcd36c2956f4a67227ff69273ff52971abb7434ebe76650ae6d0
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1762393229
9+
- speakeasy-sdk-regen-1764899064
1010
- 0.0.1
1111
targets:
1212
agentset:
1313
source: AgentsetAPI
1414
sourceNamespace: agentset-api
15-
sourceRevisionDigest: sha256:a6df23629cb283c1347cc25e8f649c7580a8f7c8cdf8b433307705b9a0ecb914
16-
sourceBlobDigest: sha256:3e5e7057ba318d1b9cc689c006fabbce04e4aae466278f1da0b45bda4060df8e
15+
sourceRevisionDigest: sha256:e50486cb5f895a2af1e321e536f799cfc10dfc58cd5b668c5ee2a7fc13ee7f98
16+
sourceBlobDigest: sha256:6ace02a082c8fcd36c2956f4a67227ff69273ff52971abb7434ebe76650ae6d0
1717
codeSamplesNamespace: agentset-api-python-code-samples
18-
codeSamplesRevisionDigest: sha256:ff44a6edb6150dcc7d287aa8439578f40e9119a20fee2f4de871bfafeee13a04
18+
codeSamplesRevisionDigest: sha256:6f60be84c95e64ae7729cd16cdda0afa03939159295ca1cfd1bf51c7694c6b0b
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README-PYPI.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,44 +212,44 @@ with Agentset(
212212
<details open>
213213
<summary>Available methods</summary>
214214

215-
### [documents](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/documents/README.md)
215+
### [Documents](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/documents/README.md)
216216

217217
* [list](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/documents/README.md#list) - Retrieve a list of documents
218218
* [get](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/documents/README.md#get) - Retrieve a document
219219
* [delete](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/documents/README.md#delete) - Delete a document
220220

221-
### [hosting](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/hostingsdk/README.md)
221+
### [Hosting](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/hostingsdk/README.md)
222222

223223
* [get](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/hostingsdk/README.md#get) - Retrieve hosting configuration
224224
* [enable](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/hostingsdk/README.md#enable) - Enable hosting
225225
* [update](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/hostingsdk/README.md#update) - Update hosting configuration
226226
* [delete](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/hostingsdk/README.md#delete) - Delete hosting configuration
227227

228-
### [ingest_jobs](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md)
228+
### [IngestJobs](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md)
229229

230230
* [list](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md#list) - Retrieve a list of ingest jobs
231231
* [create](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md#create) - Create an ingest job
232232
* [get](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md#get) - Retrieve an ingest job
233233
* [delete](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md#delete) - Delete an ingest job
234234
* [re_ingest](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/ingestjobs/README.md#re_ingest) - Re-ingest a job
235235

236-
### [namespace](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespacesdk/README.md)
236+
### [Namespace](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespacesdk/README.md)
237237

238238
* [warm_up](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespacesdk/README.md#warm_up) - Warm cache for a namespace
239239

240-
### [namespaces](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md)
240+
### [Namespaces](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md)
241241

242242
* [list](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md#list) - Retrieve a list of namespaces
243243
* [create](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md#create) - Create a namespace.
244244
* [get](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md#get) - Retrieve a namespace
245245
* [update](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md#update) - Update a namespace.
246246
* [delete](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/namespaces/README.md#delete) - Delete a namespace.
247247

248-
### [search](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/search/README.md)
248+
### [Search](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/search/README.md)
249249

250250
* [execute](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/search/README.md#execute) - Search a namespace
251251

252-
### [uploads](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/uploads/README.md)
252+
### [Uploads](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/uploads/README.md)
253253

254254
* [create](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/uploads/README.md#create) - Create presigned URL for file upload
255255
* [create_batch](https://github.com/agentset-ai/agentset-python/blob/master/docs/sdks/uploads/README.md#create_batch) - Create presigned URLs for batch file upload

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,44 +212,44 @@ with Agentset(
212212
<details open>
213213
<summary>Available methods</summary>
214214

215-
### [documents](docs/sdks/documents/README.md)
215+
### [Documents](docs/sdks/documents/README.md)
216216

217217
* [list](docs/sdks/documents/README.md#list) - Retrieve a list of documents
218218
* [get](docs/sdks/documents/README.md#get) - Retrieve a document
219219
* [delete](docs/sdks/documents/README.md#delete) - Delete a document
220220

221-
### [hosting](docs/sdks/hostingsdk/README.md)
221+
### [Hosting](docs/sdks/hostingsdk/README.md)
222222

223223
* [get](docs/sdks/hostingsdk/README.md#get) - Retrieve hosting configuration
224224
* [enable](docs/sdks/hostingsdk/README.md#enable) - Enable hosting
225225
* [update](docs/sdks/hostingsdk/README.md#update) - Update hosting configuration
226226
* [delete](docs/sdks/hostingsdk/README.md#delete) - Delete hosting configuration
227227

228-
### [ingest_jobs](docs/sdks/ingestjobs/README.md)
228+
### [IngestJobs](docs/sdks/ingestjobs/README.md)
229229

230230
* [list](docs/sdks/ingestjobs/README.md#list) - Retrieve a list of ingest jobs
231231
* [create](docs/sdks/ingestjobs/README.md#create) - Create an ingest job
232232
* [get](docs/sdks/ingestjobs/README.md#get) - Retrieve an ingest job
233233
* [delete](docs/sdks/ingestjobs/README.md#delete) - Delete an ingest job
234234
* [re_ingest](docs/sdks/ingestjobs/README.md#re_ingest) - Re-ingest a job
235235

236-
### [namespace](docs/sdks/namespacesdk/README.md)
236+
### [Namespace](docs/sdks/namespacesdk/README.md)
237237

238238
* [warm_up](docs/sdks/namespacesdk/README.md#warm_up) - Warm cache for a namespace
239239

240-
### [namespaces](docs/sdks/namespaces/README.md)
240+
### [Namespaces](docs/sdks/namespaces/README.md)
241241

242242
* [list](docs/sdks/namespaces/README.md#list) - Retrieve a list of namespaces
243243
* [create](docs/sdks/namespaces/README.md#create) - Create a namespace.
244244
* [get](docs/sdks/namespaces/README.md#get) - Retrieve a namespace
245245
* [update](docs/sdks/namespaces/README.md#update) - Update a namespace.
246246
* [delete](docs/sdks/namespaces/README.md#delete) - Delete a namespace.
247247

248-
### [search](docs/sdks/search/README.md)
248+
### [Search](docs/sdks/search/README.md)
249249

250250
* [execute](docs/sdks/search/README.md#execute) - Search a namespace
251251

252-
### [uploads](docs/sdks/uploads/README.md)
252+
### [Uploads](docs/sdks/uploads/README.md)
253253

254254
* [create](docs/sdks/uploads/README.md#create) - Create presigned URL for file upload
255255
* [create_batch](docs/sdks/uploads/README.md#create_batch) - Create presigned URLs for batch file upload

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 v0.6.0] .
5050
### Releases
51-
- [PyPI v0.6.0] https://pypi.org/project/agentset/0.6.0 - .
51+
- [PyPI v0.6.0] https://pypi.org/project/agentset/0.6.0 - .
52+
53+
## 2025-12-06 02:38:51
54+
### Changes
55+
Based on:
56+
- OpenAPI Doc
57+
- Speakeasy CLI 1.669.1 (2.772.0) https://github.com/speakeasy-api/speakeasy
58+
### Generated
59+
- [python v0.6.1] .
60+
### Releases
61+
- [PyPI v0.6.1] https://pypi.org/project/agentset/0.6.1 - .

0 commit comments

Comments
 (0)