VectorSearchOptions interface

Defines options for vector search queries

Properties

filterMode

Determines whether or not filters are applied before or after the vector search is performed. Default is 'preFilter'.

queries

The query parameters for vector, hybrid, and multi-vector search queries.

Property Details

filterMode

Determines whether or not filters are applied before or after the vector search is performed. Default is 'preFilter'.

filterMode?: "postFilter" | "preFilter"

Property Value

"postFilter" | "preFilter"

queries

The query parameters for vector, hybrid, and multi-vector search queries.

queries: VectorQuery<TModel>[]

Property Value

VectorQuery<TModel>[]