mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-31 15:47:05 +00:00
cfg: update
This commit is contained in:
parent
9ddd089381
commit
0d370a1a64
@ -1,11 +1,5 @@
|
||||
from pilot.source_embedding import (SourceEmbedding, register)
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
sys.path.append(ROOT_PATH)
|
||||
|
||||
__all__ = [
|
||||
"SourceEmbedding",
|
||||
"register"
|
||||
|
@ -28,12 +28,5 @@ ISDEBUG = False
|
||||
|
||||
|
||||
VECTOR_SEARCH_TOP_K = 3
|
||||
# LLM_MODEL = "vicuna-13b"
|
||||
# LIMIT_MODEL_CONCURRENCY = 5
|
||||
# MAX_POSITION_EMBEDDINGS = 4096
|
||||
# VICUNA_MODEL_SERVER = "http://121.41.167.183:8000"
|
||||
|
||||
|
||||
|
||||
VS_ROOT_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), "vs_store")
|
||||
KNOWLEDGE_UPLOAD_ROOT_PATH = os.path.join(os.path.dirname(os.path.dirname(__file__)), "knowledge")
|
@ -6,6 +6,7 @@ import os
|
||||
import shutil
|
||||
import uuid
|
||||
import json
|
||||
import sys
|
||||
import time
|
||||
import gradio as gr
|
||||
import datetime
|
||||
@ -13,8 +14,7 @@ import requests
|
||||
from urllib.parse import urljoin
|
||||
|
||||
from langchain import PromptTemplate
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
||||
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
sys.path.append(ROOT_PATH)
|
||||
|
Loading…
Reference in New Issue
Block a user