@llamaindex/llama-cloud 2.8.0 → 2.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/client.d.mts +11 -8
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -8
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/batches.d.mts +24 -25
- package/resources/batches.d.mts.map +1 -1
- package/resources/batches.d.ts +24 -25
- package/resources/batches.d.ts.map +1 -1
- package/resources/batches.js +1 -2
- package/resources/batches.js.map +1 -1
- package/resources/batches.mjs +1 -2
- package/resources/batches.mjs.map +1 -1
- package/resources/beta/agent-data.d.mts +94 -94
- package/resources/beta/agent-data.d.mts.map +1 -1
- package/resources/beta/agent-data.d.ts +94 -94
- package/resources/beta/agent-data.d.ts.map +1 -1
- package/resources/beta/agent-data.js +41 -41
- package/resources/beta/agent-data.js.map +1 -1
- package/resources/beta/agent-data.mjs +41 -41
- package/resources/beta/agent-data.mjs.map +1 -1
- package/resources/beta/batch/batch.d.mts +29 -29
- package/resources/beta/batch/batch.d.mts.map +1 -1
- package/resources/beta/batch/batch.d.ts +29 -29
- package/resources/beta/batch/batch.d.ts.map +1 -1
- package/resources/beta/batch/batch.js +16 -16
- package/resources/beta/batch/batch.js.map +1 -1
- package/resources/beta/batch/batch.mjs +16 -16
- package/resources/beta/batch/batch.mjs.map +1 -1
- package/resources/beta/batch/index.d.mts +1 -1
- package/resources/beta/batch/index.d.mts.map +1 -1
- package/resources/beta/batch/index.d.ts +1 -1
- package/resources/beta/batch/index.d.ts.map +1 -1
- package/resources/beta/batch/job-items.d.mts +7 -7
- package/resources/beta/batch/job-items.d.mts.map +1 -1
- package/resources/beta/batch/job-items.d.ts +7 -7
- package/resources/beta/batch/job-items.d.ts.map +1 -1
- package/resources/beta/beta.d.mts +6 -6
- package/resources/beta/beta.d.mts.map +1 -1
- package/resources/beta/beta.d.ts +6 -6
- package/resources/beta/beta.d.ts.map +1 -1
- package/resources/beta/chat.d.mts +39 -39
- package/resources/beta/chat.d.mts.map +1 -1
- package/resources/beta/chat.d.ts +39 -39
- package/resources/beta/chat.d.ts.map +1 -1
- package/resources/beta/chat.js +14 -14
- package/resources/beta/chat.js.map +1 -1
- package/resources/beta/chat.mjs +14 -14
- package/resources/beta/chat.mjs.map +1 -1
- package/resources/beta/directories/directories.d.mts +48 -35
- package/resources/beta/directories/directories.d.mts.map +1 -1
- package/resources/beta/directories/directories.d.ts +48 -35
- package/resources/beta/directories/directories.d.ts.map +1 -1
- package/resources/beta/directories/directories.js +30 -30
- package/resources/beta/directories/directories.js.map +1 -1
- package/resources/beta/directories/directories.mjs +30 -30
- package/resources/beta/directories/directories.mjs.map +1 -1
- package/resources/beta/directories/files.d.mts +54 -54
- package/resources/beta/directories/files.d.mts.map +1 -1
- package/resources/beta/directories/files.d.ts +54 -54
- package/resources/beta/directories/files.d.ts.map +1 -1
- package/resources/beta/directories/files.js +32 -32
- package/resources/beta/directories/files.js.map +1 -1
- package/resources/beta/directories/files.mjs +32 -32
- package/resources/beta/directories/files.mjs.map +1 -1
- package/resources/beta/directories/index.d.mts +2 -2
- package/resources/beta/directories/index.d.mts.map +1 -1
- package/resources/beta/directories/index.d.ts +2 -2
- package/resources/beta/directories/index.d.ts.map +1 -1
- package/resources/beta/index.d.mts +6 -6
- package/resources/beta/index.d.mts.map +1 -1
- package/resources/beta/index.d.ts +6 -6
- package/resources/beta/index.d.ts.map +1 -1
- package/resources/beta/indexes.d.mts +32 -32
- package/resources/beta/indexes.d.mts.map +1 -1
- package/resources/beta/indexes.d.ts +32 -32
- package/resources/beta/indexes.d.ts.map +1 -1
- package/resources/beta/indexes.js +28 -28
- package/resources/beta/indexes.js.map +1 -1
- package/resources/beta/indexes.mjs +28 -28
- package/resources/beta/indexes.mjs.map +1 -1
- package/resources/beta/retrieval.d.mts +4 -4
- package/resources/beta/retrieval.d.mts.map +1 -1
- package/resources/beta/retrieval.d.ts +4 -4
- package/resources/beta/retrieval.d.ts.map +1 -1
- package/resources/beta/sheets.d.mts +134 -60
- package/resources/beta/sheets.d.mts.map +1 -1
- package/resources/beta/sheets.d.ts +134 -60
- package/resources/beta/sheets.d.ts.map +1 -1
- package/resources/beta/sheets.js +25 -52
- package/resources/beta/sheets.js.map +1 -1
- package/resources/beta/sheets.mjs +25 -52
- package/resources/beta/sheets.mjs.map +1 -1
- package/resources/beta/split.d.mts +2 -2
- package/resources/beta/split.d.mts.map +1 -1
- package/resources/beta/split.d.ts +2 -2
- package/resources/beta/split.d.ts.map +1 -1
- package/resources/classifier/jobs.d.mts +8 -2
- package/resources/classifier/jobs.d.mts.map +1 -1
- package/resources/classifier/jobs.d.ts +8 -2
- package/resources/classifier/jobs.d.ts.map +1 -1
- package/resources/classify.d.mts +71 -9
- package/resources/classify.d.mts.map +1 -1
- package/resources/classify.d.ts +71 -9
- package/resources/classify.d.ts.map +1 -1
- package/resources/configurations.d.mts +101 -46
- package/resources/configurations.d.mts.map +1 -1
- package/resources/configurations.d.ts +101 -46
- package/resources/configurations.d.ts.map +1 -1
- package/resources/configurations.js +9 -9
- package/resources/configurations.js.map +1 -1
- package/resources/configurations.mjs +9 -9
- package/resources/configurations.mjs.map +1 -1
- package/resources/data-sinks.d.mts +16 -16
- package/resources/data-sinks.d.mts.map +1 -1
- package/resources/data-sinks.d.ts +16 -16
- package/resources/data-sinks.d.ts.map +1 -1
- package/resources/data-sinks.js +12 -12
- package/resources/data-sinks.js.map +1 -1
- package/resources/data-sinks.mjs +12 -12
- package/resources/data-sinks.mjs.map +1 -1
- package/resources/data-sources.d.mts +17 -17
- package/resources/data-sources.d.mts.map +1 -1
- package/resources/data-sources.d.ts +17 -17
- package/resources/data-sources.d.ts.map +1 -1
- package/resources/data-sources.js +13 -13
- package/resources/data-sources.js.map +1 -1
- package/resources/data-sources.mjs +13 -13
- package/resources/data-sources.mjs.map +1 -1
- package/resources/extract.d.mts +52 -50
- package/resources/extract.d.mts.map +1 -1
- package/resources/extract.d.ts +52 -50
- package/resources/extract.d.ts.map +1 -1
- package/resources/extract.js +33 -33
- package/resources/extract.js.map +1 -1
- package/resources/extract.mjs +33 -33
- package/resources/extract.mjs.map +1 -1
- package/resources/files.d.mts +41 -41
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +41 -41
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +13 -13
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +13 -13
- package/resources/files.mjs.map +1 -1
- package/resources/index.d.mts +9 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/parsing.d.mts +108 -50
- package/resources/parsing.d.mts.map +1 -1
- package/resources/parsing.d.ts +108 -50
- package/resources/parsing.d.ts.map +1 -1
- package/resources/parsing.js +12 -12
- package/resources/parsing.js.map +1 -1
- package/resources/parsing.mjs +12 -12
- package/resources/parsing.mjs.map +1 -1
- package/resources/pipelines/data-sources.d.mts +40 -30
- package/resources/pipelines/data-sources.d.mts.map +1 -1
- package/resources/pipelines/data-sources.d.ts +40 -30
- package/resources/pipelines/data-sources.d.ts.map +1 -1
- package/resources/pipelines/data-sources.js +23 -13
- package/resources/pipelines/data-sources.js.map +1 -1
- package/resources/pipelines/data-sources.mjs +23 -13
- package/resources/pipelines/data-sources.mjs.map +1 -1
- package/resources/pipelines/documents.d.mts +28 -12
- package/resources/pipelines/documents.d.mts.map +1 -1
- package/resources/pipelines/documents.d.ts +28 -12
- package/resources/pipelines/documents.d.ts.map +1 -1
- package/resources/pipelines/documents.js +30 -14
- package/resources/pipelines/documents.js.map +1 -1
- package/resources/pipelines/documents.mjs +30 -14
- package/resources/pipelines/documents.mjs.map +1 -1
- package/resources/pipelines/files.d.mts +34 -24
- package/resources/pipelines/files.d.mts.map +1 -1
- package/resources/pipelines/files.d.ts +34 -24
- package/resources/pipelines/files.d.ts.map +1 -1
- package/resources/pipelines/files.js +27 -17
- package/resources/pipelines/files.js.map +1 -1
- package/resources/pipelines/files.mjs +27 -17
- package/resources/pipelines/files.mjs.map +1 -1
- package/resources/pipelines/images.d.mts +17 -17
- package/resources/pipelines/images.d.mts.map +1 -1
- package/resources/pipelines/images.d.ts +17 -17
- package/resources/pipelines/images.d.ts.map +1 -1
- package/resources/pipelines/images.js +13 -13
- package/resources/pipelines/images.js.map +1 -1
- package/resources/pipelines/images.mjs +13 -13
- package/resources/pipelines/images.mjs.map +1 -1
- package/resources/pipelines/index.d.mts +5 -5
- package/resources/pipelines/index.d.mts.map +1 -1
- package/resources/pipelines/index.d.ts +5 -5
- package/resources/pipelines/index.d.ts.map +1 -1
- package/resources/pipelines/metadata.d.mts +4 -0
- package/resources/pipelines/metadata.d.mts.map +1 -1
- package/resources/pipelines/metadata.d.ts +4 -0
- package/resources/pipelines/metadata.d.ts.map +1 -1
- package/resources/pipelines/metadata.js +4 -0
- package/resources/pipelines/metadata.js.map +1 -1
- package/resources/pipelines/metadata.mjs +4 -0
- package/resources/pipelines/metadata.mjs.map +1 -1
- package/resources/pipelines/pipelines.d.mts +142 -126
- package/resources/pipelines/pipelines.d.mts.map +1 -1
- package/resources/pipelines/pipelines.d.ts +142 -126
- package/resources/pipelines/pipelines.d.ts.map +1 -1
- package/resources/pipelines/pipelines.js +39 -23
- package/resources/pipelines/pipelines.js.map +1 -1
- package/resources/pipelines/pipelines.mjs +39 -23
- package/resources/pipelines/pipelines.mjs.map +1 -1
- package/resources/pipelines/sync.d.mts +4 -0
- package/resources/pipelines/sync.d.mts.map +1 -1
- package/resources/pipelines/sync.d.ts +4 -0
- package/resources/pipelines/sync.d.ts.map +1 -1
- package/resources/pipelines/sync.js +4 -0
- package/resources/pipelines/sync.js.map +1 -1
- package/resources/pipelines/sync.mjs +4 -0
- package/resources/pipelines/sync.mjs.map +1 -1
- package/resources/retrievers/index.d.mts +1 -1
- package/resources/retrievers/index.d.mts.map +1 -1
- package/resources/retrievers/index.d.ts +1 -1
- package/resources/retrievers/index.d.ts.map +1 -1
- package/resources/retrievers/retrievers.d.mts +39 -39
- package/resources/retrievers/retrievers.d.mts.map +1 -1
- package/resources/retrievers/retrievers.d.ts +39 -39
- package/resources/retrievers/retrievers.d.ts.map +1 -1
- package/resources/retrievers/retrievers.js +20 -20
- package/resources/retrievers/retrievers.js.map +1 -1
- package/resources/retrievers/retrievers.mjs +20 -20
- package/resources/retrievers/retrievers.mjs.map +1 -1
- package/resources/shared.d.mts +12 -4
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +12 -4
- package/resources/shared.d.ts.map +1 -1
- package/resources/sheets.d.mts +199 -0
- package/resources/sheets.d.mts.map +1 -0
- package/resources/sheets.d.ts +199 -0
- package/resources/sheets.d.ts.map +1 -0
- package/resources/sheets.js +101 -0
- package/resources/sheets.js.map +1 -0
- package/resources/sheets.mjs +97 -0
- package/resources/sheets.mjs.map +1 -0
- package/src/client.ts +33 -12
- package/src/resources/batches.ts +24 -25
- package/src/resources/beta/agent-data.ts +131 -131
- package/src/resources/beta/batch/batch.ts +61 -50
- package/src/resources/beta/batch/index.ts +1 -1
- package/src/resources/beta/batch/job-items.ts +28 -17
- package/src/resources/beta/beta.ts +12 -12
- package/src/resources/beta/chat.ts +57 -57
- package/src/resources/beta/directories/directories.ts +80 -66
- package/src/resources/beta/directories/files.ts +73 -73
- package/src/resources/beta/directories/index.ts +5 -5
- package/src/resources/beta/index.ts +12 -12
- package/src/resources/beta/indexes.ts +53 -53
- package/src/resources/beta/retrieval.ts +4 -4
- package/src/resources/beta/sheets.ts +217 -73
- package/src/resources/beta/split.ts +2 -2
- package/src/resources/classifier/jobs.ts +9 -2
- package/src/resources/classify.ts +135 -9
- package/src/resources/configurations.ts +126 -67
- package/src/resources/data-sinks.ts +26 -26
- package/src/resources/data-sources.ts +43 -43
- package/src/resources/extract.ts +118 -94
- package/src/resources/files.ts +61 -61
- package/src/resources/index.ts +21 -12
- package/src/resources/parsing.ts +266 -203
- package/src/resources/pipelines/data-sources.ts +59 -49
- package/src/resources/pipelines/documents.ts +42 -26
- package/src/resources/pipelines/files.ts +62 -52
- package/src/resources/pipelines/images.ts +36 -36
- package/src/resources/pipelines/index.ts +10 -10
- package/src/resources/pipelines/metadata.ts +4 -0
- package/src/resources/pipelines/pipelines.ts +230 -203
- package/src/resources/pipelines/sync.ts +4 -0
- package/src/resources/retrievers/index.ts +3 -3
- package/src/resources/retrievers/retrievers.ts +64 -64
- package/src/resources/shared.ts +13 -4
- package/src/resources/sheets.ts +314 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -79,11 +79,25 @@ export class Pipelines extends APIResource {
|
|
|
79
79
|
metadata: MetadataAPI.Metadata = new MetadataAPI.Metadata(this._client);
|
|
80
80
|
documents: DocumentsAPI.Documents = new DocumentsAPI.Documents(this._client);
|
|
81
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Search for pipelines by name, type, or project.
|
|
84
|
+
*
|
|
85
|
+
* @deprecated
|
|
86
|
+
*/
|
|
87
|
+
list(
|
|
88
|
+
query: PipelineListParams | null | undefined = {},
|
|
89
|
+
options?: RequestOptions,
|
|
90
|
+
): APIPromise<PipelineListResponse> {
|
|
91
|
+
return this._client.get('/api/v1/pipelines', { query, ...options });
|
|
92
|
+
}
|
|
93
|
+
|
|
82
94
|
/**
|
|
83
95
|
* Create a new managed ingestion pipeline.
|
|
84
96
|
*
|
|
85
97
|
* A pipeline connects data sources to a vector store for RAG. After creation, call
|
|
86
98
|
* `POST /pipelines/{id}/sync` to start ingesting documents.
|
|
99
|
+
*
|
|
100
|
+
* @deprecated
|
|
87
101
|
*/
|
|
88
102
|
create(params: PipelineCreateParams, options?: RequestOptions): APIPromise<Pipeline> {
|
|
89
103
|
const { organization_id, project_id, ...body } = params;
|
|
@@ -95,47 +109,30 @@ export class Pipelines extends APIResource {
|
|
|
95
109
|
}
|
|
96
110
|
|
|
97
111
|
/**
|
|
98
|
-
*
|
|
112
|
+
* Get a pipeline by ID.
|
|
99
113
|
*
|
|
100
|
-
*
|
|
101
|
-
* parameters. Supports dense, sparse, and hybrid search modes with configurable
|
|
102
|
-
* top-k and reranking.
|
|
114
|
+
* @deprecated
|
|
103
115
|
*/
|
|
104
|
-
|
|
105
|
-
pipelineID
|
|
106
|
-
params: PipelineRetrieveParams,
|
|
107
|
-
options?: RequestOptions,
|
|
108
|
-
): APIPromise<PipelineRetrieveResponse> {
|
|
109
|
-
const { organization_id, project_id, ...body } = params;
|
|
110
|
-
return this._client.post(path`/api/v1/pipelines/${pipelineID}/retrieve`, {
|
|
111
|
-
query: { organization_id, project_id },
|
|
112
|
-
body,
|
|
113
|
-
...options,
|
|
114
|
-
});
|
|
116
|
+
get(pipelineID: string, options?: RequestOptions): APIPromise<Pipeline> {
|
|
117
|
+
return this._client.get(path`/api/v1/pipelines/${pipelineID}`, options);
|
|
115
118
|
}
|
|
116
119
|
|
|
117
120
|
/**
|
|
118
121
|
* Update an existing pipeline's configuration.
|
|
122
|
+
*
|
|
123
|
+
* @deprecated
|
|
119
124
|
*/
|
|
120
125
|
update(pipelineID: string, body: PipelineUpdateParams, options?: RequestOptions): APIPromise<Pipeline> {
|
|
121
126
|
return this._client.put(path`/api/v1/pipelines/${pipelineID}`, { body, ...options });
|
|
122
127
|
}
|
|
123
128
|
|
|
124
|
-
/**
|
|
125
|
-
* Search for pipelines by name, type, or project.
|
|
126
|
-
*/
|
|
127
|
-
list(
|
|
128
|
-
query: PipelineListParams | null | undefined = {},
|
|
129
|
-
options?: RequestOptions,
|
|
130
|
-
): APIPromise<PipelineListResponse> {
|
|
131
|
-
return this._client.get('/api/v1/pipelines', { query, ...options });
|
|
132
|
-
}
|
|
133
|
-
|
|
134
129
|
/**
|
|
135
130
|
* Delete a pipeline and all associated resources.
|
|
136
131
|
*
|
|
137
132
|
* Removes pipeline files, data sources, and vector store data. This operation is
|
|
138
133
|
* irreversible.
|
|
134
|
+
*
|
|
135
|
+
* @deprecated
|
|
139
136
|
*/
|
|
140
137
|
delete(pipelineID: string, options?: RequestOptions): APIPromise<void> {
|
|
141
138
|
return this._client.delete(path`/api/v1/pipelines/${pipelineID}`, {
|
|
@@ -144,18 +141,13 @@ export class Pipelines extends APIResource {
|
|
|
144
141
|
});
|
|
145
142
|
}
|
|
146
143
|
|
|
147
|
-
/**
|
|
148
|
-
* Get a pipeline by ID.
|
|
149
|
-
*/
|
|
150
|
-
get(pipelineID: string, options?: RequestOptions): APIPromise<Pipeline> {
|
|
151
|
-
return this._client.get(path`/api/v1/pipelines/${pipelineID}`, options);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
144
|
/**
|
|
155
145
|
* Get the ingestion status of a managed pipeline.
|
|
156
146
|
*
|
|
157
147
|
* Returns document counts, sync progress, and the last effective timestamp. Only
|
|
158
148
|
* available for managed pipelines.
|
|
149
|
+
*
|
|
150
|
+
* @deprecated
|
|
159
151
|
*/
|
|
160
152
|
getStatus(
|
|
161
153
|
pipelineID: string,
|
|
@@ -170,6 +162,8 @@ export class Pipelines extends APIResource {
|
|
|
170
162
|
*
|
|
171
163
|
* Updates the pipeline if one with the same name and project already exists,
|
|
172
164
|
* otherwise creates a new one.
|
|
165
|
+
*
|
|
166
|
+
* @deprecated
|
|
173
167
|
*/
|
|
174
168
|
upsert(params: PipelineUpsertParams, options?: RequestOptions): APIPromise<Pipeline> {
|
|
175
169
|
const { organization_id, project_id, ...body } = params;
|
|
@@ -179,6 +173,28 @@ export class Pipelines extends APIResource {
|
|
|
179
173
|
...options,
|
|
180
174
|
});
|
|
181
175
|
}
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Run a retrieval query against a managed pipeline.
|
|
179
|
+
*
|
|
180
|
+
* Searches the pipeline's vector store using the provided query and retrieval
|
|
181
|
+
* parameters. Supports dense, sparse, and hybrid search modes with configurable
|
|
182
|
+
* top-k and reranking.
|
|
183
|
+
*
|
|
184
|
+
* @deprecated
|
|
185
|
+
*/
|
|
186
|
+
retrieve(
|
|
187
|
+
pipelineID: string,
|
|
188
|
+
params: PipelineRetrieveParams,
|
|
189
|
+
options?: RequestOptions,
|
|
190
|
+
): APIPromise<PipelineRetrieveResponse> {
|
|
191
|
+
const { organization_id, project_id, ...body } = params;
|
|
192
|
+
return this._client.post(path`/api/v1/pipelines/${pipelineID}/retrieve`, {
|
|
193
|
+
query: { organization_id, project_id },
|
|
194
|
+
body,
|
|
195
|
+
...options,
|
|
196
|
+
});
|
|
197
|
+
}
|
|
182
198
|
}
|
|
183
199
|
|
|
184
200
|
export interface AdvancedModeTransformConfig {
|
|
@@ -509,7 +525,7 @@ export interface DataSinkCreate {
|
|
|
509
525
|
*/
|
|
510
526
|
name: string;
|
|
511
527
|
|
|
512
|
-
sink_type: '
|
|
528
|
+
sink_type: 'ASTRA_DB' | 'AZUREAI_SEARCH' | 'MILVUS' | 'MONGODB_ATLAS' | 'PINECONE' | 'POSTGRES' | 'QDRANT';
|
|
513
529
|
}
|
|
514
530
|
|
|
515
531
|
export interface GeminiEmbedding {
|
|
@@ -615,7 +631,7 @@ export interface HuggingFaceInferenceAPIEmbedding {
|
|
|
615
631
|
/**
|
|
616
632
|
* Enum of possible pooling choices with pooling behaviors.
|
|
617
633
|
*/
|
|
618
|
-
pooling?: 'cls' | '
|
|
634
|
+
pooling?: 'cls' | 'last' | 'mean' | null;
|
|
619
635
|
|
|
620
636
|
/**
|
|
621
637
|
* Instruction to prepend during query embedding.
|
|
@@ -742,7 +758,7 @@ export interface LlamaParseParameters {
|
|
|
742
758
|
|
|
743
759
|
ignore_document_elements_for_layout_detection?: boolean | null;
|
|
744
760
|
|
|
745
|
-
images_to_save?: Array<'
|
|
761
|
+
images_to_save?: Array<'embedded' | 'layout' | 'screenshot'> | null;
|
|
746
762
|
|
|
747
763
|
inline_images_in_markdown?: boolean | null;
|
|
748
764
|
|
|
@@ -831,7 +847,7 @@ export interface LlamaParseParameters {
|
|
|
831
847
|
* The priority for the request. This field may be ignored or overwritten depending
|
|
832
848
|
* on the organization tier.
|
|
833
849
|
*/
|
|
834
|
-
priority?: '
|
|
850
|
+
priority?: 'critical' | 'high' | 'low' | 'medium' | null;
|
|
835
851
|
|
|
836
852
|
project_id?: string | null;
|
|
837
853
|
|
|
@@ -916,22 +932,33 @@ export namespace LlamaParseParameters {
|
|
|
916
932
|
* events are delivered.
|
|
917
933
|
*/
|
|
918
934
|
webhook_events?: Array<
|
|
919
|
-
| '
|
|
920
|
-
| '
|
|
935
|
+
| 'classify.cancelled'
|
|
936
|
+
| 'classify.error'
|
|
937
|
+
| 'classify.partial_success'
|
|
938
|
+
| 'classify.pending'
|
|
939
|
+
| 'classify.running'
|
|
940
|
+
| 'classify.success'
|
|
941
|
+
| 'extract.cancelled'
|
|
921
942
|
| 'extract.error'
|
|
922
943
|
| 'extract.partial_success'
|
|
923
|
-
| 'extract.
|
|
944
|
+
| 'extract.pending'
|
|
945
|
+
| 'extract.success'
|
|
946
|
+
| 'parse.cancelled'
|
|
947
|
+
| 'parse.error'
|
|
948
|
+
| 'parse.partial_success'
|
|
924
949
|
| 'parse.pending'
|
|
925
950
|
| 'parse.running'
|
|
926
951
|
| 'parse.success'
|
|
927
|
-
| '
|
|
928
|
-
| '
|
|
929
|
-
| '
|
|
930
|
-
| '
|
|
931
|
-
| '
|
|
932
|
-
| '
|
|
933
|
-
| '
|
|
934
|
-
| '
|
|
952
|
+
| 'sheets.cancelled'
|
|
953
|
+
| 'sheets.error'
|
|
954
|
+
| 'sheets.partial_success'
|
|
955
|
+
| 'sheets.pending'
|
|
956
|
+
| 'sheets.success'
|
|
957
|
+
| 'split.cancelled'
|
|
958
|
+
| 'split.error'
|
|
959
|
+
| 'split.pending'
|
|
960
|
+
| 'split.processing'
|
|
961
|
+
| 'split.success'
|
|
935
962
|
| 'unmapped_event'
|
|
936
963
|
> | null;
|
|
937
964
|
|
|
@@ -959,19 +986,19 @@ export interface LlmParameters {
|
|
|
959
986
|
* The name of the model to use for LLM completions.
|
|
960
987
|
*/
|
|
961
988
|
model_name?:
|
|
962
|
-
| 'GPT_4O'
|
|
963
|
-
| 'GPT_4O_MINI'
|
|
964
|
-
| 'GPT_4_1'
|
|
965
|
-
| 'GPT_4_1_NANO'
|
|
966
|
-
| 'GPT_4_1_MINI'
|
|
967
989
|
| 'AZURE_OPENAI_GPT_4O'
|
|
968
990
|
| 'AZURE_OPENAI_GPT_4O_MINI'
|
|
969
991
|
| 'AZURE_OPENAI_GPT_4_1'
|
|
970
992
|
| 'AZURE_OPENAI_GPT_4_1_MINI'
|
|
971
993
|
| 'AZURE_OPENAI_GPT_4_1_NANO'
|
|
972
|
-
| 'CLAUDE_4_5_SONNET'
|
|
973
994
|
| 'BEDROCK_CLAUDE_3_5_SONNET_V1'
|
|
974
|
-
| 'BEDROCK_CLAUDE_3_5_SONNET_V2'
|
|
995
|
+
| 'BEDROCK_CLAUDE_3_5_SONNET_V2'
|
|
996
|
+
| 'CLAUDE_4_5_SONNET'
|
|
997
|
+
| 'GPT_4O'
|
|
998
|
+
| 'GPT_4O_MINI'
|
|
999
|
+
| 'GPT_4_1'
|
|
1000
|
+
| 'GPT_4_1_MINI'
|
|
1001
|
+
| 'GPT_4_1_NANO';
|
|
975
1002
|
|
|
976
1003
|
/**
|
|
977
1004
|
* The system prompt to use for the completion.
|
|
@@ -998,7 +1025,7 @@ export interface ManagedIngestionStatusResponse {
|
|
|
998
1025
|
/**
|
|
999
1026
|
* Status of the ingestion.
|
|
1000
1027
|
*/
|
|
1001
|
-
status: '
|
|
1028
|
+
status: 'CANCELLED' | 'ERROR' | 'IN_PROGRESS' | 'NOT_STARTED' | 'PARTIAL_SUCCESS' | 'SUCCESS';
|
|
1002
1029
|
|
|
1003
1030
|
/**
|
|
1004
1031
|
* Date of the deployment.
|
|
@@ -1037,13 +1064,13 @@ export namespace ManagedIngestionStatusResponse {
|
|
|
1037
1064
|
* Name of the job that failed.
|
|
1038
1065
|
*/
|
|
1039
1066
|
step:
|
|
1040
|
-
| 'MANAGED_INGESTION'
|
|
1041
1067
|
| 'DATA_SOURCE'
|
|
1042
1068
|
| 'FILE_UPDATER'
|
|
1043
|
-
| 'PARSE'
|
|
1044
|
-
| 'TRANSFORM'
|
|
1045
1069
|
| 'INGESTION'
|
|
1046
|
-
| '
|
|
1070
|
+
| 'MANAGED_INGESTION'
|
|
1071
|
+
| 'METADATA_UPDATE'
|
|
1072
|
+
| 'PARSE'
|
|
1073
|
+
| 'TRANSFORM';
|
|
1047
1074
|
}
|
|
1048
1075
|
}
|
|
1049
1076
|
|
|
@@ -1051,14 +1078,14 @@ export namespace ManagedIngestionStatusResponse {
|
|
|
1051
1078
|
* Message role.
|
|
1052
1079
|
*/
|
|
1053
1080
|
export type MessageRole =
|
|
1054
|
-
| 'system'
|
|
1055
|
-
| 'developer'
|
|
1056
|
-
| 'user'
|
|
1057
1081
|
| 'assistant'
|
|
1082
|
+
| 'chatbot'
|
|
1083
|
+
| 'developer'
|
|
1058
1084
|
| 'function'
|
|
1085
|
+
| 'model'
|
|
1086
|
+
| 'system'
|
|
1059
1087
|
| 'tool'
|
|
1060
|
-
| '
|
|
1061
|
-
| 'model';
|
|
1088
|
+
| 'user';
|
|
1062
1089
|
|
|
1063
1090
|
/**
|
|
1064
1091
|
* Metadata filters for vector stores.
|
|
@@ -1069,7 +1096,7 @@ export interface MetadataFilters {
|
|
|
1069
1096
|
/**
|
|
1070
1097
|
* Vector store filter conditions to combine different filters.
|
|
1071
1098
|
*/
|
|
1072
|
-
condition?: 'and' | '
|
|
1099
|
+
condition?: 'and' | 'not' | 'or' | null;
|
|
1073
1100
|
}
|
|
1074
1101
|
|
|
1075
1102
|
export namespace MetadataFilters {
|
|
@@ -1090,20 +1117,20 @@ export namespace MetadataFilters {
|
|
|
1090
1117
|
* Vector store filter operator.
|
|
1091
1118
|
*/
|
|
1092
1119
|
operator?:
|
|
1120
|
+
| '!='
|
|
1121
|
+
| '<'
|
|
1122
|
+
| '<='
|
|
1093
1123
|
| '=='
|
|
1094
1124
|
| '>'
|
|
1095
|
-
| '<'
|
|
1096
|
-
| '!='
|
|
1097
1125
|
| '>='
|
|
1098
|
-
| '
|
|
1126
|
+
| 'all'
|
|
1127
|
+
| 'any'
|
|
1128
|
+
| 'contains'
|
|
1099
1129
|
| 'in'
|
|
1130
|
+
| 'is_empty'
|
|
1100
1131
|
| 'nin'
|
|
1101
|
-
| 'any'
|
|
1102
|
-
| 'all'
|
|
1103
1132
|
| 'text_match'
|
|
1104
|
-
| 'text_match_insensitive'
|
|
1105
|
-
| 'contains'
|
|
1106
|
-
| 'is_empty';
|
|
1133
|
+
| 'text_match_insensitive';
|
|
1107
1134
|
}
|
|
1108
1135
|
}
|
|
1109
1136
|
|
|
@@ -1286,14 +1313,14 @@ export interface Pipeline {
|
|
|
1286
1313
|
id: string;
|
|
1287
1314
|
|
|
1288
1315
|
embedding_config:
|
|
1289
|
-
| Pipeline.ManagedOpenAIEmbeddingConfig
|
|
1290
1316
|
| AzureOpenAIEmbeddingConfig
|
|
1317
|
+
| BedrockEmbeddingConfig
|
|
1291
1318
|
| CohereEmbeddingConfig
|
|
1292
1319
|
| GeminiEmbeddingConfig
|
|
1293
1320
|
| HuggingFaceInferenceAPIEmbeddingConfig
|
|
1321
|
+
| Pipeline.ManagedOpenAIEmbeddingConfig
|
|
1294
1322
|
| OpenAIEmbeddingConfig
|
|
1295
|
-
| VertexAIEmbeddingConfig
|
|
1296
|
-
| BedrockEmbeddingConfig;
|
|
1323
|
+
| VertexAIEmbeddingConfig;
|
|
1297
1324
|
|
|
1298
1325
|
name: string;
|
|
1299
1326
|
|
|
@@ -1445,12 +1472,12 @@ export namespace Pipeline {
|
|
|
1445
1472
|
*/
|
|
1446
1473
|
embedding_config:
|
|
1447
1474
|
| PipelinesAPI.AzureOpenAIEmbeddingConfig
|
|
1475
|
+
| PipelinesAPI.BedrockEmbeddingConfig
|
|
1448
1476
|
| PipelinesAPI.CohereEmbeddingConfig
|
|
1449
1477
|
| PipelinesAPI.GeminiEmbeddingConfig
|
|
1450
1478
|
| PipelinesAPI.HuggingFaceInferenceAPIEmbeddingConfig
|
|
1451
1479
|
| PipelinesAPI.OpenAIEmbeddingConfig
|
|
1452
|
-
| PipelinesAPI.VertexAIEmbeddingConfig
|
|
1453
|
-
| PipelinesAPI.BedrockEmbeddingConfig;
|
|
1480
|
+
| PipelinesAPI.VertexAIEmbeddingConfig;
|
|
1454
1481
|
|
|
1455
1482
|
/**
|
|
1456
1483
|
* The name of the embedding model config.
|
|
@@ -1490,12 +1517,12 @@ export interface PipelineCreate {
|
|
|
1490
1517
|
|
|
1491
1518
|
embedding_config?:
|
|
1492
1519
|
| AzureOpenAIEmbeddingConfig
|
|
1520
|
+
| BedrockEmbeddingConfig
|
|
1493
1521
|
| CohereEmbeddingConfig
|
|
1494
1522
|
| GeminiEmbeddingConfig
|
|
1495
1523
|
| HuggingFaceInferenceAPIEmbeddingConfig
|
|
1496
1524
|
| OpenAIEmbeddingConfig
|
|
1497
1525
|
| VertexAIEmbeddingConfig
|
|
1498
|
-
| BedrockEmbeddingConfig
|
|
1499
1526
|
| null;
|
|
1500
1527
|
|
|
1501
1528
|
/**
|
|
@@ -1564,7 +1591,7 @@ export interface PipelineMetadataConfig {
|
|
|
1564
1591
|
/**
|
|
1565
1592
|
* Enum for representing the type of a pipeline
|
|
1566
1593
|
*/
|
|
1567
|
-
export type PipelineType = '
|
|
1594
|
+
export type PipelineType = 'MANAGED' | 'PLAYGROUND';
|
|
1568
1595
|
|
|
1569
1596
|
/**
|
|
1570
1597
|
* Schema for the search params for an retrieval execution that can be preset for a
|
|
@@ -1644,7 +1671,7 @@ export interface PresetRetrievalParams {
|
|
|
1644
1671
|
sparse_similarity_top_k?: number | null;
|
|
1645
1672
|
}
|
|
1646
1673
|
|
|
1647
|
-
export type RetrievalMode = '
|
|
1674
|
+
export type RetrievalMode = 'auto_routed' | 'chunks' | 'files_via_content' | 'files_via_metadata';
|
|
1648
1675
|
|
|
1649
1676
|
/**
|
|
1650
1677
|
* Configuration for sparse embedding models used in hybrid search.
|
|
@@ -1660,7 +1687,7 @@ export interface SparseModelConfig {
|
|
|
1660
1687
|
* for new pipelines), 'splade' uses HuggingFace Splade model, 'auto' selects based
|
|
1661
1688
|
* on deployment mode (BYOC uses term frequency, Cloud uses Splade).
|
|
1662
1689
|
*/
|
|
1663
|
-
model_type?: '
|
|
1690
|
+
model_type?: 'auto' | 'bm25' | 'splade';
|
|
1664
1691
|
}
|
|
1665
1692
|
|
|
1666
1693
|
export interface VertexAIEmbeddingConfig {
|
|
@@ -1721,7 +1748,7 @@ export interface VertexTextEmbedding {
|
|
|
1721
1748
|
/**
|
|
1722
1749
|
* The embedding mode to use.
|
|
1723
1750
|
*/
|
|
1724
|
-
embed_mode?: '
|
|
1751
|
+
embed_mode?: 'classification' | 'clustering' | 'default' | 'retrieval' | 'similarity';
|
|
1725
1752
|
|
|
1726
1753
|
/**
|
|
1727
1754
|
* The modelId of the VertexAI model to use.
|
|
@@ -1796,6 +1823,21 @@ export namespace PipelineRetrieveResponse {
|
|
|
1796
1823
|
|
|
1797
1824
|
export type PipelineListResponse = Array<Pipeline>;
|
|
1798
1825
|
|
|
1826
|
+
export interface PipelineListParams {
|
|
1827
|
+
organization_id?: string | null;
|
|
1828
|
+
|
|
1829
|
+
pipeline_name?: string | null;
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* Enum for representing the type of a pipeline
|
|
1833
|
+
*/
|
|
1834
|
+
pipeline_type?: PipelineType | null;
|
|
1835
|
+
|
|
1836
|
+
project_id?: string | null;
|
|
1837
|
+
|
|
1838
|
+
project_name?: string | null;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1799
1841
|
export interface PipelineCreateParams {
|
|
1800
1842
|
/**
|
|
1801
1843
|
* Body param
|
|
@@ -1828,12 +1870,12 @@ export interface PipelineCreateParams {
|
|
|
1828
1870
|
*/
|
|
1829
1871
|
embedding_config?:
|
|
1830
1872
|
| AzureOpenAIEmbeddingConfig
|
|
1873
|
+
| BedrockEmbeddingConfig
|
|
1831
1874
|
| CohereEmbeddingConfig
|
|
1832
1875
|
| GeminiEmbeddingConfig
|
|
1833
1876
|
| HuggingFaceInferenceAPIEmbeddingConfig
|
|
1834
1877
|
| OpenAIEmbeddingConfig
|
|
1835
1878
|
| VertexAIEmbeddingConfig
|
|
1836
|
-
| BedrockEmbeddingConfig
|
|
1837
1879
|
| null;
|
|
1838
1880
|
|
|
1839
1881
|
/**
|
|
@@ -1887,98 +1929,6 @@ export interface PipelineCreateParams {
|
|
|
1887
1929
|
transform_config?: AutoTransformConfig | AdvancedModeTransformConfig | null;
|
|
1888
1930
|
}
|
|
1889
1931
|
|
|
1890
|
-
export interface PipelineRetrieveParams {
|
|
1891
|
-
/**
|
|
1892
|
-
* Body param: The query to retrieve against.
|
|
1893
|
-
*/
|
|
1894
|
-
query: string;
|
|
1895
|
-
|
|
1896
|
-
/**
|
|
1897
|
-
* Query param
|
|
1898
|
-
*/
|
|
1899
|
-
organization_id?: string | null;
|
|
1900
|
-
|
|
1901
|
-
/**
|
|
1902
|
-
* Query param
|
|
1903
|
-
*/
|
|
1904
|
-
project_id?: string | null;
|
|
1905
|
-
|
|
1906
|
-
/**
|
|
1907
|
-
* Body param: Alpha value for hybrid retrieval to determine the weights between
|
|
1908
|
-
* dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
|
|
1909
|
-
*/
|
|
1910
|
-
alpha?: number | null;
|
|
1911
|
-
|
|
1912
|
-
/**
|
|
1913
|
-
* Body param
|
|
1914
|
-
*/
|
|
1915
|
-
class_name?: string;
|
|
1916
|
-
|
|
1917
|
-
/**
|
|
1918
|
-
* Body param: Minimum similarity score wrt query for retrieval
|
|
1919
|
-
*/
|
|
1920
|
-
dense_similarity_cutoff?: number | null;
|
|
1921
|
-
|
|
1922
|
-
/**
|
|
1923
|
-
* Body param: Number of nodes for dense retrieval.
|
|
1924
|
-
*/
|
|
1925
|
-
dense_similarity_top_k?: number | null;
|
|
1926
|
-
|
|
1927
|
-
/**
|
|
1928
|
-
* Body param: Enable reranking for retrieval
|
|
1929
|
-
*/
|
|
1930
|
-
enable_reranking?: boolean | null;
|
|
1931
|
-
|
|
1932
|
-
/**
|
|
1933
|
-
* Body param: Number of files to retrieve (only for retrieval mode
|
|
1934
|
-
* files_via_metadata and files_via_content).
|
|
1935
|
-
*/
|
|
1936
|
-
files_top_k?: number | null;
|
|
1937
|
-
|
|
1938
|
-
/**
|
|
1939
|
-
* Body param: Number of reranked nodes for returning.
|
|
1940
|
-
*/
|
|
1941
|
-
rerank_top_n?: number | null;
|
|
1942
|
-
|
|
1943
|
-
/**
|
|
1944
|
-
* Body param: The retrieval mode for the query.
|
|
1945
|
-
*/
|
|
1946
|
-
retrieval_mode?: RetrievalMode;
|
|
1947
|
-
|
|
1948
|
-
/**
|
|
1949
|
-
* @deprecated Body param: Whether to retrieve image nodes.
|
|
1950
|
-
*/
|
|
1951
|
-
retrieve_image_nodes?: boolean;
|
|
1952
|
-
|
|
1953
|
-
/**
|
|
1954
|
-
* Body param: Whether to retrieve page figure nodes.
|
|
1955
|
-
*/
|
|
1956
|
-
retrieve_page_figure_nodes?: boolean;
|
|
1957
|
-
|
|
1958
|
-
/**
|
|
1959
|
-
* Body param: Whether to retrieve page screenshot nodes.
|
|
1960
|
-
*/
|
|
1961
|
-
retrieve_page_screenshot_nodes?: boolean;
|
|
1962
|
-
|
|
1963
|
-
/**
|
|
1964
|
-
* Body param: Metadata filters for vector stores.
|
|
1965
|
-
*/
|
|
1966
|
-
search_filters?: MetadataFilters | null;
|
|
1967
|
-
|
|
1968
|
-
/**
|
|
1969
|
-
* Body param: JSON Schema that will be used to infer search_filters. Omit or leave
|
|
1970
|
-
* as null to skip inference.
|
|
1971
|
-
*/
|
|
1972
|
-
search_filters_inference_schema?: {
|
|
1973
|
-
[key: string]: { [key: string]: unknown } | Array<unknown> | string | number | boolean | null;
|
|
1974
|
-
} | null;
|
|
1975
|
-
|
|
1976
|
-
/**
|
|
1977
|
-
* Body param: Number of nodes for sparse retrieval.
|
|
1978
|
-
*/
|
|
1979
|
-
sparse_similarity_top_k?: number | null;
|
|
1980
|
-
}
|
|
1981
|
-
|
|
1982
1932
|
export interface PipelineUpdateParams {
|
|
1983
1933
|
/**
|
|
1984
1934
|
* Schema for creating a data sink.
|
|
@@ -1993,12 +1943,12 @@ export interface PipelineUpdateParams {
|
|
|
1993
1943
|
|
|
1994
1944
|
embedding_config?:
|
|
1995
1945
|
| AzureOpenAIEmbeddingConfig
|
|
1946
|
+
| BedrockEmbeddingConfig
|
|
1996
1947
|
| CohereEmbeddingConfig
|
|
1997
1948
|
| GeminiEmbeddingConfig
|
|
1998
1949
|
| HuggingFaceInferenceAPIEmbeddingConfig
|
|
1999
1950
|
| OpenAIEmbeddingConfig
|
|
2000
1951
|
| VertexAIEmbeddingConfig
|
|
2001
|
-
| BedrockEmbeddingConfig
|
|
2002
1952
|
| null;
|
|
2003
1953
|
|
|
2004
1954
|
/**
|
|
@@ -2050,21 +2000,6 @@ export interface PipelineUpdateParams {
|
|
|
2050
2000
|
transform_config?: AutoTransformConfig | AdvancedModeTransformConfig | null;
|
|
2051
2001
|
}
|
|
2052
2002
|
|
|
2053
|
-
export interface PipelineListParams {
|
|
2054
|
-
organization_id?: string | null;
|
|
2055
|
-
|
|
2056
|
-
pipeline_name?: string | null;
|
|
2057
|
-
|
|
2058
|
-
/**
|
|
2059
|
-
* Enum for representing the type of a pipeline
|
|
2060
|
-
*/
|
|
2061
|
-
pipeline_type?: PipelineType | null;
|
|
2062
|
-
|
|
2063
|
-
project_id?: string | null;
|
|
2064
|
-
|
|
2065
|
-
project_name?: string | null;
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
2003
|
export interface PipelineGetStatusParams {
|
|
2069
2004
|
full_details?: boolean | null;
|
|
2070
2005
|
}
|
|
@@ -2101,12 +2036,12 @@ export interface PipelineUpsertParams {
|
|
|
2101
2036
|
*/
|
|
2102
2037
|
embedding_config?:
|
|
2103
2038
|
| AzureOpenAIEmbeddingConfig
|
|
2039
|
+
| BedrockEmbeddingConfig
|
|
2104
2040
|
| CohereEmbeddingConfig
|
|
2105
2041
|
| GeminiEmbeddingConfig
|
|
2106
2042
|
| HuggingFaceInferenceAPIEmbeddingConfig
|
|
2107
2043
|
| OpenAIEmbeddingConfig
|
|
2108
2044
|
| VertexAIEmbeddingConfig
|
|
2109
|
-
| BedrockEmbeddingConfig
|
|
2110
2045
|
| null;
|
|
2111
2046
|
|
|
2112
2047
|
/**
|
|
@@ -2160,6 +2095,98 @@ export interface PipelineUpsertParams {
|
|
|
2160
2095
|
transform_config?: AutoTransformConfig | AdvancedModeTransformConfig | null;
|
|
2161
2096
|
}
|
|
2162
2097
|
|
|
2098
|
+
export interface PipelineRetrieveParams {
|
|
2099
|
+
/**
|
|
2100
|
+
* Body param: The query to retrieve against.
|
|
2101
|
+
*/
|
|
2102
|
+
query: string;
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* Query param
|
|
2106
|
+
*/
|
|
2107
|
+
organization_id?: string | null;
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* Query param
|
|
2111
|
+
*/
|
|
2112
|
+
project_id?: string | null;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Body param: Alpha value for hybrid retrieval to determine the weights between
|
|
2116
|
+
* dense and sparse retrieval. 0 is sparse retrieval and 1 is dense retrieval.
|
|
2117
|
+
*/
|
|
2118
|
+
alpha?: number | null;
|
|
2119
|
+
|
|
2120
|
+
/**
|
|
2121
|
+
* Body param
|
|
2122
|
+
*/
|
|
2123
|
+
class_name?: string;
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* Body param: Minimum similarity score wrt query for retrieval
|
|
2127
|
+
*/
|
|
2128
|
+
dense_similarity_cutoff?: number | null;
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* Body param: Number of nodes for dense retrieval.
|
|
2132
|
+
*/
|
|
2133
|
+
dense_similarity_top_k?: number | null;
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* Body param: Enable reranking for retrieval
|
|
2137
|
+
*/
|
|
2138
|
+
enable_reranking?: boolean | null;
|
|
2139
|
+
|
|
2140
|
+
/**
|
|
2141
|
+
* Body param: Number of files to retrieve (only for retrieval mode
|
|
2142
|
+
* files_via_metadata and files_via_content).
|
|
2143
|
+
*/
|
|
2144
|
+
files_top_k?: number | null;
|
|
2145
|
+
|
|
2146
|
+
/**
|
|
2147
|
+
* Body param: Number of reranked nodes for returning.
|
|
2148
|
+
*/
|
|
2149
|
+
rerank_top_n?: number | null;
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* Body param: The retrieval mode for the query.
|
|
2153
|
+
*/
|
|
2154
|
+
retrieval_mode?: RetrievalMode;
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* @deprecated Body param: Whether to retrieve image nodes.
|
|
2158
|
+
*/
|
|
2159
|
+
retrieve_image_nodes?: boolean;
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* Body param: Whether to retrieve page figure nodes.
|
|
2163
|
+
*/
|
|
2164
|
+
retrieve_page_figure_nodes?: boolean;
|
|
2165
|
+
|
|
2166
|
+
/**
|
|
2167
|
+
* Body param: Whether to retrieve page screenshot nodes.
|
|
2168
|
+
*/
|
|
2169
|
+
retrieve_page_screenshot_nodes?: boolean;
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* Body param: Metadata filters for vector stores.
|
|
2173
|
+
*/
|
|
2174
|
+
search_filters?: MetadataFilters | null;
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* Body param: JSON Schema that will be used to infer search_filters. Omit or leave
|
|
2178
|
+
* as null to skip inference.
|
|
2179
|
+
*/
|
|
2180
|
+
search_filters_inference_schema?: {
|
|
2181
|
+
[key: string]: { [key: string]: unknown } | Array<unknown> | string | number | boolean | null;
|
|
2182
|
+
} | null;
|
|
2183
|
+
|
|
2184
|
+
/**
|
|
2185
|
+
* Body param: Number of nodes for sparse retrieval.
|
|
2186
|
+
*/
|
|
2187
|
+
sparse_similarity_top_k?: number | null;
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2163
2190
|
Pipelines.Sync = Sync;
|
|
2164
2191
|
Pipelines.DataSources = DataSources;
|
|
2165
2192
|
Pipelines.Images = Images;
|
|
@@ -2202,12 +2229,12 @@ export declare namespace Pipelines {
|
|
|
2202
2229
|
type VertexTextEmbedding as VertexTextEmbedding,
|
|
2203
2230
|
type PipelineRetrieveResponse as PipelineRetrieveResponse,
|
|
2204
2231
|
type PipelineListResponse as PipelineListResponse,
|
|
2232
|
+
type PipelineListParams as PipelineListParams,
|
|
2205
2233
|
type PipelineCreateParams as PipelineCreateParams,
|
|
2206
|
-
type PipelineRetrieveParams as PipelineRetrieveParams,
|
|
2207
2234
|
type PipelineUpdateParams as PipelineUpdateParams,
|
|
2208
|
-
type PipelineListParams as PipelineListParams,
|
|
2209
2235
|
type PipelineGetStatusParams as PipelineGetStatusParams,
|
|
2210
2236
|
type PipelineUpsertParams as PipelineUpsertParams,
|
|
2237
|
+
type PipelineRetrieveParams as PipelineRetrieveParams,
|
|
2211
2238
|
};
|
|
2212
2239
|
|
|
2213
2240
|
export { Sync as Sync };
|
|
@@ -2217,10 +2244,10 @@ export declare namespace Pipelines {
|
|
|
2217
2244
|
type PipelineDataSource as PipelineDataSource,
|
|
2218
2245
|
type DataSourceGetDataSourcesResponse as DataSourceGetDataSourcesResponse,
|
|
2219
2246
|
type DataSourceUpdateDataSourcesResponse as DataSourceUpdateDataSourcesResponse,
|
|
2247
|
+
type DataSourceUpdateDataSourcesParams as DataSourceUpdateDataSourcesParams,
|
|
2220
2248
|
type DataSourceUpdateParams as DataSourceUpdateParams,
|
|
2221
2249
|
type DataSourceGetStatusParams as DataSourceGetStatusParams,
|
|
2222
2250
|
type DataSourceSyncParams as DataSourceSyncParams,
|
|
2223
|
-
type DataSourceUpdateDataSourcesParams as DataSourceUpdateDataSourcesParams,
|
|
2224
2251
|
};
|
|
2225
2252
|
|
|
2226
2253
|
export {
|
|
@@ -2229,10 +2256,10 @@ export declare namespace Pipelines {
|
|
|
2229
2256
|
type ImageGetPageScreenshotResponse as ImageGetPageScreenshotResponse,
|
|
2230
2257
|
type ImageListPageFiguresResponse as ImageListPageFiguresResponse,
|
|
2231
2258
|
type ImageListPageScreenshotsResponse as ImageListPageScreenshotsResponse,
|
|
2232
|
-
type
|
|
2259
|
+
type ImageListPageScreenshotsParams as ImageListPageScreenshotsParams,
|
|
2233
2260
|
type ImageGetPageScreenshotParams as ImageGetPageScreenshotParams,
|
|
2261
|
+
type ImageGetPageFigureParams as ImageGetPageFigureParams,
|
|
2234
2262
|
type ImageListPageFiguresParams as ImageListPageFiguresParams,
|
|
2235
|
-
type ImageListPageScreenshotsParams as ImageListPageScreenshotsParams,
|
|
2236
2263
|
};
|
|
2237
2264
|
|
|
2238
2265
|
export {
|
|
@@ -2241,12 +2268,12 @@ export declare namespace Pipelines {
|
|
|
2241
2268
|
type FileCreateResponse as FileCreateResponse,
|
|
2242
2269
|
type FileGetStatusCountsResponse as FileGetStatusCountsResponse,
|
|
2243
2270
|
type PipelineFilesPaginatedPipelineFiles as PipelineFilesPaginatedPipelineFiles,
|
|
2271
|
+
type FileGetStatusCountsParams as FileGetStatusCountsParams,
|
|
2272
|
+
type FileGetStatusParams as FileGetStatusParams,
|
|
2244
2273
|
type FileCreateParams as FileCreateParams,
|
|
2245
2274
|
type FileUpdateParams as FileUpdateParams,
|
|
2246
|
-
type FileListParams as FileListParams,
|
|
2247
2275
|
type FileDeleteParams as FileDeleteParams,
|
|
2248
|
-
type
|
|
2249
|
-
type FileGetStatusCountsParams as FileGetStatusCountsParams,
|
|
2276
|
+
type FileListParams as FileListParams,
|
|
2250
2277
|
};
|
|
2251
2278
|
|
|
2252
2279
|
export {
|
|
@@ -2267,11 +2294,11 @@ export declare namespace Pipelines {
|
|
|
2267
2294
|
type CloudDocumentsPaginatedCloudDocuments as CloudDocumentsPaginatedCloudDocuments,
|
|
2268
2295
|
type DocumentCreateParams as DocumentCreateParams,
|
|
2269
2296
|
type DocumentListParams as DocumentListParams,
|
|
2270
|
-
type DocumentDeleteParams as DocumentDeleteParams,
|
|
2271
2297
|
type DocumentGetParams as DocumentGetParams,
|
|
2272
|
-
type
|
|
2298
|
+
type DocumentDeleteParams as DocumentDeleteParams,
|
|
2273
2299
|
type DocumentGetStatusParams as DocumentGetStatusParams,
|
|
2274
2300
|
type DocumentSyncParams as DocumentSyncParams,
|
|
2301
|
+
type DocumentGetChunksParams as DocumentGetChunksParams,
|
|
2275
2302
|
type DocumentUpsertParams as DocumentUpsertParams,
|
|
2276
2303
|
};
|
|
2277
2304
|
}
|