fix(platform): 汇总知识库问答与图表展示修复

This commit is contained in:
HTEWJ\26070045 committed 2026-08-06 17:07:31 +08:00
1 parent 9838b77441
commit e7ff6bc2dd
41 files changed
+2100 -795

No files matched your search

+3 -3
View File
@@ -53,12 +53,12 @@
| 键 | 默认值 | 含义 |
| --- | --- | --- |
| `KB_DIFY_PROCESS_MODE` | `automatic` | 非 Excel/CSV 文档的 Dify 分段模式 |
| `KB_DIFY_PROCESS_MODE` | `custom` | 非 Excel/CSV 文档的 Dify 分段模式;按空行保留标题、规则和例外条件组成的完整知识单元 |
| `KB_DIFY_PROCESS_MODE_EXCEL` | `custom` | xlsx / xls / csv 专用分段模式 |
| `KB_DIFY_SEGMENT_SEPARATOR` | `\n\n`(env 写 `\\n\\n`) | custom 模式通用分隔符 |
| `KB_DIFY_SEGMENT_SEPARATOR_EXCEL` | `\n\n` | Excel/CSV custom 分隔符,与 table_linearize 对齐 |
| `KB_DIFY_SEGMENT_MAX_TOKENS` | `800` | custom 模式 max_tokens |
| `KB_DIFY_SEGMENT_CHUNK_OVERLAP` | `50` | custom 模式 chunk_overlap |
| `KB_DIFY_SEGMENT_MAX_TOKENS` | `600` | custom 模式 max_tokens |
| `KB_DIFY_SEGMENT_CHUNK_OVERLAP` | `100` | custom 模式 chunk_overlap,保留相邻段落的必要上下文 |
| `KB_DIFY_REMOVE_URLS` | `false` | 映射 Dify `remove_urls_emails`;RoHS 等表含 PDF 链接,默认关闭 |
`.env` 示例: