Skip to content
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

add namespace prefix to storage namespaces #729

Merged
merged 3 commits into from
Feb 8, 2025

Conversation

ArnoChenFx
Copy link
Contributor

@ArnoChenFx ArnoChenFx commented Feb 7, 2025

This PR introduces a namespace prefix to storage namespaces to allow different LightRAG to connect to the same database instance while ensuring that the data remains isolated. The changes include:

  • Added a namespace_prefix argument to the LightRAG class and associated configurations.
  • Updated all storage namespace references to include the prefix.
  • Modified the storage implementations (MongoDB, Oracle, PostgreSQL, TiDB) to handle prefixed namespaces.

@ArnoChenFx ArnoChenFx force-pushed the add-namespace-prefix branch from cdfeb09 to f58a291 Compare February 7, 2025 15:16
@ArnoChenFx ArnoChenFx force-pushed the add-namespace-prefix branch from f58a291 to b2b8cf0 Compare February 8, 2025 05:56
@LarFii LarFii merged commit e787d92 into HKUDS:main Feb 8, 2025
1 check passed
@ArnoChenFx ArnoChenFx deleted the add-namespace-prefix branch February 8, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants