diff --git a/src/llms/vector.ts b/src/llms/vector.ts index 486ecf6..75e5d2b 100644 --- a/src/llms/vector.ts +++ b/src/llms/vector.ts @@ -32,6 +32,10 @@ export interface SearchRequest { * Defaults to 10. **/ topK?: number; + + /** Metadata filters to apply to the vector search. */ + /* example: filter: { metric_type: { $eq: 'histogram' } } */ + filter?: Record; } /**