创巨圆智能体-基于DB-GPT7.1版本
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.
cjy-agent/configs/dbgpt-proxy-deepseek.toml

53 lines
1.2 KiB

5 months ago
[system]
# Load language from environment variable(It is set by the hook)
language = "${env:DBGPT_LANG:-zh}"
api_keys = []
encrypt_key = "your_secret_key"
5 months ago
# redis configurations
[redis]
host = "127.0.0.1"
port = 6379
password = "123"
database = 3
5 months ago
# Server Configurations
[service.web]
host = "0.0.0.0"
5 months ago
port = 5679
5 months ago
[service.web.database]
type = "mysql"
5 months ago
host = "127.0.0.1"
port = 3306
user = "root"
database = "cjy_agent"
password = "root"
5 months ago
5 months ago
[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"
5 months ago
[[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"
5 months ago
[[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"