VectorFilterPrimitive
Auto-generated API reference for VectorFilterPrimitive.
Type Alias: VectorFilterPrimitive
VectorFilterPrimitive =
string|number|boolean|null
Defined in: packages/core/src/types/memory.ts:37
Normalized metadata-filter shape (v1). Every vector backend translates this into its own native filter language; callers stay portable.
- Object form is field β predicate (implicit AND across fields).
- Predicate is either a primitive (shorthand for
\{ $eq: ... \}) or one of the operator objects below. $and/$orcompose nested filters.
Example: { tags: { $in: ['docs', 'rag'] }, version: { $gte: 2 } } { $or: [{ author: 'alice' }, { author: 'bob' }] }