3030
3131/**
3232 * @typedef {Object } VectorFilterGroup
33- * @property {string } [filter_operator] - The filter operator.
34- * @property {{ key: string, value: string }[] } [filters] - Search filters.
33+ * @property {string } [logical_operator] - The logical operator.
34+ * @property {VectorFilterSubGroup[] } [filters] - Search filters.
35+ */
36+
37+ /**
38+ * @typedef {Object } VectorFilterSubGroup
39+ * @property {string } [logical_operator] - The logical operator.
40+ * @property {VectorFilterOperand[] } [operands] - Search operands.
41+ */
42+
43+ /**
44+ * @typedef {Object } VectorFilterOperand
45+ * @property {VectorFilterMatch? } [match] - The match filter.
46+ * @property {VectorFilterRange? } [range] -The range filter.
47+ */
48+
49+ /**
50+ * @typedef {Object } VectorFilterMatch
51+ * @property {string } key - The field name.
52+ * @property {string } value - The field value.
53+ * @property {string } operator - The operator.
54+ * @property {string } data_type -The field data type.
55+ */
56+
57+ /**
58+ * @typedef {Object } VectorFilterRange
59+ * @property {string } key - The field name.
60+ * @property {string } data_type -The field data type.
61+ * @property {VectorFilterRangeCondition[] } conditions -The conditions.
62+ */
63+
64+ /**
65+ * @typedef {Object } VectorFilterRangeCondition
66+ * @property {string } value - The field value.
67+ * @property {string } operator -The operator.
3568 */
3669
3770/**
100133 * @property {number } dimension
101134 */
102135
136+ /**
137+ * @typedef {Object } VectorCollectionDetails
138+ * @property {string } status
139+ * @property {number } vectors_count
140+ * @property {number } points_count
141+ * @property {PayloadSchemaDetail[] } payload_schema
142+ */
143+
144+ /**
145+ * @typedef {Object } PayloadSchemaDetail
146+ * @property {string } field_name
147+ * @property {string } field_data_type
148+ * @property {number } data_count
149+ */
150+
151+ /**
152+ * @typedef {Object } VectorCollectionIndexOptions
153+ * @property {string } field_name
154+ * @property {string } field_schema_type
155+ */
156+
103157export default { } ;
0 commit comments