mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-17 07:00:15 +00:00
feat(core): APP use new SDK component (#1050)
This commit is contained in:
@@ -1,8 +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.tracer import trace
|
||||
|
||||
CFG = Config()
|
||||
@@ -11,6 +10,8 @@ CFG = Config()
|
||||
class ChatNormal(BaseChat):
|
||||
chat_scene: str = ChatScene.ChatNormal.value()
|
||||
|
||||
keep_end_rounds: int = 10
|
||||
|
||||
"""Number of results to return from the query"""
|
||||
|
||||
def __init__(self, chat_param: Dict):
|
||||
|
Reference in New Issue
Block a user