LangChain 1 · Retrieval (RAG)
Search by meaning
Return the four chunks closest to the query.
results = vector_store.similarity_search("How do refunds work?", k=4)
Official LangChain 1 documentation
LangChain 1 · Retrieval (RAG)
Return the four chunks closest to the query.
results = vector_store.similarity_search("How do refunds work?", k=4)
Official LangChain 1 documentation
Was this page helpful?