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 e22aab89
authored
Aug 05, 2026
by
黄南光
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
完善wiki-oa功能新增知识库配置,新增skills配置
1 parent
984a79c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
config.py
config.py
View file @
e22aab8
...
@@ -105,7 +105,7 @@ INGEST_WRITER_MAX_RETRIES = int(os.environ.get("INGEST_WRITER_MAX_RETRIES", "4")
...
@@ -105,7 +105,7 @@ INGEST_WRITER_MAX_RETRIES = int(os.environ.get("INGEST_WRITER_MAX_RETRIES", "4")
# ---------------------------- 长文档分块(Map-Reduce) ----------------------------
# ---------------------------- 长文档分块(Map-Reduce) ----------------------------
# 超阈值长文走分块流水线,短文档保持整篇路径不变。
# 超阈值长文走分块流水线,短文档保持整篇路径不变。
# 总开关:开=超阈值长文走分块 Map-Reduce;关=所有文档一律走原始三阶段摄入(无视下面阈值)。
# 总开关:开=超阈值长文走分块 Map-Reduce;关=所有文档一律走原始三阶段摄入(无视下面阈值)。
INGEST_LONG_DOC_CHUNKING_ENABLED
=
_env_bool
(
"INGEST_LONG_DOC_CHUNKING_ENABLED"
,
"
fals
e"
)
INGEST_LONG_DOC_CHUNKING_ENABLED
=
_env_bool
(
"INGEST_LONG_DOC_CHUNKING_ENABLED"
,
"
tru
e"
)
# raw_content 字符数超此阈值即走分块(仅在上面开关打开时生效)。阈值内的整篇路径可稳定命中上下文缓存。
# raw_content 字符数超此阈值即走分块(仅在上面开关打开时生效)。阈值内的整篇路径可稳定命中上下文缓存。
INGEST_LONG_DOC_THRESHOLD_CHARS
=
int
(
os
.
environ
.
get
(
"INGEST_LONG_DOC_THRESHOLD_CHARS"
,
"30000"
))
INGEST_LONG_DOC_THRESHOLD_CHARS
=
int
(
os
.
environ
.
get
(
"INGEST_LONG_DOC_THRESHOLD_CHARS"
,
"30000"
))
...
...
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