feat: add GraphRAG framework and integrate TuGraph (#1506)

Co-authored-by: KingSkyLi <15566300566@163.com>
Co-authored-by: aries_ckt <916701291@qq.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
This commit is contained in:
Florian
2024-05-16 15:39:50 +08:00
committed by GitHub
parent 593e974405
commit a9087c3853
133 changed files with 10139 additions and 6631 deletions

View File

@@ -1,9 +1,13 @@
from dbgpt.rag.index.base import IndexStoreConfig
from dbgpt.storage import vector_store
from dbgpt.storage.vector_store.base import VectorStoreBase
def test_vetorestore_imports() -> None:
"""Simple test to make sure all things can be imported."""
for cls in vector_store.__all__:
assert issubclass(getattr(vector_store, cls), VectorStoreBase)
store_cls, config_cls = getattr(vector_store, cls)
from dbgpt.rag.index.base import IndexStoreBase
assert issubclass(store_cls, IndexStoreBase)
assert issubclass(config_cls, IndexStoreConfig)