Type alias VectorStoreRetrieverMMRSearchKwargs

VectorStoreRetrieverMMRSearchKwargs: {
    fetchK?: number;
    lambda?: number;
}

Type for options when performing a maximal marginal relevance search with the VectorStoreRetriever.

Type declaration

  • Optional fetchK?: number
  • Optional lambda?: number

Generated using TypeDoc