parent
82392dc4eb
commit
285c5e5d59
@ -0,0 +1,47 @@ |
||||
[system] |
||||
# Load language from environment variable(It is set by the hook) |
||||
language = "${env:DBGPT_LANG:-zh}" |
||||
log_level = "INFO" |
||||
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" |
||||
|
||||
[app] |
||||
temperature = 0.6 |
||||
|
||||
[[app.configs]] |
||||
name = "chat_excel" |
||||
temperature = 0.1 |
||||
duckdb_extensions_dir = [] |
||||
force_install = true |
||||
|
||||
[[app.configs]] |
||||
name = "chat_normal" |
||||
memory = {type="token", max_token_limit=20000} |
||||
|
||||
[[app.configs]] |
||||
name = "chat_with_db_qa" |
||||
schema_retrieve_top_k = 50 |
||||
memory = {type="token", max_token_limit=20000} |
||||
|
||||
# Model Configurations |
||||
[models] |
||||
[[models.llms]] |
||||
name = "${env:LLM_MODEL_NAME:-gpt-4o}" |
||||
provider = "${env:LLM_MODEL_PROVIDER:-proxy/openai}" |
||||
api_base = "${env:OPENAI_API_BASE:-https://api.openai.com/v1}" |
||||
api_key = "${env:OPENAI_API_KEY}" |
||||
|
||||
[[models.embeddings]] |
||||
name = "${env:EMBEDDING_MODEL_NAME:-text-embedding-3-small}" |
||||
provider = "${env:EMBEDDING_MODEL_PROVIDER:-proxy/openai}" |
||||
api_url = "${env:EMBEDDING_MODEL_API_URL:-https://api.openai.com/v1/embeddings}" |
||||
api_key = "${env:OPENAI_API_KEY}" |
Loading…
Reference in new issue