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

feat: Add ChromaDB integration for vector storage #447

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

spo0nman
Copy link

  • Implemented ChromaVectorDBStorage class in lightrag/kg/chroma_impl.py to support ChromaDB as a vector storage backend.
  • Updated lightrag.py to include ChromaVectorDBStorage in the storage class mapping.
  • Added a test script test_chromadb.py to demonstrate the usage of ChromaDB with LightRAG, including configuration for embedding functions and ChromaDB connection settings.
  • fix lazy import function to support package context for dynamic class loading. 288d4b8

pk248 and others added 2 commits December 10, 2024 16:23
- Implemented `ChromaVectorDBStorage` class in `lightrag/kg/chroma_impl.py` to support ChromaDB as a vector storage backend.
- Updated `lightrag.py` to include `ChromaVectorDBStorage` in the storage class mapping.
- Added a test script `test_chromadb.py` to demonstrate the usage of ChromaDB with LightRAG, including configuration for embedding functions and ChromaDB connection settings.
- fix lazy import function to support package context for dynamic class loading.
  HKUDS@288d4b8
@LarFii
Copy link
Collaborator

LarFii commented Dec 11, 2024

Thanks for sharing!

@LarFii LarFii merged commit aee622f into HKUDS:main Dec 11, 2024
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.

3 participants