This commit is contained in:
2026-03-24 18:07:22 +08:00
parent e062368ef2
commit 9a16f738d8
121 changed files with 8904 additions and 3940 deletions
+44 -5
View File
@@ -24,6 +24,7 @@ URL = http://led-gateway.lenovo.com:30089/intranet/qwen3-next-80b-a3b-instruct/v
url = http://ipc.lenovo.com/gateway/bgs-ai/Report/fetchData
llzAppkey = e0578e6a-f045-4f3e-93c0-5957c8b1915e
llzSercret = BFhItTCY5FqgtHAdn0eaxAGix/25oR8YfxYKfSPgrJb8zxYG06kBeoip0DEGjekfh43223atdBDXBwUmw18NXp/2piZamnUwlFWYFAGfpBCwy3K+921KI5ZaWRWcMCCcCKOYF/2feMg72owUhno2JXqSUcb8HBhang==
default_rows = 1000
[ragflow]
@@ -34,21 +35,59 @@ retrieval_top_k = 3
cache_ttl = 600
table_retrieval_dataset_id = 9945baf512ea11f18ccb6a681b3130b2
sql_gen_dataset_id = ee68f53a12ec11f18e436a681b3130b2
default_table_name = apbo_eta_ful
[redis]
enabled = true
host = ipc-redis.lenovo.com
port = 30401
password = bgs123456
database = 2
sql_prompt_ttl = 600
# 是否使用 Redis 作为 SQL 提示词主存储(启用后优先从 Redis 读取)
sql_prompt_redis_primary = true
[stream]
progress_interval = 0.3
[conversation]
# 是否启用按会话自动续接上下文的多轮对话
enable_multi_turn = false
# 对话记忆最大消息数(默认 10 条,约 5 轮对话)
# 每条对话包含用户消息和 AI 回复,10 条消息约等于 5 轮完整对话
max_history_messages = 10
# 是否启用记忆压缩(可选,未来扩展)
enable_memory_compression = false
# 记忆压缩阈值(超过此数量时触发压缩,未来扩展)
compression_threshold = 8
[logging_mysql]
enabled = true
entity_debug_enabled = false
host = 10.122.132.204
port = 3306
user = root
password = bgs20250901
database = ipc_apbo
table = structured_logs
messages_table = ipc_apbo.messages
conversation_table = ipc_apbo.conversations
connect_timeout = 5
[app]
service_name = local-model-streaming-api
service_name = apbo-boat-agent
host = 0.0.0.0
port = 8000
port = 26004
version = 1.0.0
[nacos]
enabled = false
enabled = true
server = 10.122.132.204:8848
namespace = prod
group_name = BGS
namespace = apbo_dev
group_name = apbo
username = nacos
password = bgs20250901
# 可选:仅用于 Nacos 注册的端口(不影响应用监听端口 app.port)
register_port = 26004