Type Alias MaxMarginalRelevanceSearchOptions<FilterType>

MaxMarginalRelevanceSearchOptions<FilterType>: {
    fetchK?: number;
    filter?: FilterType;
    k: number;
    lambda?: number;
}

Type for options when performing a maximal marginal relevance search.

Type Parameters

  • FilterType