LangChain - Embeddings and Vector Stores
You want to build a search feature that returns 5 documents: the top 3 most relevant and 2 that add new information. How can you configure MMR retrieval to achieve this?
top_k=5 retrieves 5 documents; lambda_param=0.6 balances relevance and diversity.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions