You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
[system]
|
|
|
|
# Load language from environment variable(It is set by the hook)
|
|
|
|
language = "${env:DBGPT_LANG:-zh}"
|
|
|
|
api_keys = []
|
|
|
|
encrypt_key = "your_secret_key"
|
|
|
|
# redis configurations
|
|
|
|
[redis]
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 6379
|
|
|
|
password = "123"
|
|
|
|
database = 3
|
|
|
|
|
|
|
|
# Server Configurations
|
|
|
|
[service.web]
|
|
|
|
host = "0.0.0.0"
|
|
|
|
port = 5679
|
|
|
|
|
|
|
|
[service.web.database]
|
|
|
|
type = "mysql"
|
|
|
|
host = "127.0.0.1"
|
|
|
|
port = 3306
|
|
|
|
user = "root"
|
|
|
|
database = "cjy_agent"
|
|
|
|
password = "root"
|
|
|
|
|
|
|
|
|
|
|
|
[rag.storage]
|
|
|
|
[rag.storage.vector]
|
|
|
|
type = "chroma"
|
|
|
|
persist_path = "pilot/data"
|
|
|
|
|
|
|
|
# Model Configurations
|
|
|
|
[models]
|
|
|
|
[[models.llms]]
|
|
|
|
name = "deepseek-reasoner"
|
|
|
|
# name = "deepseek-chat"
|
|
|
|
provider = "proxy/deepseek"
|
|
|
|
api_key = "sk-dd044fbc9f1643d4983fa00df562fd23"
|
|
|
|
|
|
|
|
[[models.embeddings]]
|
|
|
|
name = "BAAI/bge-large-zh-v1.5"
|
|
|
|
provider = "hf"
|
|
|
|
# If not provided, the model will be downloaded from the Hugging Face model hub
|
|
|
|
# uncomment the following line to specify the model path in the local file system
|
|
|
|
# path = "the-model-path-in-the-local-file-system"
|
|
|
|
path = "models/bge-large-zh-v1.5"
|
|
|
|
|
|
|
|
[[models.rerankers]]
|
|
|
|
name = "BAAI/bge-reranker-v2-m3"
|
|
|
|
verbose= "True"
|
|
|
|
provider = "proxy/siliconflow"
|
|
|
|
api_url = "https://api.siliconflow.cn/v1/rerank"
|
|
|
|
api_key = "sk-jcumujjotgkiegagijwmmtffrzbhhaqqqcdzxsoirgkwermc"
|