perf(rag): Support load large document (#1233)

This commit is contained in:
Fangyin Cheng
2024-03-01 22:33:52 +08:00
committed by GitHub
parent ed4df23e4e
commit 505bc32775
13 changed files with 231 additions and 37 deletions

View File

@@ -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