Adding Workspace Support to LinghtRAG Server #1016
Replies: 15 comments 7 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.
-
|
The completion of PRs #1743 and #1941 has successfully established workspace isolation across all storage components. This work lays a critical foundation for the upcoming multi-workspace support in the LightRAG Server. |
Beta Was this translation helpful? Give feedback.
-
|
[image: Screen Shot 2025-10-15 at 13.54.08.png]
how to speed up data query, my AI angent querying extract from "thongtu"
knowledge takes a long time, how to make it faster
- is it due to the configuration in render.com
- can i export data from processed light rag to postres
…On Wed, Oct 15, 2025 at 1:45 PM Daniel.y ***@***.***> wrote:
Currently, you launch multiple LightRAG Server Instances, whereas each
instance hosting it's own workspace.
—
Reply to this email directly, view it on GitHub
<#1016 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BYVIAJ6CJN6XZRFDMR4SG2T3XXUQTAVCNFSM6AAAAABYQNRX2OVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINRYGM3DIMI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I'd be interested in hearing how work on multi-workspace support in a single server instance is going. I'd very much like to use LightRAG with my project, but the current lack of this feature is a blocker as running a new server instance for every single workspace that end-users want to create isn't scalable. |
Beta Was this translation helpful? Give feedback.
-
|
Out of curiosity: Would that mean that each virtual workspace (or domain, I don't know the right term) would have a separate knowledge graph AND that there also is a knowledge graph spanning the whole real workspace? Am asking as I've previously considered adding this to a different project (have refocused on LightRAG now), which could be really powerful - but complex if for example you have multiple users on the same instance and not all users may access all information. And thanks to the team for this great project, especially the continued development - thanks! |
Beta Was this translation helpful? Give feedback.
-
|
PR #2369 has resolved an issue where a single service created multiple LightRAG instances, each associated with a distinct workspace. This marks a significant advancement toward enabling dynamic workspace switching in the LightRAG Server. |
Beta Was this translation helpful? Give feedback.
-
|
Issue #2373 outlines a specific multi-workspace use case. |
Beta Was this translation helpful? Give feedback.
-
|
Drafted a PR to implement the multi-workspace lightrag server, check it out here #2445 |
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