Commit 05603306 by 黄南光

wiki加入长期记忆,鉴权控制等

1 parent f2a8db86
......@@ -66,7 +66,7 @@ INGEST_WRITER_MAX_RETRIES = int(os.environ.get("INGEST_WRITER_MAX_RETRIES", "4")
# 长文分块摄入总开关。开=超阈值长文走分块 Map-Reduce 流水线;关=所有文档一律走原始三阶段摄入
# (无视下面的阈值)。取值 1/true/on 开、0/false/off 关。
INGEST_LONG_DOC_CHUNKING_ENABLED = os.environ.get(
"INGEST_LONG_DOC_CHUNKING_ENABLED", "true"
"INGEST_LONG_DOC_CHUNKING_ENABLED", "false"
).strip().lower() in ("1", "true", "yes", "y", "on")
# raw_content 字符数超过该阈值即走分块流水线(仅在上面开关打开时生效)。阈值内的整篇路径可稳定命中上下文缓存。
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!