d13100ebf3
Build and push docs image / build-image (push) Waiting to run
Update draft releases / main (push) Waiting to run
Test Python / test-python (macos-latest, 3.10) (push) Waiting to run
Test Python / test-python (macos-latest, 3.11) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.10) (push) Waiting to run
Test Python / test-python (ubuntu-latest, 3.11) (push) Waiting to run
Build Web Application / build-web (macos-latest) (push) Waiting to run
Build Web Application / build-web (ubuntu-latest) (push) Waiting to run
Python Code Quality Checks / build (push) Waiting to run
49 lines
1.3 KiB
TOML
49 lines
1.3 KiB
TOML
[system]
|
|
# Load language from environment variable(It is set by the hook)
|
|
language = "${env:DBGPT_LANG:-en}"
|
|
api_keys = []
|
|
encrypt_key = "your_secret_key"
|
|
|
|
# Server Configurations
|
|
[service.web]
|
|
host = "0.0.0.0"
|
|
port = 5670
|
|
|
|
[service.web.agent_context]
|
|
# Agent context-window budget. Set max_context_tokens to 0 to auto-detect from
|
|
# the selected model's metadata. The effective budget shown in the UI is
|
|
# max_context_tokens - reserved_tokens.
|
|
max_context_tokens = 0
|
|
reserved_tokens = 4096
|
|
warning_threshold = 0.70
|
|
error_threshold = 0.90
|
|
critical_threshold = 0.95
|
|
min_keep_recent_rounds = 3
|
|
max_observation_age_rounds = 5
|
|
truncated_observation_max_chars = 200
|
|
min_keep_tokens = 10000
|
|
max_compact_failures = 3
|
|
|
|
[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 = "qwen-plus"
|
|
provider = "${env:LLM_MODEL_PROVIDER:-proxy/tongyi}"
|
|
api_base = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
api_key = "${env:DASHSCOPE_API_KEY}"
|
|
|
|
[[models.embeddings]]
|
|
name = "text-embedding-v3"
|
|
provider = "${env:EMBEDDING_MODEL_PROVIDER:-proxy/tongyi}"
|
|
api_url = "https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings"
|
|
api_key = "${env:DASHSCOPE_API_KEY}"
|