mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-11 05:49:22 +00:00
41 lines
1.1 KiB
TOML
41 lines
1.1 KiB
TOML
[system]
|
|
# Load language from environment variable(It is set by the hook)
|
|
language = "${env:DBGPT_LANG:-zh}"
|
|
api_keys = []
|
|
encrypt_key = "your_secret_key"
|
|
|
|
# Server Configurations
|
|
[service.web]
|
|
host = "0.0.0.0"
|
|
port = 5670
|
|
|
|
[service.web.database]
|
|
type = "sqlite"
|
|
path = "pilot/meta_data/dbgpt.db"
|
|
|
|
[rag.storage]
|
|
[rag.storage.vector]
|
|
type = "chroma"
|
|
persist_path = "pilot/data"
|
|
|
|
# Model Configurations
|
|
[models]
|
|
[[models.llms]]
|
|
name = "DeepSeek-R1-Distill-Qwen-1.5B"
|
|
provider = "llama.cpp"
|
|
# 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
|
|
# https://huggingface.co/bartowski/DeepSeek-R1-Distill-Qwen-1.5B-GGUF
|
|
# path = "the-model-path-in-the-local-file-system"
|
|
path = "models/DeepSeek-R1-Distill-Qwen-1.5B-Q4_K_M.gguf"
|
|
|
|
|
|
[[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/BAAI/bge-large-zh-v1.5"
|
|
|