You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+51-34Lines changed: 51 additions & 34 deletions
Original file line number
Diff line number
Diff line change
@@ -341,7 +341,7 @@ paths:
341
341
x-speakeasy-name-override: "create"
342
342
x-speakeasy-group: "ingestJobs"
343
343
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"}]
345
345
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)."
346
346
tags:
347
347
- "Ingest Jobs"
@@ -486,7 +486,7 @@ paths:
486
486
x-speakeasy-group: "ingestJobs"
487
487
x-speakeasy-max-method-params: 1
488
488
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"}]
490
490
description: "Re-ingest a job for the authenticated organization."
491
491
tags:
492
492
- "Ingest Jobs"
@@ -753,12 +753,13 @@ paths:
753
753
maximum: 100
754
754
"rerankModel":
755
755
description: "The reranking model to use."
756
-
default: "cohere:rerank-v3.5"
756
+
default: "zeroentropy:zerank-2"
757
757
type: "string"
758
758
enum:
759
759
- "cohere:rerank-v3.5"
760
760
- "cohere:rerank-english-v3.0"
761
761
- "cohere:rerank-multilingual-v3.0"
762
+
- "zeroentropy:zerank-2"
762
763
- "zeroentropy:zerank-1"
763
764
- "zeroentropy:zerank-1-small"
764
765
"filter":
@@ -1104,12 +1105,14 @@ paths:
1104
1105
- "cohere:rerank-v3.5"
1105
1106
- "cohere:rerank-english-v3.0"
1106
1107
- "cohere:rerank-multilingual-v3.0"
1108
+
- "zeroentropy:zerank-2"
1107
1109
- "zeroentropy:zerank-1"
1108
1110
- "zeroentropy:zerank-1-small"
1109
1111
"llmModel":
1110
1112
type: "string"
1111
1113
enum:
1112
1114
- "openai:gpt-4.1"
1115
+
- "openai:gpt-5.1"
1113
1116
- "openai:gpt-5"
1114
1117
- "openai:gpt-5-mini"
1115
1118
- "openai:gpt-5-nano"
@@ -1443,29 +1446,41 @@ components:
1443
1446
"ingest-job-payload-input":
1444
1447
description: "The ingest job payload for creation."
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
1729
1744
type: "boolean"
1730
1745
"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."
1732
1747
deprecated: true
1733
1748
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
1734
1749
type: "number"
@@ -1796,7 +1811,7 @@ components:
1796
1811
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
1797
1812
type: "boolean"
1798
1813
"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."
1800
1815
deprecated: true
1801
1816
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
2752
2769
type: "boolean"
2753
2770
"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."
2755
2772
deprecated: true
2756
2773
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
2757
2774
type: "number"
@@ -2813,7 +2830,7 @@ components:
2813
2830
description: "Enable LLM-assisted parsing to improve tables, forms, inline math, and layout detection. May increase latency and token usage. Defaults to `true`."
2814
2831
type: "boolean"
2815
2832
"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."
2817
2834
deprecated: true
2818
2835
x-speakeasy-deprecation-message: "We no longer support this option. Use `chunkSize` instead."
0 commit comments