@relevanceai/sdk 1.3.0 → 1.5.0
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/dist-cjs/generated/VectorApi.js +70 -6
- package/dist-es/generated/VectorApi.js +102 -6
- package/dist-types/generated/VectorApi.d.ts +42 -18
- package/dist-types/generated/_VectorApiSchemaTypes.d.ts +372 -37
- package/package.json +1 -1
- package/dist-cjs/generated/Discovery.js +0 -82
- package/dist-cjs/generated/Vector.js +0 -634
- package/dist-cjs/generated/_DiscoverySchemaTypes.js +0 -6
- package/dist-cjs/generated/_VectorSchemaTypes.js +0 -6
- package/dist-cjs/generated/clients.js +0 -82
- package/dist-es/generated/Discovery.js +0 -179
- package/dist-es/generated/Vector.js +0 -1007
- package/dist-es/generated/_DiscoverySchemaTypes.js +0 -5
- package/dist-es/generated/_VectorSchemaTypes.js +0 -5
- package/dist-es/generated/clients.js +0 -179
- package/dist-types/generated/Discovery.d.ts +0 -32
- package/dist-types/generated/Vector.d.ts +0 -239
- package/dist-types/generated/_DiscoverySchemaTypes.d.ts +0 -911
- package/dist-types/generated/_VectorSchemaTypes.d.ts +0 -5017
- package/dist-types/generated/clients.d.ts +0 -942
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DiscoveryClient = void 0;
|
|
4
|
-
const BaseClient_1 = require("../shared/BaseClient");
|
|
5
|
-
class DiscoveryClient extends BaseClient_1._GenericClient {
|
|
6
|
-
constructor(config) {
|
|
7
|
-
super({ ...config, service_name: 'Discovery' });
|
|
8
|
-
}
|
|
9
|
-
async Insert(input, options) {
|
|
10
|
-
return this.SendRequest({
|
|
11
|
-
input,
|
|
12
|
-
method: 'post',
|
|
13
|
-
path: '/datasets/{dataset_id}/documents/insert',
|
|
14
|
-
options
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
async BulkInsert(input, options) {
|
|
18
|
-
return this.SendRequest({
|
|
19
|
-
input,
|
|
20
|
-
method: 'post',
|
|
21
|
-
path: '/datasets/{dataset_id}/documents/bulk_insert',
|
|
22
|
-
options
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
async BlobAccessURLs(input, options) {
|
|
26
|
-
return this.SendRequest({
|
|
27
|
-
input,
|
|
28
|
-
method: 'post',
|
|
29
|
-
path: '/datasets/{dataset_id}/blob_access_urls',
|
|
30
|
-
options
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
async ParseBlob(input, options) {
|
|
34
|
-
return this.SendRequest({
|
|
35
|
-
input,
|
|
36
|
-
method: 'post',
|
|
37
|
-
path: '/datasets/{dataset_id}/parse_blob',
|
|
38
|
-
options
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
async Update(input, options) {
|
|
42
|
-
return this.SendRequest({
|
|
43
|
-
input,
|
|
44
|
-
method: 'post',
|
|
45
|
-
path: '/datasets/{dataset_id}/documents/update',
|
|
46
|
-
options
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
async BulkUpdate(input, options) {
|
|
50
|
-
return this.SendRequest({
|
|
51
|
-
input,
|
|
52
|
-
method: 'post',
|
|
53
|
-
path: '/datasets/{dataset_id}/documents/bulk_update',
|
|
54
|
-
options
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
async UpdateWhere(input, options) {
|
|
58
|
-
return this.SendRequest({
|
|
59
|
-
input,
|
|
60
|
-
method: 'post',
|
|
61
|
-
path: '/datasets/{dataset_id}/documents/update_where',
|
|
62
|
-
options
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
async SimpleSearchPost(input, options) {
|
|
66
|
-
return this.SendRequest({
|
|
67
|
-
input,
|
|
68
|
-
method: 'post',
|
|
69
|
-
path: '/datasets/{dataset_id}/simple_search',
|
|
70
|
-
options
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
async SimpleSearchGet(input, options) {
|
|
74
|
-
return this.SendRequest({
|
|
75
|
-
input,
|
|
76
|
-
method: 'get',
|
|
77
|
-
path: '/datasets/{dataset_id}/simple_search',
|
|
78
|
-
options
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.DiscoveryClient = DiscoveryClient;
|
|
@@ -1,634 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VectorClient = void 0;
|
|
4
|
-
const BaseClient_1 = require("../shared/BaseClient");
|
|
5
|
-
class VectorClient extends BaseClient_1._GenericClient {
|
|
6
|
-
constructor(config) {
|
|
7
|
-
super({ ...config, service_name: 'Vector' });
|
|
8
|
-
}
|
|
9
|
-
async requestreadapikeyapiadminrequestreadapikeypost(input, options) {
|
|
10
|
-
return this.SendRequest({
|
|
11
|
-
input,
|
|
12
|
-
method: 'post',
|
|
13
|
-
path: '/admin/request_read_api_key',
|
|
14
|
-
options
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
async copyforeigndatasetadmincopyforeigndatasetpost(input, options) {
|
|
18
|
-
return this.SendRequest({
|
|
19
|
-
input,
|
|
20
|
-
method: 'post',
|
|
21
|
-
path: '/admin/copy_foreign_dataset',
|
|
22
|
-
options
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
async createdatasetapidatasetscreatepost(input, options) {
|
|
26
|
-
return this.SendRequest({
|
|
27
|
-
input,
|
|
28
|
-
method: 'post',
|
|
29
|
-
path: '/datasets/create',
|
|
30
|
-
options
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
async inferschemaapidatasetsinferschemapost(input, options) {
|
|
34
|
-
return this.SendRequest({
|
|
35
|
-
input,
|
|
36
|
-
method: 'post',
|
|
37
|
-
path: '/datasets/infer_schema',
|
|
38
|
-
options
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
async schemaapidatasetsdatasetidschemaget(input, options) {
|
|
42
|
-
return this.SendRequest({
|
|
43
|
-
input,
|
|
44
|
-
method: 'get',
|
|
45
|
-
path: '/datasets/{dataset_id}/schema',
|
|
46
|
-
options
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
async deletedatasetapidatasetsdeletepost(input, options) {
|
|
50
|
-
return this.SendRequest({
|
|
51
|
-
input,
|
|
52
|
-
method: 'post',
|
|
53
|
-
path: '/datasets/delete',
|
|
54
|
-
options
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
async listdatasetsapidatasetslistget(input, options) {
|
|
58
|
-
return this.SendRequest({
|
|
59
|
-
input,
|
|
60
|
-
method: 'get',
|
|
61
|
-
path: '/datasets/list',
|
|
62
|
-
options
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
async listcollectionsapidatasetslistpost(input, options) {
|
|
66
|
-
return this.SendRequest({
|
|
67
|
-
input,
|
|
68
|
-
method: 'post',
|
|
69
|
-
path: '/datasets/list',
|
|
70
|
-
options
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
async searchdatasetsapidatasetssearchget(input, options) {
|
|
74
|
-
return this.SendRequest({
|
|
75
|
-
input,
|
|
76
|
-
method: 'get',
|
|
77
|
-
path: '/datasets/search',
|
|
78
|
-
options
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
async facetsapidatasetsdatasetidfacetspost(input, options) {
|
|
82
|
-
return this.SendRequest({
|
|
83
|
-
input,
|
|
84
|
-
method: 'post',
|
|
85
|
-
path: '/datasets/{dataset_id}/facets',
|
|
86
|
-
options
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
async clonedatasetapidatasetsdatasetidclonepost(input, options) {
|
|
90
|
-
return this.SendRequest({
|
|
91
|
-
input,
|
|
92
|
-
method: 'post',
|
|
93
|
-
path: '/datasets/{dataset_id}/clone',
|
|
94
|
-
options
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
async storeencoderspipelineapidatasetsdatasetidstoreencoderspipelinepost(input, options) {
|
|
98
|
-
return this.SendRequest({
|
|
99
|
-
input,
|
|
100
|
-
method: 'post',
|
|
101
|
-
path: '/datasets/{dataset_id}/store_encoders_pipeline',
|
|
102
|
-
options
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
async datasetvectormappingsapidatasetsdatasetidvectormappingsget(input, options) {
|
|
106
|
-
return this.SendRequest({
|
|
107
|
-
input,
|
|
108
|
-
method: 'get',
|
|
109
|
-
path: '/datasets/{dataset_id}/vector_mappings',
|
|
110
|
-
options
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
async datasetvectormappingsapipostdatasetsdatasetidvectormappingspost(input, options) {
|
|
114
|
-
return this.SendRequest({
|
|
115
|
-
input,
|
|
116
|
-
method: 'post',
|
|
117
|
-
path: '/datasets/{dataset_id}/vector_mappings',
|
|
118
|
-
options
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
async insertapidatasetsdatasetiddocumentsinsertpost(input, options) {
|
|
122
|
-
return this.SendRequest({
|
|
123
|
-
input,
|
|
124
|
-
method: 'post',
|
|
125
|
-
path: '/datasets/{dataset_id}/documents/insert',
|
|
126
|
-
options
|
|
127
|
-
});
|
|
128
|
-
}
|
|
129
|
-
async bulkinsertapidatasetsdatasetiddocumentsbulkinsertpost(input, options) {
|
|
130
|
-
return this.SendRequest({
|
|
131
|
-
input,
|
|
132
|
-
method: 'post',
|
|
133
|
-
path: '/datasets/{dataset_id}/documents/bulk_insert',
|
|
134
|
-
options
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
async idlookupapidatasetsdatasetiddocumentsgetget(input, options) {
|
|
138
|
-
return this.SendRequest({
|
|
139
|
-
input,
|
|
140
|
-
method: 'get',
|
|
141
|
-
path: '/datasets/{dataset_id}/documents/get',
|
|
142
|
-
options
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
async bulkidlookupapidatasetsdatasetiddocumentsbulkgetpost(input, options) {
|
|
146
|
-
return this.SendRequest({
|
|
147
|
-
input,
|
|
148
|
-
method: 'post',
|
|
149
|
-
path: '/datasets/{dataset_id}/documents/bulk_get',
|
|
150
|
-
options
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
async retrievedocumentsapidatasetsdatasetiddocumentslistget(input, options) {
|
|
154
|
-
return this.SendRequest({
|
|
155
|
-
input,
|
|
156
|
-
method: 'get',
|
|
157
|
-
path: '/datasets/{dataset_id}/documents/list',
|
|
158
|
-
options
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
async retrievedocumentswithfiltersapidatasetsdatasetiddocumentsgetwherepost(input, options) {
|
|
162
|
-
return this.SendRequest({
|
|
163
|
-
input,
|
|
164
|
-
method: 'post',
|
|
165
|
-
path: '/datasets/{dataset_id}/documents/get_where',
|
|
166
|
-
options
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
async retrievedocumentswithfiltersapidatasetsdatasetiddocumentspaginatepost(input, options) {
|
|
170
|
-
return this.SendRequest({
|
|
171
|
-
input,
|
|
172
|
-
method: 'post',
|
|
173
|
-
path: '/datasets/{dataset_id}/documents/paginate',
|
|
174
|
-
options
|
|
175
|
-
});
|
|
176
|
-
}
|
|
177
|
-
async bulkmissingidapidatasetsdatasetiddocumentsgetmissingget(input, options) {
|
|
178
|
-
return this.SendRequest({
|
|
179
|
-
input,
|
|
180
|
-
method: 'get',
|
|
181
|
-
path: '/datasets/{dataset_id}/documents/get_missing',
|
|
182
|
-
options
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
async updatedocumentapidatasetsdatasetiddocumentsupdatepost(input, options) {
|
|
186
|
-
return this.SendRequest({
|
|
187
|
-
input,
|
|
188
|
-
method: 'post',
|
|
189
|
-
path: '/datasets/{dataset_id}/documents/update',
|
|
190
|
-
options
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
async bulkupdatedocumentsapidatasetsdatasetiddocumentsbulkupdatepost(input, options) {
|
|
194
|
-
return this.SendRequest({
|
|
195
|
-
input,
|
|
196
|
-
method: 'post',
|
|
197
|
-
path: '/datasets/{dataset_id}/documents/bulk_update',
|
|
198
|
-
options
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
async deleteapidatasetsdatasetiddocumentsdeletepost(input, options) {
|
|
202
|
-
return this.SendRequest({
|
|
203
|
-
input,
|
|
204
|
-
method: 'post',
|
|
205
|
-
path: '/datasets/{dataset_id}/documents/delete',
|
|
206
|
-
options
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
async bulkdeleteapidatasetsdatasetiddocumentsbulkdeletepost(input, options) {
|
|
210
|
-
return this.SendRequest({
|
|
211
|
-
input,
|
|
212
|
-
method: 'post',
|
|
213
|
-
path: '/datasets/{dataset_id}/documents/bulk_delete',
|
|
214
|
-
options
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
async deletefieldsapidatasetsdatasetiddocumentsdeletefieldspost(input, options) {
|
|
218
|
-
return this.SendRequest({
|
|
219
|
-
input,
|
|
220
|
-
method: 'post',
|
|
221
|
-
path: '/datasets/{dataset_id}/documents/delete_fields',
|
|
222
|
-
options
|
|
223
|
-
});
|
|
224
|
-
}
|
|
225
|
-
async updatebyfiltersapidatasetsdatasetiddocumentsupdatewherepost(input, options) {
|
|
226
|
-
return this.SendRequest({
|
|
227
|
-
input,
|
|
228
|
-
method: 'post',
|
|
229
|
-
path: '/datasets/{dataset_id}/documents/update_where',
|
|
230
|
-
options
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
async deletebyfiltersapidatasetsdatasetiddocumentsdeletewherepost(input, options) {
|
|
234
|
-
return this.SendRequest({
|
|
235
|
-
input,
|
|
236
|
-
method: 'post',
|
|
237
|
-
path: '/datasets/{dataset_id}/documents/delete_where',
|
|
238
|
-
options
|
|
239
|
-
});
|
|
240
|
-
}
|
|
241
|
-
async collectionmetadataapidatasetsdatasetidmetadataget(input, options) {
|
|
242
|
-
return this.SendRequest({
|
|
243
|
-
input,
|
|
244
|
-
method: 'get',
|
|
245
|
-
path: '/datasets/{dataset_id}/metadata',
|
|
246
|
-
options
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
async postcollectionmetadataapidatasetsdatasetidmetadatapost(input, options) {
|
|
250
|
-
return this.SendRequest({
|
|
251
|
-
input,
|
|
252
|
-
method: 'post',
|
|
253
|
-
path: '/datasets/{dataset_id}/metadata',
|
|
254
|
-
options
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
async datasetschemastatsapidatasetsdatasetidmonitorstatsget(input, options) {
|
|
258
|
-
return this.SendRequest({
|
|
259
|
-
input,
|
|
260
|
-
method: 'get',
|
|
261
|
-
path: '/datasets/{dataset_id}/monitor/stats',
|
|
262
|
-
options
|
|
263
|
-
});
|
|
264
|
-
}
|
|
265
|
-
async datasetvectorhealthapidatasetsdatasetidmonitorhealthget(input, options) {
|
|
266
|
-
return this.SendRequest({
|
|
267
|
-
input,
|
|
268
|
-
method: 'get',
|
|
269
|
-
path: '/datasets/{dataset_id}/monitor/health',
|
|
270
|
-
options
|
|
271
|
-
});
|
|
272
|
-
}
|
|
273
|
-
async aggregatelogsapidatasetsdatasetidmonitorusagepost(input, options) {
|
|
274
|
-
return this.SendRequest({
|
|
275
|
-
input,
|
|
276
|
-
method: 'post',
|
|
277
|
-
path: '/datasets/{dataset_id}/monitor/usage',
|
|
278
|
-
options
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
async tasksapidatasetsdatasetidtaskscreatepost(input, options) {
|
|
282
|
-
return this.SendRequest({
|
|
283
|
-
input,
|
|
284
|
-
method: 'post',
|
|
285
|
-
path: '/datasets/{dataset_id}/tasks/create',
|
|
286
|
-
options
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
async listcollectionjobsapidatasetsdatasetidtaskslistget(input, options) {
|
|
290
|
-
return this.SendRequest({
|
|
291
|
-
input,
|
|
292
|
-
method: 'get',
|
|
293
|
-
path: '/datasets/{dataset_id}/tasks/list',
|
|
294
|
-
options
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
async tasksstatusapidatasetsdatasetidtaskstaskidstatusget(input, options) {
|
|
298
|
-
return this.SendRequest({
|
|
299
|
-
input,
|
|
300
|
-
method: 'get',
|
|
301
|
-
path: '/datasets/{dataset_id}/tasks/{task_id}/status',
|
|
302
|
-
options
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
async vectorsearchapiservicessearchvectorpost(input, options) {
|
|
306
|
-
return this.SendRequest({
|
|
307
|
-
input,
|
|
308
|
-
method: 'post',
|
|
309
|
-
path: '/services/search/vector',
|
|
310
|
-
options
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
async traditionalsearchapiservicessearchtraditionalpost(input, options) {
|
|
314
|
-
return this.SendRequest({
|
|
315
|
-
input,
|
|
316
|
-
method: 'post',
|
|
317
|
-
path: '/services/search/traditional',
|
|
318
|
-
options
|
|
319
|
-
});
|
|
320
|
-
}
|
|
321
|
-
async hybridsearchapiservicessearchhybridpost(input, options) {
|
|
322
|
-
return this.SendRequest({
|
|
323
|
-
input,
|
|
324
|
-
method: 'post',
|
|
325
|
-
path: '/services/search/hybrid',
|
|
326
|
-
options
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
async hybridsearchapiservicessearchsemanticpost(input, options) {
|
|
330
|
-
return this.SendRequest({
|
|
331
|
-
input,
|
|
332
|
-
method: 'post',
|
|
333
|
-
path: '/services/search/semantic',
|
|
334
|
-
options
|
|
335
|
-
});
|
|
336
|
-
}
|
|
337
|
-
async chunksearchapiservicessearchchunkpost(input, options) {
|
|
338
|
-
return this.SendRequest({
|
|
339
|
-
input,
|
|
340
|
-
method: 'post',
|
|
341
|
-
path: '/services/search/chunk',
|
|
342
|
-
options
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
async advancedmultistepchunksearchapiservicessearchmultistepchunkpost(input, options) {
|
|
346
|
-
return this.SendRequest({
|
|
347
|
-
input,
|
|
348
|
-
method: 'post',
|
|
349
|
-
path: '/services/search/multistep_chunk',
|
|
350
|
-
options
|
|
351
|
-
});
|
|
352
|
-
}
|
|
353
|
-
async advancedchunksearchapiservicessearchadvancedchunkpost(input, options) {
|
|
354
|
-
return this.SendRequest({
|
|
355
|
-
input,
|
|
356
|
-
method: 'post',
|
|
357
|
-
path: '/services/search/advanced_chunk',
|
|
358
|
-
options
|
|
359
|
-
});
|
|
360
|
-
}
|
|
361
|
-
async advancedmultistepchunksearchapiservicessearchadvancedmultistepchunkpost(input, options) {
|
|
362
|
-
return this.SendRequest({
|
|
363
|
-
input,
|
|
364
|
-
method: 'post',
|
|
365
|
-
path: '/services/search/advanced_multistep_chunk',
|
|
366
|
-
options
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
async vectorsearchapiservicessearchdiversitypost(input, options) {
|
|
370
|
-
return this.SendRequest({
|
|
371
|
-
input,
|
|
372
|
-
method: 'post',
|
|
373
|
-
path: '/services/search/diversity',
|
|
374
|
-
options
|
|
375
|
-
});
|
|
376
|
-
}
|
|
377
|
-
async vectorrecommendapiservicesrecommendvectorpost(input, options) {
|
|
378
|
-
return this.SendRequest({
|
|
379
|
-
input,
|
|
380
|
-
method: 'post',
|
|
381
|
-
path: '/services/recommend/vector',
|
|
382
|
-
options
|
|
383
|
-
});
|
|
384
|
-
}
|
|
385
|
-
async vectordiversityrecommendapiservicesrecommenddiversitypost(input, options) {
|
|
386
|
-
return this.SendRequest({
|
|
387
|
-
input,
|
|
388
|
-
method: 'post',
|
|
389
|
-
path: '/services/recommend/diversity',
|
|
390
|
-
options
|
|
391
|
-
});
|
|
392
|
-
}
|
|
393
|
-
async aggregatev2apiservicesaggregateaggregatepost(input, options) {
|
|
394
|
-
return this.SendRequest({
|
|
395
|
-
input,
|
|
396
|
-
method: 'post',
|
|
397
|
-
path: '/services/aggregate/aggregate',
|
|
398
|
-
options
|
|
399
|
-
});
|
|
400
|
-
}
|
|
401
|
-
async clustercentroidsapiservicesclustercentroidslistget(input, options) {
|
|
402
|
-
return this.SendRequest({
|
|
403
|
-
input,
|
|
404
|
-
method: 'get',
|
|
405
|
-
path: '/services/cluster/centroids/list',
|
|
406
|
-
options
|
|
407
|
-
});
|
|
408
|
-
}
|
|
409
|
-
async clustercentroidsgetapiservicesclustercentroidsgetget(input, options) {
|
|
410
|
-
return this.SendRequest({
|
|
411
|
-
input,
|
|
412
|
-
method: 'get',
|
|
413
|
-
path: '/services/cluster/centroids/get',
|
|
414
|
-
options
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
async insertclustercentroidsapiservicesclustercentroidsinsertpost(input, options) {
|
|
418
|
-
return this.SendRequest({
|
|
419
|
-
input,
|
|
420
|
-
method: 'post',
|
|
421
|
-
path: '/services/cluster/centroids/insert',
|
|
422
|
-
options
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
async clustercentroidsgetapiservicesclustercentroidsdocumentspost(input, options) {
|
|
426
|
-
return this.SendRequest({
|
|
427
|
-
input,
|
|
428
|
-
method: 'post',
|
|
429
|
-
path: '/services/cluster/centroids/documents',
|
|
430
|
-
options
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
async clusteraggregateapiservicesclusteraggregatepost(input, options) {
|
|
434
|
-
return this.SendRequest({
|
|
435
|
-
input,
|
|
436
|
-
method: 'post',
|
|
437
|
-
path: '/services/cluster/aggregate',
|
|
438
|
-
options
|
|
439
|
-
});
|
|
440
|
-
}
|
|
441
|
-
async clusterfacetsapiservicesclusterfacetsget(input, options) {
|
|
442
|
-
return this.SendRequest({
|
|
443
|
-
input,
|
|
444
|
-
method: 'get',
|
|
445
|
-
path: '/services/cluster/facets',
|
|
446
|
-
options
|
|
447
|
-
});
|
|
448
|
-
}
|
|
449
|
-
async tagapiservicestaggertagpost(input, options) {
|
|
450
|
-
return this.SendRequest({
|
|
451
|
-
input,
|
|
452
|
-
method: 'post',
|
|
453
|
-
path: '/services/tagger/tag',
|
|
454
|
-
options
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
async clusterandtagapiservicestaggerdiversitypost(input, options) {
|
|
458
|
-
return this.SendRequest({
|
|
459
|
-
input,
|
|
460
|
-
method: 'post',
|
|
461
|
-
path: '/services/tagger/diversity',
|
|
462
|
-
options
|
|
463
|
-
});
|
|
464
|
-
}
|
|
465
|
-
async vectorrecommendapiservicesdocumentdiffpost(input, options) {
|
|
466
|
-
return this.SendRequest({
|
|
467
|
-
input,
|
|
468
|
-
method: 'post',
|
|
469
|
-
path: '/services/document_diff',
|
|
470
|
-
options
|
|
471
|
-
});
|
|
472
|
-
}
|
|
473
|
-
async predictknnregressionapiservicespredictionregressionknnpost(input, options) {
|
|
474
|
-
return this.SendRequest({
|
|
475
|
-
input,
|
|
476
|
-
method: 'post',
|
|
477
|
-
path: '/services/prediction/regression/knn',
|
|
478
|
-
options
|
|
479
|
-
});
|
|
480
|
-
}
|
|
481
|
-
async predictknnregressionfromsearchresultsapiservicespredictionregressionknnfromresultspost(input, options) {
|
|
482
|
-
return this.SendRequest({
|
|
483
|
-
input,
|
|
484
|
-
method: 'post',
|
|
485
|
-
path: '/services/prediction/regression/knn_from_results',
|
|
486
|
-
options
|
|
487
|
-
});
|
|
488
|
-
}
|
|
489
|
-
async encodenumericfieldsapiservicesencodersnumericfieldspost(input, options) {
|
|
490
|
-
return this.SendRequest({
|
|
491
|
-
input,
|
|
492
|
-
method: 'post',
|
|
493
|
-
path: '/services/encoders/numeric_fields',
|
|
494
|
-
options
|
|
495
|
-
});
|
|
496
|
-
}
|
|
497
|
-
async encodecategoriesapiservicesencoderscategoriespost(input, options) {
|
|
498
|
-
return this.SendRequest({
|
|
499
|
-
input,
|
|
500
|
-
method: 'post',
|
|
501
|
-
path: '/services/encoders/categories',
|
|
502
|
-
options
|
|
503
|
-
});
|
|
504
|
-
}
|
|
505
|
-
async encodedictionaryapiservicesencodersdictionarypost(input, options) {
|
|
506
|
-
return this.SendRequest({
|
|
507
|
-
input,
|
|
508
|
-
method: 'post',
|
|
509
|
-
path: '/services/encoders/dictionary',
|
|
510
|
-
options
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
async encodetextapiservicesencoderstextget(input, options) {
|
|
514
|
-
return this.SendRequest({
|
|
515
|
-
input,
|
|
516
|
-
method: 'get',
|
|
517
|
-
path: '/services/encoders/text',
|
|
518
|
-
options
|
|
519
|
-
});
|
|
520
|
-
}
|
|
521
|
-
async encodetextapiservicesencodersmultitextget(input, options) {
|
|
522
|
-
return this.SendRequest({
|
|
523
|
-
input,
|
|
524
|
-
method: 'get',
|
|
525
|
-
path: '/services/encoders/multi_text',
|
|
526
|
-
options
|
|
527
|
-
});
|
|
528
|
-
}
|
|
529
|
-
async encodeimageapiservicesencodersimagepost(input, options) {
|
|
530
|
-
return this.SendRequest({
|
|
531
|
-
input,
|
|
532
|
-
method: 'post',
|
|
533
|
-
path: '/services/encoders/image',
|
|
534
|
-
options
|
|
535
|
-
});
|
|
536
|
-
}
|
|
537
|
-
async encodetextimageapiservicesencoderstextimageget(input, options) {
|
|
538
|
-
return this.SendRequest({
|
|
539
|
-
input,
|
|
540
|
-
method: 'get',
|
|
541
|
-
path: '/services/encoders/textimage',
|
|
542
|
-
options
|
|
543
|
-
});
|
|
544
|
-
}
|
|
545
|
-
async encodeimagetextapiservicesencodersimagetextget(input, options) {
|
|
546
|
-
return this.SendRequest({
|
|
547
|
-
input,
|
|
548
|
-
method: 'get',
|
|
549
|
-
path: '/services/encoders/imagetext',
|
|
550
|
-
options
|
|
551
|
-
});
|
|
552
|
-
}
|
|
553
|
-
async retrievedocumentsapiservicesencodersencodepost(input, options) {
|
|
554
|
-
return this.SendRequest({
|
|
555
|
-
input,
|
|
556
|
-
method: 'post',
|
|
557
|
-
path: '/services/encoders/encode',
|
|
558
|
-
options
|
|
559
|
-
});
|
|
560
|
-
}
|
|
561
|
-
async retrievedocumentsapiservicesencodersbulkencodepost(input, options) {
|
|
562
|
-
return this.SendRequest({
|
|
563
|
-
input,
|
|
564
|
-
method: 'post',
|
|
565
|
-
path: '/services/encoders/bulk_encode',
|
|
566
|
-
options
|
|
567
|
-
});
|
|
568
|
-
}
|
|
569
|
-
async wordcloudsapiserviceswordcloudswordcloudspost(input, options) {
|
|
570
|
-
return this.SendRequest({
|
|
571
|
-
input,
|
|
572
|
-
method: 'post',
|
|
573
|
-
path: '/services/wordclouds/wordclouds',
|
|
574
|
-
options
|
|
575
|
-
});
|
|
576
|
-
}
|
|
577
|
-
async deployablecreateapideployablescreatepost(input, options) {
|
|
578
|
-
return this.SendRequest({
|
|
579
|
-
input,
|
|
580
|
-
method: 'post',
|
|
581
|
-
path: '/deployables/create',
|
|
582
|
-
options
|
|
583
|
-
});
|
|
584
|
-
}
|
|
585
|
-
async deployableupdateshareableapideployablesdeployableidsharepost(input, options) {
|
|
586
|
-
return this.SendRequest({
|
|
587
|
-
input,
|
|
588
|
-
method: 'post',
|
|
589
|
-
path: '/deployables/{deployable_id}/share',
|
|
590
|
-
options
|
|
591
|
-
});
|
|
592
|
-
}
|
|
593
|
-
async deployableupdateprivateapideployablesdeployableidprivatepost(input, options) {
|
|
594
|
-
return this.SendRequest({
|
|
595
|
-
input,
|
|
596
|
-
method: 'post',
|
|
597
|
-
path: '/deployables/{deployable_id}/private',
|
|
598
|
-
options
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
async deployableupdateapideployablesdeployableidupdatepost(input, options) {
|
|
602
|
-
return this.SendRequest({
|
|
603
|
-
input,
|
|
604
|
-
method: 'post',
|
|
605
|
-
path: '/deployables/{deployable_id}/update',
|
|
606
|
-
options
|
|
607
|
-
});
|
|
608
|
-
}
|
|
609
|
-
async deployablegetapideployablesdeployableidgetget(input, options) {
|
|
610
|
-
return this.SendRequest({
|
|
611
|
-
input,
|
|
612
|
-
method: 'get',
|
|
613
|
-
path: '/deployables/{deployable_id}/get',
|
|
614
|
-
options
|
|
615
|
-
});
|
|
616
|
-
}
|
|
617
|
-
async deployabledeleteapideployablesdeletepost(input, options) {
|
|
618
|
-
return this.SendRequest({
|
|
619
|
-
input,
|
|
620
|
-
method: 'post',
|
|
621
|
-
path: '/deployables/delete',
|
|
622
|
-
options
|
|
623
|
-
});
|
|
624
|
-
}
|
|
625
|
-
async deployablelistapideployableslistget(input, options) {
|
|
626
|
-
return this.SendRequest({
|
|
627
|
-
input,
|
|
628
|
-
method: 'get',
|
|
629
|
-
path: '/deployables/list',
|
|
630
|
-
options
|
|
631
|
-
});
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
exports.VectorClient = VectorClient;
|