Can vectorstore.as_retriever() just return the filltered documents? not limited the top-k parameter? #28324
Unanswered
SetonLiang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
Does the function
vectorstore.as_retriever
first filter metadata using the keyword and then retrieve documents based on similarity? Is it possible to avoid limiting the returned top_k?If not, are there any methods to acheive this requirement?
System Info
pip freeze | grep langchain"
platform windows
python=3.9.12
Beta Was this translation helpful? Give feedback.
All reactions