mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-19 08:47:32 +00:00
update:config env
This commit is contained in:
parent
adb8a5a316
commit
6c964c8a3d
@ -14,7 +14,6 @@ from urllib.parse import urljoin
|
|||||||
import gradio as gr
|
import gradio as gr
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
from pilot.server.vectordb_qa import KnownLedgeBaseQA
|
|
||||||
|
|
||||||
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)
|
||||||
@ -30,6 +29,7 @@ from pilot.configs.model_config import (
|
|||||||
LOGDIR,
|
LOGDIR,
|
||||||
VECTOR_SEARCH_TOP_K,
|
VECTOR_SEARCH_TOP_K,
|
||||||
)
|
)
|
||||||
|
from pilot.server.vectordb_qa import KnownLedgeBaseQA
|
||||||
from pilot.connections.mysql import MySQLOperator
|
from pilot.connections.mysql import MySQLOperator
|
||||||
from pilot.conversation import (
|
from pilot.conversation import (
|
||||||
SeparatorStyle,
|
SeparatorStyle,
|
||||||
|
Loading…
Reference in New Issue
Block a user