Adding Workspace Support to LinghtRAG Server #1016
Replies: 3 comments
-
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.
-
Background
Challenge
Beta Was this translation helpful? Give feedback.
All reactions