From fc95d113c3a8f8436baafcfe2a8f4e9634226f00 Mon Sep 17 00:00:00 2001 From: Liu An Date: Wed, 10 Sep 2025 16:39:26 +0800 Subject: [PATCH] Feat(config): Update service config template new defaults (#10029) ### What problem does this PR solve? - Update default LLM configuration with BAAI and model details #9404 - Add SMTP configuration section #9479 - Add OpenDAL storage configuration option #8232 ### Type of change - [x] New Feature (non-breaking change which adds functionality) --- docker/service_conf.yaml.template | 37 ++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/docker/service_conf.yaml.template b/docker/service_conf.yaml.template index c36e921c9..5db35b9c7 100644 --- a/docker/service_conf.yaml.template +++ b/docker/service_conf.yaml.template @@ -29,7 +29,6 @@ redis: db: 1 password: '${REDIS_PASSWORD:-infini_rag_flow}' host: '${REDIS_HOST:-redis}:6379' - # postgres: # name: '${POSTGRES_DBNAME:-rag_flow}' # user: '${POSTGRES_USER:-rag_flow}' @@ -65,15 +64,26 @@ redis: # secret: 'secret' # tenant_id: 'tenant_id' # container_name: 'container_name' +# The OSS object storage uses the MySQL configuration above by default. If you need to switch to another object storage service, please uncomment and configure the following parameters. +# opendal: +# scheme: 'mysql' # Storage type, such as s3, oss, azure, etc. +# config: +# oss_table: 'opendal_storage' # user_default_llm: -# factory: 'Tongyi-Qianwen' -# api_key: 'sk-xxxxxxxxxxxxx' -# base_url: '' +# factory: 'BAAI' +# api_key: 'backup' +# base_url: 'backup_base_url' # default_models: -# chat_model: 'qwen-plus' -# embedding_model: 'BAAI/bge-large-zh-v1.5@BAAI' -# rerank_model: '' -# asr_model: '' +# chat_model: +# name: 'qwen2.5-7b-instruct' +# factory: 'xxxx' +# api_key: 'xxxx' +# base_url: 'https://api.xx.com' +# embedding_model: +# name: 'bge-m3' +# rerank_model: 'bge-reranker-v2' +# asr_model: +# model: 'whisper-large-v3' # alias of name # image2text_model: '' # oauth: # oauth2: @@ -109,3 +119,14 @@ redis: # switch: false # component: false # dataset: false +# smtp: +# mail_server: "" +# mail_port: 465 +# mail_use_ssl: true +# mail_use_tls: false +# mail_username: "" +# mail_password: "" +# mail_default_sender: +# - "RAGFlow" # display name +# - "" # sender email address +# mail_frontend_url: "https://your-frontend.example.com"