Adding Workspace Support to LinghtRAG Server #1016
Replies: 8 comments 2 replies
-
Hi there. We will need alot of changes. |
Beta Was this translation helpful? Give feedback.
-
Alternative Approach: API Key-Bound Collections BackgroundUtilize the existing workspace field already present in database tables (I have only checked postgres) BenefitsMinimal schema changes (only needs a collections-to-API-key mapping table) Implementation StrategyCreate a lightweight collection management layer that maps collection IDs to workspaces Challenges AddressedAPI Compatible: Extends existing API with minimal breaking changes This approach would require significantly less architectural change than implementing a full user credential system, while still providing robust multi-document set capabilities. It maintains LightRAG as a flexible backend service that can be integrated with various frontend authentication systems rather than building that directly into the core. |
Beta Was this translation helpful? Give feedback.
-
Support rapid creation of temporary Workspaces of previously indexed files, by utilizing LLM caching, and maintain document chunks. This means the creation process will be quick. |
Beta Was this translation helpful? Give feedback.
-
may be adding users and groups. |
Beta Was this translation helpful? Give feedback.
-
All storage systems, including vector databases and graph databases, should include a kb_id attribute. This field must be passed in all storage and query operations to ensure data isolation across different knowledge bases. |
Beta Was this translation helpful? Give feedback.
-
Consider adding an OCR module similar to the one in RAGFlow to parse non-text data such as images and tables |
Beta Was this translation helpful? Give feedback.
-
I hope this feature gets added soon! I'm currently running 2 instances of Lightrag to separate common data from user-specific data. Would it be feasible to implement an interim solution by adding a file_path filter in QueryParam? I think this will be much easier than using the ID list as filter. I can easily separate the source file folders for my common files and per-user files. When a query is made, I can place the root path as filter in the lightrag.query method to only include context from documents with file_paths containing the filter string. |
Beta Was this translation helpful? Give feedback.
-
Huge thanks to the team around LightRAG so far, these features and especially the single-doc-RAG sound very promising. We have implemented a multi-topic (multiple instances of LightRAG) similar to the one described here using the existing LightRAG functionality. I have pasted a snippet in issue 1513. IMHO LightRAGs concern should NOT be user-auth and IMHO the LightRAG web-ui is already a great start to kick new projects off of it. Addressing |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Background
Challenge
Beta Was this translation helpful? Give feedback.
All reactions