@relevanceai/sdk 1.1.0 → 1.6.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/README.md +28 -19
- package/dist-cjs/generated/VectorApi.js +99 -3
- package/dist-cjs/services/discovery/Dataset.js +7 -4
- package/dist-cjs/services/discovery/index.js +94 -63
- package/dist-es/generated/VectorApi.js +147 -3
- package/dist-es/services/discovery/Dataset.js +7 -4
- package/dist-es/services/discovery/index.js +118 -85
- package/dist-types/generated/VectorApi.d.ts +45 -9
- package/dist-types/generated/_VectorApiSchemaTypes.d.ts +575 -18
- package/dist-types/services/discovery/Dataset.d.ts +1 -0
- package/dist-types/services/discovery/index.d.ts +50 -15
- 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,3 +1,18 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
1
16
|
var __assign = (this && this.__assign) || function () {
|
|
2
17
|
__assign = Object.assign || function(t) {
|
|
3
18
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
@@ -25,27 +40,122 @@ import { Dataset } from './Dataset';
|
|
|
25
40
|
export function QueryBuilder() {
|
|
26
41
|
return new _QueryBuilder();
|
|
27
42
|
}
|
|
28
|
-
|
|
29
|
-
|
|
43
|
+
export function FilterBuilder() {
|
|
44
|
+
return new _FilterBuilder();
|
|
45
|
+
}
|
|
46
|
+
var _FilterBuilder = /** @class */ (function () {
|
|
47
|
+
function _FilterBuilder() {
|
|
30
48
|
this.body = { filters: [], fieldsToAggregate: [], fieldsToAggregateStats: [] };
|
|
31
49
|
}
|
|
50
|
+
_FilterBuilder.prototype.buildFilters = function () {
|
|
51
|
+
return this.body.filters;
|
|
52
|
+
};
|
|
53
|
+
_FilterBuilder.prototype.rawFilter = function (filter) {
|
|
54
|
+
var _a;
|
|
55
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push(filter);
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
_FilterBuilder.prototype.filter = function (type, key, value) {
|
|
59
|
+
var _a;
|
|
60
|
+
var _b;
|
|
61
|
+
var options = [];
|
|
62
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
63
|
+
options[_i - 3] = arguments[_i];
|
|
64
|
+
}
|
|
65
|
+
(_b = this.body.filters) === null || _b === void 0 ? void 0 : _b.push((_a = {},
|
|
66
|
+
_a[type] = __assign({ key: key, value: value }, options),
|
|
67
|
+
_a));
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
_FilterBuilder.prototype.match = function (field, value) {
|
|
71
|
+
var _a;
|
|
72
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ match: { key: field, value: value } });
|
|
73
|
+
return this;
|
|
74
|
+
};
|
|
75
|
+
_FilterBuilder.prototype.wildcard = function (field, value) {
|
|
76
|
+
var _a;
|
|
77
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ wildcard: { key: field, value: value } });
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
_FilterBuilder.prototype.selfreference = function (fielda, fieldb, operation) {
|
|
81
|
+
var _a;
|
|
82
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ selfreference: { a: fielda, b: fieldb, operation: operation } });
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
_FilterBuilder.prototype.range = function (field, options) {
|
|
86
|
+
var _a;
|
|
87
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ range: __assign({ key: field }, options) });
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
_FilterBuilder.prototype.or = function (filters) {
|
|
91
|
+
var _a;
|
|
92
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ or: filters.map(function (f) { var _a; return (_a = f.body.filters) !== null && _a !== void 0 ? _a : []; }) });
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
_FilterBuilder.prototype.not = function (filter) {
|
|
96
|
+
var _a, _b, _c;
|
|
97
|
+
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ not: (_c = (_b = filter.body) === null || _b === void 0 ? void 0 : _b.filters) !== null && _c !== void 0 ? _c : [] });
|
|
98
|
+
return this;
|
|
99
|
+
};
|
|
100
|
+
return _FilterBuilder;
|
|
101
|
+
}());
|
|
102
|
+
export { _FilterBuilder };
|
|
103
|
+
var _QueryBuilder = /** @class */ (function (_super) {
|
|
104
|
+
__extends(_QueryBuilder, _super);
|
|
105
|
+
function _QueryBuilder() {
|
|
106
|
+
var _this = _super.call(this) || this;
|
|
107
|
+
_this.shouldPerformTextQuery = false;
|
|
108
|
+
return _this;
|
|
109
|
+
}
|
|
32
110
|
_QueryBuilder.prototype.build = function () {
|
|
111
|
+
if (!this.shouldPerformTextQuery)
|
|
112
|
+
return this.body;
|
|
113
|
+
if (!this.defaultQueryValue)
|
|
114
|
+
throw new Error("Please set the search query by calling .query('my search query') before performing a text search.");
|
|
115
|
+
this.body.query = this.defaultQueryValue;
|
|
33
116
|
return this.body;
|
|
34
117
|
};
|
|
35
|
-
_QueryBuilder.prototype.
|
|
118
|
+
_QueryBuilder.prototype.query = function (query, fieldsToSearch) {
|
|
119
|
+
this.defaultQueryValue = query;
|
|
120
|
+
if (fieldsToSearch)
|
|
121
|
+
this.body.fieldsToSearch = fieldsToSearch;
|
|
122
|
+
return this;
|
|
123
|
+
};
|
|
124
|
+
_QueryBuilder.prototype.queryConfig = function (weight, options) {
|
|
125
|
+
this.body.queryConfig = __assign({ weight: weight }, (options !== null && options !== void 0 ? options : {}));
|
|
126
|
+
return this;
|
|
127
|
+
};
|
|
128
|
+
_QueryBuilder.prototype.text = function (field, weight) {
|
|
129
|
+
this.shouldPerformTextQuery = true;
|
|
130
|
+
if (!field)
|
|
131
|
+
return this; // support searching all fields
|
|
132
|
+
if (!this.body.fieldsToSearch)
|
|
133
|
+
this.body.fieldsToSearch = [];
|
|
134
|
+
if (!weight)
|
|
135
|
+
this.body.fieldsToSearch.push(field);
|
|
136
|
+
else
|
|
137
|
+
this.body.fieldsToSearch.push({ key: field, weight: weight });
|
|
138
|
+
return this;
|
|
139
|
+
};
|
|
140
|
+
_QueryBuilder.prototype.vector = function (field) {
|
|
36
141
|
var e_1, _a;
|
|
37
142
|
var args = [];
|
|
38
143
|
for (var _i = 1; _i < arguments.length; _i++) {
|
|
39
144
|
args[_i - 1] = arguments[_i];
|
|
40
145
|
}
|
|
41
|
-
this.body.
|
|
146
|
+
if (!Array.isArray(this.body.vectorSearchQuery))
|
|
147
|
+
this.body.vectorSearchQuery = [];
|
|
148
|
+
var payload = { field: field };
|
|
149
|
+
var inferredModelMatch = field.match(/_(.*)_.*vector_/); // title_text@1-0_vector_ -> text@1-0
|
|
150
|
+
if (inferredModelMatch && inferredModelMatch[1])
|
|
151
|
+
payload.model = inferredModelMatch[1]; // this can be overridden
|
|
42
152
|
try {
|
|
43
153
|
for (var args_1 = __values(args), args_1_1 = args_1.next(); !args_1_1.done; args_1_1 = args_1.next()) {
|
|
44
154
|
var arg = args_1_1.value;
|
|
45
|
-
if (
|
|
46
|
-
|
|
155
|
+
if (typeof arg === 'number')
|
|
156
|
+
payload.weight = arg; // weight
|
|
47
157
|
else
|
|
48
|
-
|
|
158
|
+
payload = __assign(__assign({}, payload), arg); // options
|
|
49
159
|
}
|
|
50
160
|
}
|
|
51
161
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
@@ -55,36 +165,6 @@ var _QueryBuilder = /** @class */ (function () {
|
|
|
55
165
|
}
|
|
56
166
|
finally { if (e_1) throw e_1.error; }
|
|
57
167
|
}
|
|
58
|
-
return this;
|
|
59
|
-
};
|
|
60
|
-
_QueryBuilder.prototype.vector = function (field, model) {
|
|
61
|
-
var e_2, _a;
|
|
62
|
-
var _b, _c;
|
|
63
|
-
var args = [];
|
|
64
|
-
for (var _i = 2; _i < arguments.length; _i++) {
|
|
65
|
-
args[_i - 2] = arguments[_i];
|
|
66
|
-
}
|
|
67
|
-
if (!Array.isArray(this.body.vectorSearchQuery))
|
|
68
|
-
this.body.vectorSearchQuery = [];
|
|
69
|
-
if (!((_c = (_b = this === null || this === void 0 ? void 0 : this.body) === null || _b === void 0 ? void 0 : _b.vectorSearchQuery) === null || _c === void 0 ? void 0 : _c.length))
|
|
70
|
-
this.body.vectorSearchQuery = [];
|
|
71
|
-
var payload = { field: field, model: model };
|
|
72
|
-
try {
|
|
73
|
-
for (var args_2 = __values(args), args_2_1 = args_2.next(); !args_2_1.done; args_2_1 = args_2.next()) {
|
|
74
|
-
var arg = args_2_1.value;
|
|
75
|
-
if (typeof arg === 'number')
|
|
76
|
-
payload.weight = arg;
|
|
77
|
-
else
|
|
78
|
-
payload = __assign(__assign({}, payload), arg);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
82
|
-
finally {
|
|
83
|
-
try {
|
|
84
|
-
if (args_2_1 && !args_2_1.done && (_a = args_2.return)) _a.call(args_2);
|
|
85
|
-
}
|
|
86
|
-
finally { if (e_2) throw e_2.error; }
|
|
87
|
-
}
|
|
88
168
|
this.body.vectorSearchQuery.push(payload);
|
|
89
169
|
return this;
|
|
90
170
|
};
|
|
@@ -118,11 +198,6 @@ var _QueryBuilder = /** @class */ (function () {
|
|
|
118
198
|
this.body.pageSize = value;
|
|
119
199
|
return this;
|
|
120
200
|
};
|
|
121
|
-
_QueryBuilder.prototype.rawFilter = function (filter) {
|
|
122
|
-
var _a;
|
|
123
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push(filter);
|
|
124
|
-
return this;
|
|
125
|
-
};
|
|
126
201
|
_QueryBuilder.prototype.includeFields = function (fields) {
|
|
127
202
|
this.body.includeFields = fields;
|
|
128
203
|
};
|
|
@@ -132,48 +207,6 @@ var _QueryBuilder = /** @class */ (function () {
|
|
|
132
207
|
_QueryBuilder.prototype.includeVectors = function (whetherToInclude) {
|
|
133
208
|
this.body.includeVectors = whetherToInclude;
|
|
134
209
|
};
|
|
135
|
-
_QueryBuilder.prototype.filter = function (type, key, value) {
|
|
136
|
-
var _a;
|
|
137
|
-
var _b;
|
|
138
|
-
var options = [];
|
|
139
|
-
for (var _i = 3; _i < arguments.length; _i++) {
|
|
140
|
-
options[_i - 3] = arguments[_i];
|
|
141
|
-
}
|
|
142
|
-
(_b = this.body.filters) === null || _b === void 0 ? void 0 : _b.push((_a = {},
|
|
143
|
-
_a[type] = __assign({ key: key, value: value }, options),
|
|
144
|
-
_a));
|
|
145
|
-
return this;
|
|
146
|
-
};
|
|
147
|
-
_QueryBuilder.prototype.match = function (field, value) {
|
|
148
|
-
var _a;
|
|
149
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ match: { key: field, value: value } });
|
|
150
|
-
return this;
|
|
151
|
-
};
|
|
152
|
-
_QueryBuilder.prototype.wildcard = function (field, value) {
|
|
153
|
-
var _a;
|
|
154
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ wildcard: { key: field, value: value } });
|
|
155
|
-
return this;
|
|
156
|
-
};
|
|
157
|
-
_QueryBuilder.prototype.selfreference = function (fielda, fieldb, operation) {
|
|
158
|
-
var _a;
|
|
159
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ selfreference: { a: fielda, b: fieldb, operation: operation } });
|
|
160
|
-
return this;
|
|
161
|
-
};
|
|
162
|
-
_QueryBuilder.prototype.range = function (field, options) {
|
|
163
|
-
var _a;
|
|
164
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ range: __assign({ key: field }, options) });
|
|
165
|
-
return this;
|
|
166
|
-
};
|
|
167
|
-
_QueryBuilder.prototype.or = function (filters) {
|
|
168
|
-
var _a;
|
|
169
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ or: filters.map(function (f) { var _a; return (_a = f.body.filters) !== null && _a !== void 0 ? _a : []; }) });
|
|
170
|
-
return this;
|
|
171
|
-
};
|
|
172
|
-
_QueryBuilder.prototype.not = function (filter) {
|
|
173
|
-
var _a, _b, _c;
|
|
174
|
-
(_a = this.body.filters) === null || _a === void 0 ? void 0 : _a.push({ not: (_c = (_b = filter.body) === null || _b === void 0 ? void 0 : _b.filters) !== null && _c !== void 0 ? _c : [] });
|
|
175
|
-
return this;
|
|
176
|
-
};
|
|
177
210
|
_QueryBuilder.prototype.aggregate = function (field, options) {
|
|
178
211
|
var _a, _b, _c;
|
|
179
212
|
(_a = this.body.fieldsToAggregate) === null || _a === void 0 ? void 0 : _a.push(__assign(__assign({ key: field }, options), { fieldsToAggregate: (_c = (_b = options === null || options === void 0 ? void 0 : options.aggregates) === null || _b === void 0 ? void 0 : _b.body.fieldsToAggregate) !== null && _c !== void 0 ? _c : [] }));
|
|
@@ -185,7 +218,7 @@ var _QueryBuilder = /** @class */ (function () {
|
|
|
185
218
|
return this;
|
|
186
219
|
};
|
|
187
220
|
return _QueryBuilder;
|
|
188
|
-
}());
|
|
221
|
+
}(_FilterBuilder));
|
|
189
222
|
export { _QueryBuilder };
|
|
190
223
|
var DiscoveryClient = /** @class */ (function () {
|
|
191
224
|
function DiscoveryClient(config) {
|
|
@@ -106,16 +106,40 @@ export declare type aggregatev2apiservicesaggregateaggregatepostInput = operatio
|
|
|
106
106
|
export declare type aggregatev2apiservicesaggregateaggregatepostOutput = operations['aggregate_v2_api_services_aggregate_aggregate_post']['responses']['200']['content']['application/json'];
|
|
107
107
|
export declare type clustercentroidsapiservicesclustercentroidslistgetInput = {};
|
|
108
108
|
export declare type clustercentroidsapiservicesclustercentroidslistgetOutput = operations['cluster_centroids_api_services_cluster_centroids_list_get']['responses']['200']['content']['application/json'];
|
|
109
|
+
export declare type clustercentroidsapiv2servicesclustercentroidslistpostInput = operations['cluster_centroids_api_v2_services_cluster_centroids_list_post']['requestBody']['content']['application/json'];
|
|
110
|
+
export declare type clustercentroidsapiv2servicesclustercentroidslistpostOutput = operations['cluster_centroids_api_v2_services_cluster_centroids_list_post']['responses']['200']['content']['application/json'];
|
|
109
111
|
export declare type clustercentroidsgetapiservicesclustercentroidsgetgetInput = {};
|
|
110
112
|
export declare type clustercentroidsgetapiservicesclustercentroidsgetgetOutput = operations['cluster_centroids_get_api_services_cluster_centroids_get_get']['responses']['200']['content']['application/json'];
|
|
111
|
-
export declare type
|
|
112
|
-
export declare type
|
|
113
|
+
export declare type clustercentroidsgetapiservicesclustercentroidsgetpostInput = operations['cluster_centroids_get_api_services_cluster_centroids_get_post']['requestBody']['content']['application/json'];
|
|
114
|
+
export declare type clustercentroidsgetapiservicesclustercentroidsgetpostOutput = operations['cluster_centroids_get_api_services_cluster_centroids_get_post']['responses']['200']['content']['application/json'];
|
|
115
|
+
export declare type insertclustercentroids2apiservicesclustercentroidsinsertpostInput = operations['insert_cluster_centroids_2_api_services_cluster_centroids_insert_post']['requestBody']['content']['application/json'];
|
|
116
|
+
export declare type insertclustercentroids2apiservicesclustercentroidsinsertpostOutput = operations['insert_cluster_centroids_2_api_services_cluster_centroids_insert_post']['responses']['200']['content']['application/json'];
|
|
117
|
+
export declare type updatecentroidsapiv2servicesclustercentroidsupdatepostInput = operations['update_centroids_api_v2_services_cluster_centroids_update_post']['requestBody']['content']['application/json'];
|
|
118
|
+
export declare type updatecentroidsapiv2servicesclustercentroidsupdatepostOutput = operations['update_centroids_api_v2_services_cluster_centroids_update_post']['responses']['200']['content']['application/json'];
|
|
119
|
+
export declare type deletecentroidsapiservicesclustercentroidscentroididdeletegetInput = {};
|
|
120
|
+
export declare type deletecentroidsapiservicesclustercentroidscentroididdeletegetOutput = operations['delete_centroids_api_services_cluster_centroids__centroid_id__delete_get']['responses']['200']['content']['application/json'];
|
|
121
|
+
export declare type deletecentroidsapiservicesclustercentroidscentroididdeletepostInput = {};
|
|
122
|
+
export declare type deletecentroidsapiservicesclustercentroidscentroididdeletepostOutput = operations['delete_centroids_api_services_cluster_centroids__centroid_id__delete_post']['responses']['200']['content']['application/json'];
|
|
123
|
+
export declare type clustercentroidsdeleteapiservicesclustercentroidsdeletepostInput = {};
|
|
124
|
+
export declare type clustercentroidsdeleteapiservicesclustercentroidsdeletepostOutput = operations['cluster_centroids_delete_api_services_cluster_centroids_delete_post']['responses']['200']['content']['application/json'];
|
|
113
125
|
export declare type clustercentroidsgetapiservicesclustercentroidsdocumentspostInput = operations['cluster_centroids_get_api_services_cluster_centroids_documents_post']['requestBody']['content']['application/json'];
|
|
114
126
|
export declare type clustercentroidsgetapiservicesclustercentroidsdocumentspostOutput = operations['cluster_centroids_get_api_services_cluster_centroids_documents_post']['responses']['200']['content']['application/json'];
|
|
115
|
-
export declare type
|
|
116
|
-
export declare type
|
|
117
|
-
export declare type
|
|
118
|
-
export declare type
|
|
127
|
+
export declare type centroidsmetadatagetapiservicesclustercentroidsmetadatagetInput = {};
|
|
128
|
+
export declare type centroidsmetadatagetapiservicesclustercentroidsmetadatagetOutput = operations['centroids_metadata_get_api_services_cluster_centroids_metadata_get']['responses']['200']['content']['application/json'];
|
|
129
|
+
export declare type centroidsmetadatapostapiv2servicesclustercentroidsmetadatapostInput = operations['centroids_metadata_post_api_v2_services_cluster_centroids_metadata_post']['requestBody']['content']['application/json'];
|
|
130
|
+
export declare type centroidsmetadatapostapiv2servicesclustercentroidsmetadatapostOutput = operations['centroids_metadata_post_api_v2_services_cluster_centroids_metadata_post']['responses']['200']['content']['application/json'];
|
|
131
|
+
export declare type centroidslistclosesttocenterv2servicesclustercentroidslistclosesttocenterpostInput = operations['centroids_list_closest_to_center_v2_services_cluster_centroids_list_closest_to_center_post']['requestBody']['content']['application/json'];
|
|
132
|
+
export declare type centroidslistclosesttocenterv2servicesclustercentroidslistclosesttocenterpostOutput = operations['centroids_list_closest_to_center_v2_services_cluster_centroids_list_closest_to_center_post']['responses']['200']['content']['application/json'];
|
|
133
|
+
export declare type centroidslistfurthestfromcenterv2servicesclustercentroidslistfurthestfromcenterpostInput = operations['centroids_list_furthest_from_center_v2_services_cluster_centroids_list_furthest_from_center_post']['requestBody']['content']['application/json'];
|
|
134
|
+
export declare type centroidslistfurthestfromcenterv2servicesclustercentroidslistfurthestfromcenterpostOutput = operations['centroids_list_furthest_from_center_v2_services_cluster_centroids_list_furthest_from_center_post']['responses']['200']['content']['application/json'];
|
|
135
|
+
export declare type clusteraggregateapiv2servicesclusteraggregatepostInput = operations['cluster_aggregate_api_v2_services_cluster_aggregate_post']['requestBody']['content']['application/json'];
|
|
136
|
+
export declare type clusteraggregateapiv2servicesclusteraggregatepostOutput = operations['cluster_aggregate_api_v2_services_cluster_aggregate_post']['responses']['200']['content']['application/json'];
|
|
137
|
+
export declare type advancedclusterfacetsapiservicesclusterfacetsgetInput = {};
|
|
138
|
+
export declare type advancedclusterfacetsapiservicesclusterfacetsgetOutput = operations['advanced_cluster_facets_api_services_cluster_facets_get']['responses']['200']['content']['application/json'];
|
|
139
|
+
export declare type clusterlistservicesclusterlistgetInput = {};
|
|
140
|
+
export declare type clusterlistservicesclusterlistgetOutput = operations['cluster_list_services_cluster_list_get']['responses']['200']['content']['application/json'];
|
|
141
|
+
export declare type clusterlistmultiservicesclusterlistpostInput = {};
|
|
142
|
+
export declare type clusterlistmultiservicesclusterlistpostOutput = operations['cluster_list_multi_services_cluster_list_post']['responses']['200']['content']['application/json'];
|
|
119
143
|
export declare type tagapiservicestaggertagpostInput = operations['tag_api_services_tagger_tag_post']['requestBody']['content']['application/json'];
|
|
120
144
|
export declare type tagapiservicestaggertagpostOutput = operations['tag_api_services_tagger_tag_post']['responses']['200']['content']['application/json'];
|
|
121
145
|
export declare type clusterandtagapiservicestaggerdiversitypostInput = operations['cluster_and_tag_api_services_tagger_diversity_post']['requestBody']['content']['application/json'];
|
|
@@ -217,11 +241,23 @@ export declare class VectorApiClient extends _GenericClient {
|
|
|
217
241
|
vectordiversityrecommendapiservicesrecommenddiversitypost(input: CommandInput<vectordiversityrecommendapiservicesrecommenddiversitypostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<vectordiversityrecommendapiservicesrecommenddiversitypostOutput>>;
|
|
218
242
|
aggregatev2apiservicesaggregateaggregatepost(input: CommandInput<aggregatev2apiservicesaggregateaggregatepostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<aggregatev2apiservicesaggregateaggregatepostOutput>>;
|
|
219
243
|
clustercentroidsapiservicesclustercentroidslistget(input: CommandInput<clustercentroidsapiservicesclustercentroidslistgetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clustercentroidsapiservicesclustercentroidslistgetOutput>>;
|
|
244
|
+
clustercentroidsapiv2servicesclustercentroidslistpost(input: CommandInput<clustercentroidsapiv2servicesclustercentroidslistpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clustercentroidsapiv2servicesclustercentroidslistpostOutput>>;
|
|
220
245
|
clustercentroidsgetapiservicesclustercentroidsgetget(input: CommandInput<clustercentroidsgetapiservicesclustercentroidsgetgetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clustercentroidsgetapiservicesclustercentroidsgetgetOutput>>;
|
|
221
|
-
|
|
246
|
+
clustercentroidsgetapiservicesclustercentroidsgetpost(input: CommandInput<clustercentroidsgetapiservicesclustercentroidsgetpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clustercentroidsgetapiservicesclustercentroidsgetpostOutput>>;
|
|
247
|
+
insertclustercentroids2apiservicesclustercentroidsinsertpost(input: CommandInput<insertclustercentroids2apiservicesclustercentroidsinsertpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<insertclustercentroids2apiservicesclustercentroidsinsertpostOutput>>;
|
|
248
|
+
updatecentroidsapiv2servicesclustercentroidsupdatepost(input: CommandInput<updatecentroidsapiv2servicesclustercentroidsupdatepostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<updatecentroidsapiv2servicesclustercentroidsupdatepostOutput>>;
|
|
249
|
+
deletecentroidsapiservicesclustercentroidscentroididdeleteget(input: CommandInput<deletecentroidsapiservicesclustercentroidscentroididdeletegetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<deletecentroidsapiservicesclustercentroidscentroididdeletegetOutput>>;
|
|
250
|
+
deletecentroidsapiservicesclustercentroidscentroididdeletepost(input: CommandInput<deletecentroidsapiservicesclustercentroidscentroididdeletepostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<deletecentroidsapiservicesclustercentroidscentroididdeletepostOutput>>;
|
|
251
|
+
clustercentroidsdeleteapiservicesclustercentroidsdeletepost(input: CommandInput<clustercentroidsdeleteapiservicesclustercentroidsdeletepostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clustercentroidsdeleteapiservicesclustercentroidsdeletepostOutput>>;
|
|
222
252
|
clustercentroidsgetapiservicesclustercentroidsdocumentspost(input: CommandInput<clustercentroidsgetapiservicesclustercentroidsdocumentspostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clustercentroidsgetapiservicesclustercentroidsdocumentspostOutput>>;
|
|
223
|
-
|
|
224
|
-
|
|
253
|
+
centroidsmetadatagetapiservicesclustercentroidsmetadataget(input: CommandInput<centroidsmetadatagetapiservicesclustercentroidsmetadatagetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<centroidsmetadatagetapiservicesclustercentroidsmetadatagetOutput>>;
|
|
254
|
+
centroidsmetadatapostapiv2servicesclustercentroidsmetadatapost(input: CommandInput<centroidsmetadatapostapiv2servicesclustercentroidsmetadatapostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<centroidsmetadatapostapiv2servicesclustercentroidsmetadatapostOutput>>;
|
|
255
|
+
centroidslistclosesttocenterv2servicesclustercentroidslistclosesttocenterpost(input: CommandInput<centroidslistclosesttocenterv2servicesclustercentroidslistclosesttocenterpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<centroidslistclosesttocenterv2servicesclustercentroidslistclosesttocenterpostOutput>>;
|
|
256
|
+
centroidslistfurthestfromcenterv2servicesclustercentroidslistfurthestfromcenterpost(input: CommandInput<centroidslistfurthestfromcenterv2servicesclustercentroidslistfurthestfromcenterpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<centroidslistfurthestfromcenterv2servicesclustercentroidslistfurthestfromcenterpostOutput>>;
|
|
257
|
+
clusteraggregateapiv2servicesclusteraggregatepost(input: CommandInput<clusteraggregateapiv2servicesclusteraggregatepostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clusteraggregateapiv2servicesclusteraggregatepostOutput>>;
|
|
258
|
+
advancedclusterfacetsapiservicesclusterfacetsget(input: CommandInput<advancedclusterfacetsapiservicesclusterfacetsgetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<advancedclusterfacetsapiservicesclusterfacetsgetOutput>>;
|
|
259
|
+
clusterlistservicesclusterlistget(input: CommandInput<clusterlistservicesclusterlistgetInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clusterlistservicesclusterlistgetOutput>>;
|
|
260
|
+
clusterlistmultiservicesclusterlistpost(input: CommandInput<clusterlistmultiservicesclusterlistpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clusterlistmultiservicesclusterlistpostOutput>>;
|
|
225
261
|
tagapiservicestaggertagpost(input: CommandInput<tagapiservicestaggertagpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<tagapiservicestaggertagpostOutput>>;
|
|
226
262
|
clusterandtagapiservicestaggerdiversitypost(input: CommandInput<clusterandtagapiservicestaggerdiversitypostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<clusterandtagapiservicestaggerdiversitypostOutput>>;
|
|
227
263
|
vectorrecommendapiservicesdocumentdiffpost(input: CommandInput<vectorrecommendapiservicesdocumentdiffpostInput>, options?: _GenericMethodOptions): Promise<CommandOutput<vectorrecommendapiservicesdocumentdiffpostOutput>>;
|