Byron Wang
4727b0df96
Merge main into knowledge boundaries and reconcile indexing contracts
2026-11-28 21:07:54 -08:00
MindOfqc
cdb6e4ff13
test(api): bring the word extractor tests under strict pyrefly ( #46387 )
2026-11-29 03:35:18 +00:00
Byron Wang
80f814a09f
Merge main into the knowledge retrieval boundary refactor
2026-11-28 14:59:51 -08:00
Chih-Yun Lin and Claude Opus 5.5
580416dd10
refactor(api): drop global db.session from PDF and Word image extraction ( #46113 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-23 16:56:48 +00:00
杰尼龟
da347d4e0a
perf(api): avoid converting all keyword postings to sets for search ( #46887 )
2026-11-23 02:53:41 +00:00
Byron Wang
0c16845a68
Merge main into knowledge boundaries and preserve invitation concurrency
2026-11-19 15:57:33 +08:00
林玮 (Jade Lin)
733454eae3
feat(api): enforce moderation for Cloud AI-credit model calls ( #45987 )
2026-11-18 02:48:29 +00:00
Jyong and Claude Fable 5.2
9cbb4e42e3
fix(api): bound upload reference parsing and stop locking keyword reads
...
- Scan Markdown preview links with linear regexes instead of rendering
through python-markdown; a 40 KB crafted input took ~45 s before.
- Accept only UUID-shaped ids from free text and treat text-linked files
as best-effort: lock them when the tenant owns them, ignore them
otherwise, so foreign or stale preview links no longer fail writes.
Structured references keep hard validation.
- Drop the exclusive Redis lock from the jieba keyword read path.
- Treat pipeline invoke-entity file cleanup as best-effort.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com >
2026-11-17 15:35:50 +08:00
yetuge and Asuka Minato
09d621d395
test(api): bring the base index processor tests under strict pyrefly ( #45970 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-11-16 14:56:14 +00:00
Byron Wang
2b8ed9a1d7
Merge main into stack/knowledge-01-boundaries
2026-11-11 13:42:13 +08:00
bingtang
7c34331579
fix(rag): strip URL query/fragment before deriving file suffix in load_from_url ( #43338 )
2026-11-09 23:15:44 +00:00
xuan
b29552aae0
fix: keep the docx external image extension when Content-Type has parameters ( #45816 )
2026-11-09 16:48:58 +00:00
Paul Y Hui and Claude Opus 5.5
a8eeb467cc
refactor(api): stop holding a database session across embedding model calls ( #45788 )
...
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-08 06:23:28 +00:00
AlexMultiAgent and Byron Wang
db530adfa9
fix(rag): close downloaded temp file before reopening it in WordExtractor ( #39894 )
...
Co-authored-by: Byron Wang <byron@dify.ai >
2026-11-08 05:43:48 +00:00
Byron Wang
f5fd2a22c2
Merge concurrent keyword retrieval update into conflict resolution
2026-11-06 13:20:40 +08:00
Byron Wang
f182638e12
perf(rag): load only matched keyword segments
2026-11-06 13:10:50 +08:00
Byron Wang
717cc63143
Merge main into knowledge application boundary refactor
2026-11-06 13:07:12 +08:00
lianbie and zhoufazhao
686b51f0d7
fix(rag): keep embedding vectors aligned when one in a batch is dropped ( #45569 )
...
Co-authored-by: zhoufazhao <fazhao.zhou@wetrial.com >
2026-11-05 13:03:13 +00:00
Xizhuo
b379533805
docs: fix the WaterCrawlWebExtractor Args block ( #42304 )
2026-11-04 16:50:39 +00:00
Byron Wang
2332ec78de
Merge latest main and preserve Notion extraction boundaries
...
Retain the CI fixes while incorporating strict Notion table response validation, empty-page pagination, and current main behavior.
2026-11-04 21:01:05 +08:00
Byron Wang
d9d1e9c2ba
fix(api): align knowledge contracts and current keyword reads
...
Use locking current reads for keyword state under MySQL repeatable read, preserve concurrent updates and caller ORM snapshots, and align migrated test fixtures with their current application and repository contracts.
2026-11-04 20:53:36 +08:00
cd5c89a8af
fix(notion-extractor): guard against empty table row results ( #37836 )
...
Co-authored-by: Byron Wang <byron@dify.ai >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2026-11-04 12:41:23 +00:00
citizen204 and Byron Wang
6b98dc0655
fix: strip reasoning/thinking blocks from knowledge base summary output ( #38623 )
...
Co-authored-by: Byron Wang <byron@dify.ai >
2026-11-04 12:34:26 +00:00
Byron Wang
fdc59df443
Merge main into knowledge application boundary refactor
...
Resolve conflicts while preserving knowledge application boundaries and current main behavior for model validation, converted-file downloads, token scope, strict pagination, and tracing.
2026-11-04 20:34:13 +08:00
937fdb49a8
feat: retrieve external_documents add doc_metadata ( #22496 )
...
Co-authored-by: profilechenyang <profilechenyang@didiglobal.com >
Co-authored-by: Byron.wang <byron@dify.ai >
2026-11-04 08:14:02 +00:00
fe6d3a9176
fix: non-ASCII separators broken in FixedRecursiveCharacterTextSplitter ( #33119 )
...
Co-authored-by: fisher <1186907891@qq.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-11-04 06:44:30 +00:00
ChengFa
312c2c28a3
fix(rag): reject negative segmentation overlap before indexing ( #45455 )
2026-11-03 11:41:04 +00:00
-LAN-
43d8c3715a
refactor(tracing): one trace pipeline behind a minimal provider interface ( #44673 )
2026-11-02 12:16:49 +08:00
Byron Wang
24f8702174
Merge main into knowledge service boundary refactor
2026-10-30 16:48:14 +08:00
Byron Wang
87c6d94564
refactor(api): clarify knowledge service boundaries and resource lifecycles
2026-10-30 16:13:53 +08:00
yetuge
7904c8acb2
fix(api): honor explicit zero top_k in dataset retrieval paths ( #42980 )
2026-10-30 04:58:15 +00:00
lorenzozane
daba8dc381
fix(api): preserve headings inside fenced Markdown ( #43434 )
2026-10-30 04:56:36 +00:00
Sourav Rajvi
ec809d436a
fix(rag): render integer CSV column labels in CSVExtractor ( #43505 )
2026-10-30 04:55:56 +00:00
7cfaaa7da7
fix(rag): surface Notion database HTTP errors ( #44893 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-10-30 04:49:09 +00:00
Winoren and Crazywoola
04aee9d906
fix(rag): identify DOCX images by relationship type ( #44905 )
...
Co-authored-by: Crazywoola <100913391+crazywoola@users.noreply.github.com >
2026-10-30 04:48:44 +00:00
Winoren and Stream
a8e39b3036
fix(rag): preserve already-decoded EML text ( #44953 )
...
Co-authored-by: Stream <Stream_2@qq.com >
2026-10-29 11:18:14 +00:00
FFXN
6af924cd9f
fix: resolve Notion page listing and document import failures ( #45053 )
2026-10-29 08:04:29 +00:00
uhhgxg
e08b084b19
fix(api): stop accumulating duplicate extracted PDF images on repeated previews ( #44684 )
2026-10-29 01:58:19 +00:00
-LAN-
1e3cf51bdc
refactor(rag): change epub parser ( #44836 )
2026-10-26 15:38:49 +00:00
Tianyu Cai and Asuka Minato
4caa56f9e1
fix: include documents without the metadata key in negative metadata filters ( #44753 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-10-26 03:48:59 +00:00
fd2db63184
feat: KnowledgeFS and New Knowledge ( #44165 )
...
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: hjlarry <hjlarry@163.com >
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: zhaohao1004 <zhaohao1004@gmail.com >
Co-authored-by: yyh <yuanyouhuilyz@gmail.com >
Co-authored-by: FFXN <lizy@dify.ai >
2026-10-23 03:34:59 +00:00
7445e48323
chore: port Document to TypeBase ( #36084 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Codex <codex@openai.com >
2026-10-23 02:56:00 +00:00
Eddy ZHANG
0ebe43fee2
refactor(api): type-check vector store provider unit tests ( #44458 )
2026-10-21 09:01:19 +00:00
6f434baf93
ci: enable Ruff B904 ( #44121 )
...
Co-authored-by: Codex <codex@openai.com >
Co-authored-by: hjlarry <hjlarry@163.com >
2026-10-19 12:47:53 +00:00
Eddy ZHANG and Asuka Minato
e3e1c39315
refactor(api): bring vector store provider sources under type checking ( #44237 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
2026-10-19 00:16:02 +00:00
lorenzozane
743be5c638
fix(rag): preserve newlines in recursive character fallback ( #44179 )
2026-10-16 11:43:09 +00:00
Asuka Minato and Codex
6bdc670766
ci: enable Ruff N806 ( #44116 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-16 02:11:01 +00:00
c30c19b83a
ci: enable Ruff UP007 ( #44106 )
...
Co-authored-by: Codex <codex@openai.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-10-16 01:34:03 +00:00
Asuka Minato and Codex
1f3fdbc0d3
ci: enable Ruff SIM105 ( #44112 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-15 11:14:20 +00:00
Asuka Minato and Codex
cd8301a468
ci: enable Ruff SIM108 ( #44113 )
...
Co-authored-by: Codex <codex@openai.com >
2026-10-15 09:45:52 +00:00