chromadb 3.2.2 → 3.3.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/dist/chromadb.d.ts +45 -8
- package/dist/chromadb.legacy-esm.js +404 -177
- package/dist/chromadb.mjs +404 -177
- package/dist/chromadb.mjs.map +1 -1
- package/dist/cjs/chromadb.cjs +404 -177
- package/dist/cjs/chromadb.cjs.map +1 -1
- package/dist/cjs/chromadb.d.cts +45 -8
- package/package.json +6 -6
- package/src/admin-client.ts +7 -7
- package/src/api/sdk.gen.ts +360 -135
- package/src/api/types.gen.ts +157 -58
- package/src/chroma-client.ts +18 -13
- package/src/collection.ts +18 -18
- package/src/execution/expression/key.ts +27 -6
- package/src/schema.ts +81 -56
- package/src/types.ts +28 -5
- package/src/utils.ts +72 -17
package/src/api/types.gen.ts
CHANGED
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Payload for adding records to a collection.
|
|
5
|
+
*
|
|
6
|
+
* Records are added in batches. All arrays must have the same length, with each index
|
|
7
|
+
* representing a single record. For example, `ids[0]`, `embeddings[0]`, `documents[0]`, etc.
|
|
8
|
+
* all belong to the same record.
|
|
9
|
+
*/
|
|
3
10
|
export type AddCollectionRecordsPayload = {
|
|
4
11
|
documents?: Array<string | null> | null;
|
|
12
|
+
/**
|
|
13
|
+
* Embeddings for each record. Can contain the raw f32 arrays or base64 encoded strings.
|
|
14
|
+
*/
|
|
5
15
|
embeddings: EmbeddingsPayload;
|
|
16
|
+
/**
|
|
17
|
+
* Unique identifiers for each record.
|
|
18
|
+
*/
|
|
6
19
|
ids: Array<string>;
|
|
7
20
|
metadatas?: Array<null | HashMap> | null;
|
|
8
21
|
uris?: Array<string | null> | null;
|
|
@@ -22,7 +35,7 @@ export type AttachFunctionRequest = {
|
|
|
22
35
|
export type AttachFunctionResponse = {
|
|
23
36
|
attached_function: AttachedFunctionInfo;
|
|
24
37
|
/**
|
|
25
|
-
* True if newly created, false if already existed (idempotent request)
|
|
38
|
+
* True if newly created, false if already existed (idempotent request).
|
|
26
39
|
*/
|
|
27
40
|
created: boolean;
|
|
28
41
|
};
|
|
@@ -75,8 +88,17 @@ export type AttachedFunctionApiResponse = {
|
|
|
75
88
|
};
|
|
76
89
|
|
|
77
90
|
export type AttachedFunctionInfo = {
|
|
91
|
+
/**
|
|
92
|
+
* Name of the function (e.g., "record_counter", "statistics").
|
|
93
|
+
*/
|
|
78
94
|
function_name: string;
|
|
95
|
+
/**
|
|
96
|
+
* Unique identifier for the attached function.
|
|
97
|
+
*/
|
|
79
98
|
id: string;
|
|
99
|
+
/**
|
|
100
|
+
* Human-readable name for the attached function instance.
|
|
101
|
+
*/
|
|
80
102
|
name: string;
|
|
81
103
|
};
|
|
82
104
|
|
|
@@ -125,9 +147,6 @@ export type CollectionConfiguration = {
|
|
|
125
147
|
spann?: null | SpannConfiguration;
|
|
126
148
|
};
|
|
127
149
|
|
|
128
|
-
/**
|
|
129
|
-
* CollectionUuid is a wrapper around Uuid to provide a type for the collection id.
|
|
130
|
-
*/
|
|
131
150
|
export type CollectionUuid = string;
|
|
132
151
|
|
|
133
152
|
export type CreateCollectionPayload = {
|
|
@@ -160,6 +179,12 @@ export type Database = {
|
|
|
160
179
|
tenant: string;
|
|
161
180
|
};
|
|
162
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Payload for deleting records from a collection.
|
|
184
|
+
*
|
|
185
|
+
* Records can be deleted by their IDs or by a metadata filter. At least one of `ids` or `where`
|
|
186
|
+
* must be provided.
|
|
187
|
+
*/
|
|
163
188
|
export type DeleteCollectionRecordsPayload = RawWhereFields & {
|
|
164
189
|
ids?: Array<string> | null;
|
|
165
190
|
};
|
|
@@ -174,7 +199,7 @@ export type DeleteDatabaseResponse = {
|
|
|
174
199
|
|
|
175
200
|
export type DetachFunctionRequest = {
|
|
176
201
|
/**
|
|
177
|
-
* Whether to delete the output collection as well
|
|
202
|
+
* Whether to delete the output collection as well when detaching the function.
|
|
178
203
|
*/
|
|
179
204
|
delete_output?: boolean;
|
|
180
205
|
};
|
|
@@ -243,6 +268,10 @@ export type GetAttachedFunctionResponse = {
|
|
|
243
268
|
attached_function: AttachedFunctionApiResponse;
|
|
244
269
|
};
|
|
245
270
|
|
|
271
|
+
/**
|
|
272
|
+
* Records can be retrieved by their IDs or by a metadata filter. At least one of `ids` or `where`
|
|
273
|
+
* must be provided. Use `include` to specify which fields to return in the response.
|
|
274
|
+
*/
|
|
246
275
|
export type GetRequestPayload = RawWhereFields & {
|
|
247
276
|
ids?: Array<string> | null;
|
|
248
277
|
include?: IncludeList;
|
|
@@ -250,10 +279,17 @@ export type GetRequestPayload = RawWhereFields & {
|
|
|
250
279
|
offset?: number | null;
|
|
251
280
|
};
|
|
252
281
|
|
|
282
|
+
/**
|
|
283
|
+
* All arrays have the same length, with each index representing a single record.
|
|
284
|
+
* Only fields specified in the request's `include` parameter are populated.
|
|
285
|
+
*/
|
|
253
286
|
export type GetResponse = {
|
|
254
287
|
documents?: Array<string | null> | null;
|
|
255
288
|
embeddings?: Array<Array<number>> | null;
|
|
256
289
|
ids: Array<string>;
|
|
290
|
+
/**
|
|
291
|
+
* List of fields that were included in this response.
|
|
292
|
+
*/
|
|
257
293
|
include: Array<Include>;
|
|
258
294
|
metadatas?: Array<null | HashMap> | null;
|
|
259
295
|
uris?: Array<string | null> | null;
|
|
@@ -271,7 +307,7 @@ export type GetUserIdentityResponse = {
|
|
|
271
307
|
};
|
|
272
308
|
|
|
273
309
|
export type HashMap = {
|
|
274
|
-
[key: string]: boolean | number | string | SparseVector | null;
|
|
310
|
+
[key: string]: boolean | number | string | SparseVector | Array<boolean> | Array<number> | Array<string> | null;
|
|
275
311
|
};
|
|
276
312
|
|
|
277
313
|
export type HeartbeatResponse = {
|
|
@@ -300,6 +336,9 @@ export type HnswIndexConfig = {
|
|
|
300
336
|
sync_threshold?: number | null;
|
|
301
337
|
};
|
|
302
338
|
|
|
339
|
+
/**
|
|
340
|
+
* Use this enum to specify which fields should be returned when retrieving records.
|
|
341
|
+
*/
|
|
303
342
|
export type Include = 'distances' | 'documents' | 'embeddings' | 'metadatas' | 'uris';
|
|
304
343
|
|
|
305
344
|
export type IncludeList = Array<Include>;
|
|
@@ -397,6 +436,11 @@ export type Key = 'Document' | 'Embedding' | 'Metadata' | 'Score' | {
|
|
|
397
436
|
MetadataField: string;
|
|
398
437
|
};
|
|
399
438
|
|
|
439
|
+
/**
|
|
440
|
+
* Quantization implementation for SPANN vector index.
|
|
441
|
+
*/
|
|
442
|
+
export type Quantization = 'none' | 'four_bit_rabit_q_with_u_search';
|
|
443
|
+
|
|
400
444
|
export type QueryRequestPayload = RawWhereFields & {
|
|
401
445
|
ids?: Array<string> | null;
|
|
402
446
|
include?: IncludeList;
|
|
@@ -477,8 +521,7 @@ export type SearchPayload = {
|
|
|
477
521
|
|
|
478
522
|
export type SearchRequestPayload = {
|
|
479
523
|
/**
|
|
480
|
-
* Specifies
|
|
481
|
-
* Defaults to IndexAndWal (full consistency).
|
|
524
|
+
* Specifies whether to include unindexed data in the search results.
|
|
482
525
|
*/
|
|
483
526
|
read_level?: ReadLevel;
|
|
484
527
|
searches: Array<SearchPayload>;
|
|
@@ -511,6 +554,7 @@ export type SpannConfiguration = {
|
|
|
511
554
|
* Configuration for SPANN vector index algorithm parameters
|
|
512
555
|
*/
|
|
513
556
|
export type SpannIndexConfig = {
|
|
557
|
+
center_drift_threshold?: number | null;
|
|
514
558
|
ef_construction?: number | null;
|
|
515
559
|
ef_search?: number | null;
|
|
516
560
|
initial_lambda?: number | null;
|
|
@@ -519,6 +563,10 @@ export type SpannIndexConfig = {
|
|
|
519
563
|
nreplica_count?: number | null;
|
|
520
564
|
num_centers_to_merge_to?: number | null;
|
|
521
565
|
num_samples_kmeans?: number | null;
|
|
566
|
+
/**
|
|
567
|
+
* Quantization implementation for vector search (cloud-only feature)
|
|
568
|
+
*/
|
|
569
|
+
quantize?: Quantization;
|
|
522
570
|
reassign_neighbor_count?: number | null;
|
|
523
571
|
search_nprobe?: number | null;
|
|
524
572
|
search_rng_epsilon?: number | null;
|
|
@@ -605,6 +653,13 @@ export type UpdateCollectionPayload = {
|
|
|
605
653
|
new_name?: string | null;
|
|
606
654
|
};
|
|
607
655
|
|
|
656
|
+
/**
|
|
657
|
+
* Payload for updating existing records in a collection.
|
|
658
|
+
*
|
|
659
|
+
* Records are added in batches. All arrays must have the same length, with each index
|
|
660
|
+
* representing a single record. For example, `ids[0]`, `embeddings[0]`, `documents[0]`, etc.
|
|
661
|
+
* all belong to the same record.
|
|
662
|
+
*/
|
|
608
663
|
export type UpdateCollectionRecordsPayload = {
|
|
609
664
|
documents?: Array<string | null> | null;
|
|
610
665
|
embeddings?: null | UpdateEmbeddingsPayload;
|
|
@@ -645,8 +700,19 @@ export type UpdateTenantResponse = {
|
|
|
645
700
|
[key: string]: unknown;
|
|
646
701
|
};
|
|
647
702
|
|
|
703
|
+
/**
|
|
704
|
+
* Payload for upserting records in a collection.
|
|
705
|
+
*
|
|
706
|
+
* Upsert creates records if they don't exist, or updates them if they do.
|
|
707
|
+
* Records are added in batches. All arrays must have the same length, with each index
|
|
708
|
+
* representing a single record. For example, `ids[0]`, `embeddings[0]`, `documents[0]`, etc.
|
|
709
|
+
* all belong to the same record.
|
|
710
|
+
*/
|
|
648
711
|
export type UpsertCollectionRecordsPayload = {
|
|
649
712
|
documents?: Array<string | null> | null;
|
|
713
|
+
/**
|
|
714
|
+
* Embeddings for each record. Can contain the raw f32 arrays or base64 encoded strings.
|
|
715
|
+
*/
|
|
650
716
|
embeddings: EmbeddingsPayload;
|
|
651
717
|
ids: Array<string>;
|
|
652
718
|
metadatas?: Array<null | HashMap> | null;
|
|
@@ -719,7 +785,7 @@ export type GetUserIdentityError = GetUserIdentityErrors[keyof GetUserIdentityEr
|
|
|
719
785
|
|
|
720
786
|
export type GetUserIdentityResponses = {
|
|
721
787
|
/**
|
|
722
|
-
*
|
|
788
|
+
* User identity
|
|
723
789
|
*/
|
|
724
790
|
200: GetUserIdentityResponse;
|
|
725
791
|
};
|
|
@@ -901,7 +967,7 @@ export type GetTenantData = {
|
|
|
901
967
|
body?: never;
|
|
902
968
|
path: {
|
|
903
969
|
/**
|
|
904
|
-
* Tenant
|
|
970
|
+
* Tenant UUID
|
|
905
971
|
*/
|
|
906
972
|
tenant_name: string;
|
|
907
973
|
};
|
|
@@ -939,7 +1005,7 @@ export type UpdateTenantData = {
|
|
|
939
1005
|
body: UpdateTenantPayload;
|
|
940
1006
|
path: {
|
|
941
1007
|
/**
|
|
942
|
-
* Tenant
|
|
1008
|
+
* Tenant UUID
|
|
943
1009
|
*/
|
|
944
1010
|
tenant_name: string;
|
|
945
1011
|
};
|
|
@@ -981,7 +1047,7 @@ export type ListDatabasesData = {
|
|
|
981
1047
|
body?: never;
|
|
982
1048
|
path: {
|
|
983
1049
|
/**
|
|
984
|
-
* Tenant
|
|
1050
|
+
* Tenant UUID
|
|
985
1051
|
*/
|
|
986
1052
|
tenant: string;
|
|
987
1053
|
};
|
|
@@ -1024,7 +1090,7 @@ export type CreateDatabaseData = {
|
|
|
1024
1090
|
body: CreateDatabasePayload;
|
|
1025
1091
|
path: {
|
|
1026
1092
|
/**
|
|
1027
|
-
* Tenant
|
|
1093
|
+
* Tenant UUID
|
|
1028
1094
|
*/
|
|
1029
1095
|
tenant: string;
|
|
1030
1096
|
};
|
|
@@ -1058,11 +1124,11 @@ export type DeleteDatabaseData = {
|
|
|
1058
1124
|
body?: never;
|
|
1059
1125
|
path: {
|
|
1060
1126
|
/**
|
|
1061
|
-
* Tenant
|
|
1127
|
+
* Tenant UUID
|
|
1062
1128
|
*/
|
|
1063
1129
|
tenant: string;
|
|
1064
1130
|
/**
|
|
1065
|
-
*
|
|
1131
|
+
* Database name
|
|
1066
1132
|
*/
|
|
1067
1133
|
database: string;
|
|
1068
1134
|
};
|
|
@@ -1100,11 +1166,11 @@ export type GetDatabaseData = {
|
|
|
1100
1166
|
body?: never;
|
|
1101
1167
|
path: {
|
|
1102
1168
|
/**
|
|
1103
|
-
* Tenant
|
|
1169
|
+
* Tenant UUID
|
|
1104
1170
|
*/
|
|
1105
1171
|
tenant: string;
|
|
1106
1172
|
/**
|
|
1107
|
-
*
|
|
1173
|
+
* Database name
|
|
1108
1174
|
*/
|
|
1109
1175
|
database: string;
|
|
1110
1176
|
};
|
|
@@ -1142,11 +1208,11 @@ export type ListCollectionsData = {
|
|
|
1142
1208
|
body?: never;
|
|
1143
1209
|
path: {
|
|
1144
1210
|
/**
|
|
1145
|
-
* Tenant
|
|
1211
|
+
* Tenant UUID
|
|
1146
1212
|
*/
|
|
1147
1213
|
tenant: string;
|
|
1148
1214
|
/**
|
|
1149
|
-
* Database name
|
|
1215
|
+
* Database name
|
|
1150
1216
|
*/
|
|
1151
1217
|
database: string;
|
|
1152
1218
|
};
|
|
@@ -1186,14 +1252,17 @@ export type ListCollectionsResponses = {
|
|
|
1186
1252
|
export type ListCollectionsResponse = ListCollectionsResponses[keyof ListCollectionsResponses];
|
|
1187
1253
|
|
|
1188
1254
|
export type CreateCollectionData = {
|
|
1255
|
+
/**
|
|
1256
|
+
* Collection creation payload
|
|
1257
|
+
*/
|
|
1189
1258
|
body: CreateCollectionPayload;
|
|
1190
1259
|
path: {
|
|
1191
1260
|
/**
|
|
1192
|
-
* Tenant
|
|
1261
|
+
* Tenant UUID
|
|
1193
1262
|
*/
|
|
1194
1263
|
tenant: string;
|
|
1195
1264
|
/**
|
|
1196
|
-
* Database name
|
|
1265
|
+
* Database name
|
|
1197
1266
|
*/
|
|
1198
1267
|
database: string;
|
|
1199
1268
|
};
|
|
@@ -1227,7 +1296,7 @@ export type DeleteCollectionData = {
|
|
|
1227
1296
|
body?: never;
|
|
1228
1297
|
path: {
|
|
1229
1298
|
/**
|
|
1230
|
-
* Tenant
|
|
1299
|
+
* Tenant UUID
|
|
1231
1300
|
*/
|
|
1232
1301
|
tenant: string;
|
|
1233
1302
|
/**
|
|
@@ -1235,7 +1304,7 @@ export type DeleteCollectionData = {
|
|
|
1235
1304
|
*/
|
|
1236
1305
|
database: string;
|
|
1237
1306
|
/**
|
|
1238
|
-
* UUID
|
|
1307
|
+
* Collection UUID
|
|
1239
1308
|
*/
|
|
1240
1309
|
collection_id: string;
|
|
1241
1310
|
};
|
|
@@ -1273,7 +1342,7 @@ export type GetCollectionData = {
|
|
|
1273
1342
|
body?: never;
|
|
1274
1343
|
path: {
|
|
1275
1344
|
/**
|
|
1276
|
-
* Tenant
|
|
1345
|
+
* Tenant UUID
|
|
1277
1346
|
*/
|
|
1278
1347
|
tenant: string;
|
|
1279
1348
|
/**
|
|
@@ -1281,7 +1350,7 @@ export type GetCollectionData = {
|
|
|
1281
1350
|
*/
|
|
1282
1351
|
database: string;
|
|
1283
1352
|
/**
|
|
1284
|
-
* UUID
|
|
1353
|
+
* Collection UUID
|
|
1285
1354
|
*/
|
|
1286
1355
|
collection_id: string;
|
|
1287
1356
|
};
|
|
@@ -1316,10 +1385,13 @@ export type GetCollectionResponses = {
|
|
|
1316
1385
|
export type GetCollectionResponse = GetCollectionResponses[keyof GetCollectionResponses];
|
|
1317
1386
|
|
|
1318
1387
|
export type UpdateCollectionData = {
|
|
1388
|
+
/**
|
|
1389
|
+
* Collection update payload
|
|
1390
|
+
*/
|
|
1319
1391
|
body: UpdateCollectionPayload;
|
|
1320
1392
|
path: {
|
|
1321
1393
|
/**
|
|
1322
|
-
* Tenant
|
|
1394
|
+
* Tenant UUID
|
|
1323
1395
|
*/
|
|
1324
1396
|
tenant: string;
|
|
1325
1397
|
/**
|
|
@@ -1327,7 +1399,7 @@ export type UpdateCollectionData = {
|
|
|
1327
1399
|
*/
|
|
1328
1400
|
database: string;
|
|
1329
1401
|
/**
|
|
1330
|
-
* UUID
|
|
1402
|
+
* Collection UUID
|
|
1331
1403
|
*/
|
|
1332
1404
|
collection_id: string;
|
|
1333
1405
|
};
|
|
@@ -1364,8 +1436,17 @@ export type UpdateCollectionResponse2 = UpdateCollectionResponses[keyof UpdateCo
|
|
|
1364
1436
|
export type CollectionAddData = {
|
|
1365
1437
|
body: AddCollectionRecordsPayload;
|
|
1366
1438
|
path: {
|
|
1439
|
+
/**
|
|
1440
|
+
* Tenant UUID
|
|
1441
|
+
*/
|
|
1367
1442
|
tenant: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Database name
|
|
1445
|
+
*/
|
|
1368
1446
|
database: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* Collection UUID
|
|
1449
|
+
*/
|
|
1369
1450
|
collection_id: string;
|
|
1370
1451
|
};
|
|
1371
1452
|
query?: never;
|
|
@@ -1392,7 +1473,7 @@ export type DetachFunctionData = {
|
|
|
1392
1473
|
body: DetachFunctionRequest;
|
|
1393
1474
|
path: {
|
|
1394
1475
|
/**
|
|
1395
|
-
* Tenant
|
|
1476
|
+
* Tenant UUID
|
|
1396
1477
|
*/
|
|
1397
1478
|
tenant: string;
|
|
1398
1479
|
/**
|
|
@@ -1400,11 +1481,11 @@ export type DetachFunctionData = {
|
|
|
1400
1481
|
*/
|
|
1401
1482
|
database: string;
|
|
1402
1483
|
/**
|
|
1403
|
-
*
|
|
1484
|
+
* Collection UUID
|
|
1404
1485
|
*/
|
|
1405
1486
|
collection_id: string;
|
|
1406
1487
|
/**
|
|
1407
|
-
*
|
|
1488
|
+
* Function name
|
|
1408
1489
|
*/
|
|
1409
1490
|
name: string;
|
|
1410
1491
|
};
|
|
@@ -1438,15 +1519,15 @@ export type CollectionCountData = {
|
|
|
1438
1519
|
body?: never;
|
|
1439
1520
|
path: {
|
|
1440
1521
|
/**
|
|
1441
|
-
* Tenant
|
|
1522
|
+
* Tenant UUID
|
|
1442
1523
|
*/
|
|
1443
1524
|
tenant: string;
|
|
1444
1525
|
/**
|
|
1445
|
-
* Database
|
|
1526
|
+
* Database name
|
|
1446
1527
|
*/
|
|
1447
1528
|
database: string;
|
|
1448
1529
|
/**
|
|
1449
|
-
* Collection
|
|
1530
|
+
* Collection UUID
|
|
1450
1531
|
*/
|
|
1451
1532
|
collection_id: string;
|
|
1452
1533
|
};
|
|
@@ -1484,7 +1565,7 @@ export type CollectionDeleteData = {
|
|
|
1484
1565
|
body: DeleteCollectionRecordsPayload;
|
|
1485
1566
|
path: {
|
|
1486
1567
|
/**
|
|
1487
|
-
* Tenant
|
|
1568
|
+
* Tenant UUID
|
|
1488
1569
|
*/
|
|
1489
1570
|
tenant: string;
|
|
1490
1571
|
/**
|
|
@@ -1492,7 +1573,7 @@ export type CollectionDeleteData = {
|
|
|
1492
1573
|
*/
|
|
1493
1574
|
database: string;
|
|
1494
1575
|
/**
|
|
1495
|
-
* Collection
|
|
1576
|
+
* Collection UUID
|
|
1496
1577
|
*/
|
|
1497
1578
|
collection_id: string;
|
|
1498
1579
|
};
|
|
@@ -1530,7 +1611,7 @@ export type ForkCollectionData = {
|
|
|
1530
1611
|
body: ForkCollectionPayload;
|
|
1531
1612
|
path: {
|
|
1532
1613
|
/**
|
|
1533
|
-
* Tenant
|
|
1614
|
+
* Tenant UUID
|
|
1534
1615
|
*/
|
|
1535
1616
|
tenant: string;
|
|
1536
1617
|
/**
|
|
@@ -1538,7 +1619,7 @@ export type ForkCollectionData = {
|
|
|
1538
1619
|
*/
|
|
1539
1620
|
database: string;
|
|
1540
1621
|
/**
|
|
1541
|
-
* UUID
|
|
1622
|
+
* Collection UUID
|
|
1542
1623
|
*/
|
|
1543
1624
|
collection_id: string;
|
|
1544
1625
|
};
|
|
@@ -1573,10 +1654,13 @@ export type ForkCollectionResponses = {
|
|
|
1573
1654
|
export type ForkCollectionResponse = ForkCollectionResponses[keyof ForkCollectionResponses];
|
|
1574
1655
|
|
|
1575
1656
|
export type AttachFunctionData = {
|
|
1657
|
+
/**
|
|
1658
|
+
* Function attachment request
|
|
1659
|
+
*/
|
|
1576
1660
|
body: AttachFunctionRequest;
|
|
1577
1661
|
path: {
|
|
1578
1662
|
/**
|
|
1579
|
-
* Tenant
|
|
1663
|
+
* Tenant UUID
|
|
1580
1664
|
*/
|
|
1581
1665
|
tenant: string;
|
|
1582
1666
|
/**
|
|
@@ -1584,7 +1668,7 @@ export type AttachFunctionData = {
|
|
|
1584
1668
|
*/
|
|
1585
1669
|
database: string;
|
|
1586
1670
|
/**
|
|
1587
|
-
* Collection
|
|
1671
|
+
* Collection UUID
|
|
1588
1672
|
*/
|
|
1589
1673
|
collection_id: string;
|
|
1590
1674
|
};
|
|
@@ -1618,7 +1702,7 @@ export type GetAttachedFunctionData = {
|
|
|
1618
1702
|
body?: never;
|
|
1619
1703
|
path: {
|
|
1620
1704
|
/**
|
|
1621
|
-
* Tenant
|
|
1705
|
+
* Tenant UUID
|
|
1622
1706
|
*/
|
|
1623
1707
|
tenant: string;
|
|
1624
1708
|
/**
|
|
@@ -1626,11 +1710,11 @@ export type GetAttachedFunctionData = {
|
|
|
1626
1710
|
*/
|
|
1627
1711
|
database: string;
|
|
1628
1712
|
/**
|
|
1629
|
-
* Collection
|
|
1713
|
+
* Collection UUID
|
|
1630
1714
|
*/
|
|
1631
1715
|
collection_id: string;
|
|
1632
1716
|
/**
|
|
1633
|
-
*
|
|
1717
|
+
* Function name
|
|
1634
1718
|
*/
|
|
1635
1719
|
function_name: string;
|
|
1636
1720
|
};
|
|
@@ -1668,15 +1752,15 @@ export type CollectionGetData = {
|
|
|
1668
1752
|
body: GetRequestPayload;
|
|
1669
1753
|
path: {
|
|
1670
1754
|
/**
|
|
1671
|
-
* Tenant
|
|
1755
|
+
* Tenant UUID
|
|
1672
1756
|
*/
|
|
1673
1757
|
tenant: string;
|
|
1674
1758
|
/**
|
|
1675
|
-
* Database name
|
|
1759
|
+
* Database name
|
|
1676
1760
|
*/
|
|
1677
1761
|
database: string;
|
|
1678
1762
|
/**
|
|
1679
|
-
* Collection
|
|
1763
|
+
* Collection UUID
|
|
1680
1764
|
*/
|
|
1681
1765
|
collection_id: string;
|
|
1682
1766
|
};
|
|
@@ -1714,15 +1798,15 @@ export type IndexingStatusData = {
|
|
|
1714
1798
|
body?: never;
|
|
1715
1799
|
path: {
|
|
1716
1800
|
/**
|
|
1717
|
-
* Tenant
|
|
1801
|
+
* Tenant UUID
|
|
1718
1802
|
*/
|
|
1719
1803
|
tenant: string;
|
|
1720
1804
|
/**
|
|
1721
|
-
* Database name
|
|
1805
|
+
* Database name
|
|
1722
1806
|
*/
|
|
1723
1807
|
database: string;
|
|
1724
1808
|
/**
|
|
1725
|
-
* Collection
|
|
1809
|
+
* Collection UUID
|
|
1726
1810
|
*/
|
|
1727
1811
|
collection_id: string;
|
|
1728
1812
|
};
|
|
@@ -1757,18 +1841,21 @@ export type IndexingStatusResponses = {
|
|
|
1757
1841
|
export type IndexingStatusResponse = IndexingStatusResponses[keyof IndexingStatusResponses];
|
|
1758
1842
|
|
|
1759
1843
|
export type CollectionQueryData = {
|
|
1844
|
+
/**
|
|
1845
|
+
* Query request payload
|
|
1846
|
+
*/
|
|
1760
1847
|
body: QueryRequestPayload;
|
|
1761
1848
|
path: {
|
|
1762
1849
|
/**
|
|
1763
|
-
* Tenant
|
|
1850
|
+
* Tenant UUID
|
|
1764
1851
|
*/
|
|
1765
1852
|
tenant: string;
|
|
1766
1853
|
/**
|
|
1767
|
-
* Database name
|
|
1854
|
+
* Database name
|
|
1768
1855
|
*/
|
|
1769
1856
|
database: string;
|
|
1770
1857
|
/**
|
|
1771
|
-
* Collection
|
|
1858
|
+
* Collection UUID
|
|
1772
1859
|
*/
|
|
1773
1860
|
collection_id: string;
|
|
1774
1861
|
};
|
|
@@ -1812,18 +1899,21 @@ export type CollectionQueryResponses = {
|
|
|
1812
1899
|
export type CollectionQueryResponse = CollectionQueryResponses[keyof CollectionQueryResponses];
|
|
1813
1900
|
|
|
1814
1901
|
export type CollectionSearchData = {
|
|
1902
|
+
/**
|
|
1903
|
+
* Search request payload
|
|
1904
|
+
*/
|
|
1815
1905
|
body: SearchRequestPayload;
|
|
1816
1906
|
path: {
|
|
1817
1907
|
/**
|
|
1818
|
-
* Tenant
|
|
1908
|
+
* Tenant UUID
|
|
1819
1909
|
*/
|
|
1820
1910
|
tenant: string;
|
|
1821
1911
|
/**
|
|
1822
|
-
* Database name
|
|
1912
|
+
* Database name
|
|
1823
1913
|
*/
|
|
1824
1914
|
database: string;
|
|
1825
1915
|
/**
|
|
1826
|
-
* Collection
|
|
1916
|
+
* Collection UUID
|
|
1827
1917
|
*/
|
|
1828
1918
|
collection_id: string;
|
|
1829
1919
|
};
|
|
@@ -1860,8 +1950,17 @@ export type CollectionSearchResponse = CollectionSearchResponses[keyof Collectio
|
|
|
1860
1950
|
export type CollectionUpdateData = {
|
|
1861
1951
|
body: UpdateCollectionRecordsPayload;
|
|
1862
1952
|
path: {
|
|
1953
|
+
/**
|
|
1954
|
+
* Tenant UUID
|
|
1955
|
+
*/
|
|
1863
1956
|
tenant: string;
|
|
1957
|
+
/**
|
|
1958
|
+
* Database name
|
|
1959
|
+
*/
|
|
1864
1960
|
database: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* Collection UUID
|
|
1963
|
+
*/
|
|
1865
1964
|
collection_id: string;
|
|
1866
1965
|
};
|
|
1867
1966
|
query?: never;
|
|
@@ -1888,7 +1987,7 @@ export type CollectionUpsertData = {
|
|
|
1888
1987
|
body: UpsertCollectionRecordsPayload;
|
|
1889
1988
|
path: {
|
|
1890
1989
|
/**
|
|
1891
|
-
* Tenant
|
|
1990
|
+
* Tenant UUID
|
|
1892
1991
|
*/
|
|
1893
1992
|
tenant: string;
|
|
1894
1993
|
/**
|
|
@@ -1896,7 +1995,7 @@ export type CollectionUpsertData = {
|
|
|
1896
1995
|
*/
|
|
1897
1996
|
database: string;
|
|
1898
1997
|
/**
|
|
1899
|
-
* Collection
|
|
1998
|
+
* Collection UUID
|
|
1900
1999
|
*/
|
|
1901
2000
|
collection_id: string;
|
|
1902
2001
|
};
|
|
@@ -1934,11 +2033,11 @@ export type CountCollectionsData = {
|
|
|
1934
2033
|
body?: never;
|
|
1935
2034
|
path: {
|
|
1936
2035
|
/**
|
|
1937
|
-
* Tenant
|
|
2036
|
+
* Tenant UUID
|
|
1938
2037
|
*/
|
|
1939
2038
|
tenant: string;
|
|
1940
2039
|
/**
|
|
1941
|
-
* Database name
|
|
2040
|
+
* Database name
|
|
1942
2041
|
*/
|
|
1943
2042
|
database: string;
|
|
1944
2043
|
};
|