LightRAG icon indicating copy to clipboard operation
LightRAG copied to clipboard

[Question]: having multiple workspace at the same time dynamically generated

Open Cgrandjean opened this issue 3 months ago • 7 comments

Do you need to ask a question?

  • [x] I have searched the existing question and discussions and this question is not already answered.
  • [x] I believe this is a legitimate question, not just a bug or feature request.

Your Question

Hello , Thx for the repo this is a very smart system overall. I wanted to know if there was an option to set up an endpoint able to manage multiple instances of DB at the same time. The idea would be to have sort of a new parameter that we can use to select the workspace db on which we perform the actions. Ideally that would generate dynamically new workspaces when a new one is mentionned in parameters. Not sure if this feature already exist. Thanks for the answers!

Additional Context

No response

Cgrandjean avatar Sep 02 '25 09:09 Cgrandjean

Same question

Tabxx avatar Sep 02 '25 15:09 Tabxx

https://github.com/HKUDS/LightRAG/issues/1795

https://github.com/HKUDS/LightRAG/blob/main/lightrag/api/README.md#starting-multiple-lightrag-instances

At present, dynamic generation is not available, but it feels that dynamically creating Docker containers would be the simplest approach. 目前确实没有动态生成,不过感觉动态创建docker容器是最简单的方式了。

ooodwbooo avatar Sep 03 '25 00:09 ooodwbooo

This is the current limitation: a LightRAG instance can only manage one Workspace and does not support dynamic switching. Support for dynamic Workspace switching in LightRAG Server is already on our development roadmap. Please stay tuned for updates.

danielaskdd avatar Sep 04 '25 14:09 danielaskdd

This is the current limitation: a LightRAG instance can only manage one Workspace and does not support dynamic switching. Support for dynamic Workspace switching in LightRAG Server is already on our development roadmap. Please stay tuned for updates.

@danielaskdd In the meantime, is it fine to run to multiple LightRAG instances for the same set of DBs but configured for different workspaces?

Belvedere2K avatar Sep 09 '25 08:09 Belvedere2K

This is the current limitation: a LightRAG instance can only manage one Workspace and does not support dynamic switching. Support for dynamic Workspace switching in LightRAG Server is already on our development roadmap. Please stay tuned for updates.

@danielaskdd In the meantime, is it fine to run to multiple LightRAG instances for the same set of DBs but configured for different workspaces?

Yes, you can run multiple LightRAG instances on the same DBs with difference workspaces.

danielaskdd avatar Sep 09 '25 15:09 danielaskdd

Thanks for the answers! Is there a way to isolate data from another inside the same workspace , i have a use case in which i must strictly isolate multiple but similar data ,can i do that in the same instance of lightrag?

Cgrandjean avatar Sep 23 '25 07:09 Cgrandjean

This is the current limitation: a LightRAG instance can only manage one Workspace and does not support dynamic switching. Support for dynamic Workspace switching in LightRAG Server is already on our development roadmap. Please stay tuned for updates.

I hope this means being able to query any specific or any selection of workspaces in one go.

Belvedere2K avatar Oct 09 '25 03:10 Belvedere2K