mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-17 23:18:20 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user