mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-24 19:08:15 +00:00
feat(core): APP use new SDK component (#1050)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from typing import Dict
|
||||
|
||||
from dbgpt.app.scene import BaseChat, ChatScene
|
||||
from dbgpt._private.config import Config
|
||||
from dbgpt.app.scene import BaseChat, ChatScene
|
||||
from dbgpt.util.executor_utils import blocking_func_to_async
|
||||
from dbgpt.util.tracer import trace
|
||||
|
||||
@@ -11,6 +11,8 @@ CFG = Config()
|
||||
class ChatWithDbQA(BaseChat):
|
||||
chat_scene: str = ChatScene.ChatWithDbQA.value()
|
||||
|
||||
keep_end_rounds = 5
|
||||
|
||||
"""As a DBA, Chat DB Module, chat with combine DB meta schema """
|
||||
|
||||
def __init__(self, chat_param: Dict):
|
||||
|
Reference in New Issue
Block a user