[Feature Request]: Add support of file path during query #2282
MohitTilwani15
started this conversation in
Ideas
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.
-
Do you need to file a feature request?
Feature Request Description
Adding support for a
file_pathfilter on the query endpoint, allowing developers to narrow down the retrieval context when querying LightRAG. By specifying one or more file paths, users can constrain the scope of semantic retrieval and reasoning to a subset of documents relevant to their application.This enhancement will apply uniformly across entities, relationships, and chunks, ensuring that all retrieval operations respect the provided file path constraints.
Use Case Example:
Developers building on top of LightRAG can now query only within specific documents or folders (e.g.,
contracts/nda/orpolicies/security_policy.pdf) to improve precision, reduce noise, and enhance retrieval efficiency in multi-document environments.Key Benefits:
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions