-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Add workspace param for lightrag with PG storage #1597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
merge HKUDS/LightRAG main
merge lightrat main
merge lightrag main
merge HKUDS lightrag main
merge HKUDS main branch
merge HKUDS main branch
merge HKUDS main
merge HKUDS main branch
merge HKUDS main
merge HKUDS main branch
merge HKUDS main
merge HKUDS main
merge HKUDS main
merge HKUDS main
merge HKUDS main branch
merge HKUDS main
merge HKUDS main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PGGraphStorage class itself does not directly support data isolation through workspaces. The graph data from different workspaces will be stored in the same Apache AGE graph, which can cause LightRAG RAG to malfunction.
In the current workflow, it seems that the workspace can only be set during the initialization of the LightRAG object. If you need to switch workspaces later, you have to create a new LightRAG object. Is my understanding correct? If so, is there a better way to switch workspaces? |
Yeah, you're correct, PGGraphStorage doesn't support the workspace, I'll check that again. |
Yes, it can not to dynamically switch workspace for my changes. I think if we wanna the ability to dynamically switch workspaces , we need to modify all insert/query interfaces to add a workspace parameter |
merge HKUDS main branch
Description
Add workspace param for lightrag with PG storage
Related Issues
#1573
Changes Made
Checklist
Additional Notes
[Add any additional notes or context for the reviewer(s).]