Type alias MaxMarginalRelevanceSearchOptions<FilterType>

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

Type for options when performing a maximal marginal relevance search.

Type Parameters

  • FilterType

Type declaration

  • k: number
  • Optional fetchK?: number
  • Optional filter?: FilterType
  • Optional lambda?: number

Generated using TypeDoc