mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-07 20:10:08 +00:00
refactor: Refactor for core SDK (#1092)
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
from dbgpt.component import BaseComponent, SystemApp
|
||||
|
||||
__ALL__ = ["SystemApp", "BaseComponent"]
|
||||
"""DB-GPT: Next Generation Data Interaction Solution with LLMs.
|
||||
"""
|
||||
from dbgpt import _version # noqa: E402
|
||||
from dbgpt.component import BaseComponent, SystemApp # noqa: F401
|
||||
|
||||
_CORE_LIBS = ["core", "rag", "model", "agent", "datasource", "vis", "storage", "train"]
|
||||
_SERVE_LIBS = ["serve"]
|
||||
_LIBS = _CORE_LIBS + _SERVE_LIBS
|
||||
|
||||
|
||||
__version__ = _version.version
|
||||
|
||||
__ALL__ = ["__version__", "SystemApp", "BaseComponent"]
|
||||
|
||||
|
||||
def __getattr__(name: str):
|
||||
# Lazy load
|
||||
import importlib
|
||||
|
Reference in New Issue
Block a user