VectorStoreMMRSearch class
Maximal Marginal Relevance (MMR) search .
Maximal marginal relevance optimizes for similarity to query AND diversity among selected documents.
- Inheritance
-
- Object
- VectorStoreSearchType
- VectorStoreMMRSearch
Constructors
Properties
- fetchK → int
-
The number of documents to pass to MMR algorithm.
final
-
filter
→ Map<
String, dynamic> ? -
The filter to apply to the search.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- k → int
-
The number of documents to return.
finalinherited
- lambdaMult → double
-
Number between 0 and 1 that determines the degree of diversity among the
results with 0 corresponding to maximum diversity and 1 to minimum
diversity.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited