Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
黄南光
/
wiki_knowledge
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 05603306
authored
Jul 30, 2026
by
黄南光
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
wiki加入长期记忆,鉴权控制等
1 parent
f2a8db86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
config.py
config.py
View file @
0560330
...
@@ -66,7 +66,7 @@ INGEST_WRITER_MAX_RETRIES = int(os.environ.get("INGEST_WRITER_MAX_RETRIES", "4")
...
@@ -66,7 +66,7 @@ INGEST_WRITER_MAX_RETRIES = int(os.environ.get("INGEST_WRITER_MAX_RETRIES", "4")
# 长文分块摄入总开关。开=超阈值长文走分块 Map-Reduce 流水线;关=所有文档一律走原始三阶段摄入
# 长文分块摄入总开关。开=超阈值长文走分块 Map-Reduce 流水线;关=所有文档一律走原始三阶段摄入
# (无视下面的阈值)。取值 1/true/on 开、0/false/off 关。
# (无视下面的阈值)。取值 1/true/on 开、0/false/off 关。
INGEST_LONG_DOC_CHUNKING_ENABLED
=
os
.
environ
.
get
(
INGEST_LONG_DOC_CHUNKING_ENABLED
=
os
.
environ
.
get
(
"INGEST_LONG_DOC_CHUNKING_ENABLED"
,
"
tru
e"
"INGEST_LONG_DOC_CHUNKING_ENABLED"
,
"
fals
e"
)
.
strip
()
.
lower
()
in
(
"1"
,
"true"
,
"yes"
,
"y"
,
"on"
)
)
.
strip
()
.
lower
()
in
(
"1"
,
"true"
,
"yes"
,
"y"
,
"on"
)
# raw_content 字符数超过该阈值即走分块流水线(仅在上面开关打开时生效)。阈值内的整篇路径可稳定命中上下文缓存。
# raw_content 字符数超过该阈值即走分块流水线(仅在上面开关打开时生效)。阈值内的整篇路径可稳定命中上下文缓存。
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment