mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-15 22:19:28 +00:00
perf(rag): Support load large document (#1233)
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
try:
|
||||
from dbgpt.model.cluster.client import DefaultLLMClient
|
||||
from dbgpt.model.cluster.client import DefaultLLMClient, RemoteLLMClient
|
||||
except ImportError as exc:
|
||||
# logging.warning("Can't import dbgpt.model.DefaultLLMClient")
|
||||
DefaultLLMClient = None
|
||||
RemoteLLMClient = None
|
||||
|
||||
|
||||
_exports = []
|
||||
if DefaultLLMClient:
|
||||
_exports.append("DefaultLLMClient")
|
||||
if RemoteLLMClient:
|
||||
_exports.append("RemoteLLMClient")
|
||||
|
||||
__ALL__ = _exports
|
||||
|
Reference in New Issue
Block a user