mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-08 19:58:27 +00:00
fix:webserver path
This commit is contained in:
parent
4341067b08
commit
f54b1cbdd4
@ -41,7 +41,7 @@ think step by step.
|
|||||||
_DEFAULT_TEMPLATE_ZH = """
|
_DEFAULT_TEMPLATE_ZH = """
|
||||||
根据要求和问题,提供专业的答案。如果无法从提供的内容中获取答案,请说:“知识库中提供的信息不足以回答此问题。” 禁止随意捏造信息。
|
根据要求和问题,提供专业的答案。如果无法从提供的内容中获取答案,请说:“知识库中提供的信息不足以回答此问题。” 禁止随意捏造信息。
|
||||||
|
|
||||||
使用一下表结构信息:
|
使用以下表结构信息:
|
||||||
{table_info}
|
{table_info}
|
||||||
|
|
||||||
问题:
|
问题:
|
||||||
|
@ -11,11 +11,11 @@ import uuid
|
|||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
|
|
||||||
from pilot.embedding_engine.knowledge_type import KnowledgeType
|
|
||||||
|
|
||||||
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||||
sys.path.append(ROOT_PATH)
|
sys.path.append(ROOT_PATH)
|
||||||
|
|
||||||
|
from pilot.embedding_engine.knowledge_type import KnowledgeType
|
||||||
|
|
||||||
from pilot.summary.db_summary_client import DBSummaryClient
|
from pilot.summary.db_summary_client import DBSummaryClient
|
||||||
|
|
||||||
from pilot.scene.base_chat import BaseChat
|
from pilot.scene.base_chat import BaseChat
|
||||||
|
Loading…
Reference in New Issue
Block a user