Ask a question to get started
Enter to sendā¢Shift+Enter new line
max_marginal_relevance_search_by_vector( self, embedding: list[float], k: int = 4
Return docs selected using the maximal marginal relevance with dense vectors.
Maximal marginal relevance optimizes for similarity to query AND diversity among selected documents.