LightRAG/lightrag
Raphaël MANSUY 730c406749 feat: Implement multi-tenant support across graph and query routes
- Enhanced graph_routes.py and query_routes.py to support multi-tenant architecture by introducing tenant-specific RAG instances.
- Updated create_graph_routes and create_query_routes functions to accept rag_manager for tenant management.
- Added get_tenant_rag dependency to all relevant endpoints to ensure tenant context is utilized for operations.
- Modified Vite configuration to include comprehensive API proxy rules for seamless interaction with backend services.
- Implemented cascade delete functionality in tenant_service.py for tenant and knowledge base deletions.
- Added detailed logging and error handling for tenant operations.
- Created audit logs documenting the multi-tenant implementation process and decisions made.
2025-12-05 00:04:29 +08:00
..
api feat: Implement multi-tenant support across graph and query routes 2025-12-05 00:04:29 +08:00
evaluation cherry-pick f490622b 2025-12-04 19:19:24 +08:00
kg fix: sync all kg modules from upstream 2025-12-04 19:22:13 +08:00
llm fix: sync openai.py from upstream 2025-12-04 19:20:11 +08:00
models tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
services feat: Implement multi-tenant support across graph and query routes 2025-12-05 00:04:29 +08:00
tools cherry-pick 66d6c7dd 2025-12-04 19:19:21 +08:00
__init__.py cherry-pick 7cddd564 2025-12-04 19:18:15 +08:00
base.py fix: sync base.py from upstream to remove orphaned abstract methods 2025-12-04 19:26:25 +08:00
constants.py cherry-pick 88a45523 2025-12-04 19:19:22 +08:00
exceptions.py fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
lightrag.py cherry-pick 9c10c875 2025-12-04 19:19:05 +08:00
namespace.py Add entity/relation chunk tracking with configurable source ID limits 2025-12-04 19:11:19 +08:00
operate.py fix: sync core modules from upstream 2025-12-04 19:20:28 +08:00
prompt.py fix: sync all core modules with upstream after Wave 1 2025-12-04 19:13:48 +08:00
rerank.py Fix top_n behavior with chunking to limit documents not chunks 2025-12-04 19:11:22 +08:00
security.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
tenant_rag_manager.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
types.py
utils.py fix: sync core modules from upstream 2025-12-04 19:20:28 +08:00
utils_context.py tests: stabilize integration tests + skip external services; fix multi-tenant API behavior and idempotency (#4) 2025-12-04 16:04:21 +08:00
utils_graph.py cherry-pick 6b4514c8 2025-12-04 19:19:00 +08:00