fix:webserver path

This commit is contained in:
aries_ckt 2023-07-02 14:20:10 +08:00
parent 4341067b08
commit f54b1cbdd4
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ think step by step.
_DEFAULT_TEMPLATE_ZH = """
根据要求和问题提供专业的答案如果无法从提供的内容中获取答案请说知识库中提供的信息不足以回答此问题 禁止随意捏造信息
使用下表结构信息:
使用下表结构信息:
{table_info}
问题:

View File

@ -11,11 +11,11 @@ import uuid
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__))))
sys.path.append(ROOT_PATH)
from pilot.embedding_engine.knowledge_type import KnowledgeType
from pilot.summary.db_summary_client import DBSummaryClient
from pilot.scene.base_chat import BaseChat