Commit Graph

1122 Commits

Author SHA1 Message Date
Lynn
993e84106b Fix: not use connect check result as model verify result (#18492) 2026-08-19 15:15:04 +08:00
js
d82c48eaf1 fix: allow .bmp uploads in filename type whitelist (#17830)
## Summary
- Frontend `Images` already includes `bmp`
(`web/src/constants/common.ts`), and picture parsing already accepts
`.bmp` (`internal/parser/parser/picture_parser.go`, `rag/app/picture.py`
via Pillow).
- This PR adds `bmp` to both whitelist sites and a small Go unit test.


Co-authored-by: zhangjiangshan1 <zhangjiangshan1@kingsoft.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 15:04:33 +08:00
jay77721
2a1a93ed3a refactor(extractor): unify 5-in-1 modular schema across dataset and pipeline, drop legacy field_name and custom prompt (#18432)
Refactor the Extractor component into a pure, unified **5-in-1 modular extraction engine** across both Dataset (`knowledgebase.parser_config`) and Pipeline (Canvas DSL).
2026-08-19 15:02:46 +08:00
mkaaad
b46180fa2c Fix: connector validation error (#18489)
surface connector validation error detail so test connect can return
detail error
2026-08-19 14:20:18 +08:00
mkaaad
d648d19137 feat(syncer): add Bitbucket connector with checkpoint resume (#18487)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-08-19 14:20:02 +08:00
D819
c466ff3b1a fix(llm): disable DeepSeek V4 thinking by default via extra_body (#18241)
## Summary
- Disable DeepSeek V4 thinking (chain-of-thought) by default.
- litellm 1.82.x drops `thinking: disabled`; carry the toggle through
`extra_body.thinking.type` and strip `reasoning_effort` to avoid the
400.
- Use local timezone for agent `sys.date` instead of UTC.

Reference: https://api-docs.deepseek.com/guides/thinking_mode

---------

Co-authored-by: Claude <claude@example.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude <noreply@anthropic.com>
2026-08-19 13:47:36 +08:00
Wang Qi
5f92323ced Fix ingestion pipeline child delimiter extra newline (#18490) 2026-08-19 13:47:09 +08:00
Lem0nTea2002
9fc3e22f0f docs(harness): fix package documentation link (#18428) 2026-08-19 12:46:45 +08:00
Lem0nTea2002
5a0bcf7858 docs(harness): fix AgentCore import aliases in examples (#18434)
### Summary

Fix two Harness README examples by aliasing
`ragflow/internal/harness/core` as `agentcore`.
2026-08-19 12:45:43 +08:00
buua436
31812e1de5 feat: improve Go wiki compilation (#18479)
Improve Go Wiki compilation with chunk-level MAP caching, topic-aware planning, entity/topic page merging, and correct source chunk counting.
2026-08-19 11:41:20 +08:00
Jack
746fe4f0b3 fix(deepdoc): align table header detection with Python (follow-up to #18404) (#18454) 2026-08-19 10:57:30 +08:00
zloglevel
6c0d091cc9 fix: make ScheduledTask lifecycle concurrency-safe (#18469)
### Summary

Fixes https://github.com/infiniflow/ragflow/issues/18468

Signed-off-by: zloglevel <loglevel@outlook.com>
2026-08-19 10:50:46 +08:00
Jack
b6b6c4de97 fix(deepdoc): score table orientation by per-line detect+recognize (#18452) 2026-08-18 22:48:39 +08:00
Jack
b78b559ac5 Remove noocr/SkipOCR dead code path and text-layer-only parity test (#18443) 2026-08-18 22:47:31 +08:00
ming1523
6756b48f10 test: add text&code parser-to-chunker parity golden (#18311) 2026-08-18 22:45:57 +08:00
mkaaad
a4ec4f84cf feat(go-syncer): add GitLab datasource connector with checkpoint resume (#18425) 2026-08-18 19:10:51 +08:00
Haruko386
2c8e73ab08 feat[Syncer]: implement Google Cloud Storage data source (#18420)
### Summary

As title
2026-08-18 18:19:31 +08:00
Haruko386
ab4adeecd2 feat[syncer]: implement notion data source (#18423)
### Summary

As title
2026-08-18 18:19:02 +08:00
Jack
c370f629dc fix(deepdoc): align Go table header detection with Python (parity #4) (#18404) 2026-08-18 17:24:19 +08:00
Haruko386
d99f461790 document[syncer]: add development document for syncer (#18431)
### Summary

As title
2026-08-18 17:20:34 +08:00
peewee92
89f3611248 fix(agent): make tag metadata searchable and sortable in agent list (#18313) 2026-08-18 17:17:03 +08:00
Lynn
b2baddfe77 Fix: verification error msg (#18437)
### Summary

As title.
2026-08-18 17:14:52 +08:00
Jack
06463f6a35 fix(deepdoc): preserve cross-page continuation rows on column-count mismatch (#18416) 2026-08-18 16:16:02 +08:00
Jack
5aeba40d99 chore(deepdoc): remove dead standalone DLA client, converge on inference.Client (#18384) 2026-08-18 16:14:37 +08:00
Jack
fb788ee7dc fix(deepdoc): assign each PDF box to a single table cell matching Python (#18410) 2026-08-18 15:13:41 +08:00
mkaaad
94a93748db Feat: connector go webdav (#18379)
as title
2026-08-18 15:01:53 +08:00
Jack
fa386ddf10 fix(deepdoc): drop per-cell OCR in Go table parser to align with Python (#18405) 2026-08-18 13:42:16 +08:00
Jack
97db1b4c38 chore(table): remove stale manual parity-issues test (#18403) 2026-08-18 13:18:57 +08:00
Jack
3a7e275155 fix(deepdoc): add orphan-row cleanup to Go table construction (parity with Python) (#18402) 2026-08-18 13:18:25 +08:00
Jack
d3ff25763c fix(deepdoc): align table orientation scoring with Python recognition confidence (#18401) 2026-08-18 13:18:09 +08:00
Jack
5ec11f7b07 fix(pdf): align TSR crop margin with Python (fixed 30px, not 3%) (#18387) 2026-08-18 13:11:41 +08:00
jay77721
c71991bb7a feat(ingestion,web): modularize extractor configuration with sub-tabs, independent prompts, and metadata integration (#18383)
This PR modularizes the **Extractor** component configuration with dedicated feature subtabs, adds independent system prompt configuration, fixes multi-node execution determinism and parameter persistence across save and page refresh, and ensures backward compatibility with legacy flat fields.
2026-08-18 11:38:52 +08:00
Haruko386
602f55deed feat[syncer]: add connection test with unified connector validation (#18281)
### Summary

as title
2026-08-18 11:30:29 +08:00
Jack
f94438adcc fix(parser): check every grid row, not just the first, before cross-page rebuild (#18378) 2026-08-18 09:45:46 +08:00
buua436
f5efff8d6d fix: exclude compiled artifacts from chunk lists (#18382) 2026-08-18 09:41:27 +08:00
Jin Hai
68f8260821 Go: fix context, part3 (#18390)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
2026-08-18 00:07:37 +08:00
Lem0nTea2002
110ed630bd fix(harness): honor node and engine retry policies in Pregel (#18388)
### Summary

Pregel nodes created with `AddNodeWithOptions` retain a node-level
`RetryPolicy`, but task construction dropped that policy. When a task
had no policy, execution also bypassed the engine-level policy
configured with `WithRetryPolicy` and instantiated the default policy
directly.
2026-08-17 21:27:18 +08:00
Jack
37b945c94d fix(ingestor): stop dropping tasks under burst parse backpressure (#18369)
Fixes the defect where selecting many files (e.g. 20+) in one dataset and starting parsing at once leaves most of them stuck in `RUNNING` forever: a few parse, the rest never do.
2026-08-17 19:09:58 +08:00
Jack
cb012380fe fix(deepdoc): trim garbage-gate comments, fix subtest fact error, dedupe constants (#18377) 2026-08-17 19:08:47 +08:00
questfever
52519e2fd7 refactor: replace Split in loops with more efficient SplitSeq (#18248) 2026-08-17 19:04:04 +08:00
Haruko386
ebb7bd29c6 fix[syncer]: cannot run prune task (#18344)
### Summary

As title
2026-08-17 18:43:44 +08:00
Haruko386
e32723ee36 feat[syncer]: implement outlook data source (#18350)
### Summary

As title
2026-08-17 18:43:15 +08:00
Haruko386
5a5f600ae3 fix: unable to search agent log by ID (#18373)
### Summary

As title
2026-08-17 18:42:45 +08:00
Jack
68da250f8f Fix cross-page merged tables dropping continuation rows (#18362) 2026-08-17 17:58:19 +08:00
Jack
7ceafa07f8 fix(deepdoc): drop low-confidence garbage DLA regions to match Python (#18365)
- The Go DLA client (`inference.Client.DLA`) kept `footer`/`header`/`reference` regions whose detection confidence was below 0.4.
- Python's production path (`parse_into_bboxes` -> `LayoutRecognizer.__call__`, `deepdoc/vision/layout_recognizer.py:97` and `:379`) drops such regions via a 0.4 garbage gate over
`garbage_layouts=['footer','header','reference']`.
- The shared `/predict/dla` backend runs `LayoutRecognizer.forward`, which does **not** apply that gate, so the Go client was the only place the filter was missing — a real Go<->Python parity gap.
2026-08-17 17:50:28 +08:00
Jack
bd01c78d2b fix(pdf): drop text boxes only when replaced by a table HTML (#18363)
## Problem
In the Go PDF pipeline, `processTablesWithReplacements`
(`internal/deepdoc/parser/pdf/table/table_post.go`) marked **every** box
overlapping a DLA table region for removal, then `insertTableBoxes`
re-inserted an HTML box only when `buildTableHTMLs` produced one.

When DLA over-labels a **text** box as a table but TSR produces **no
cells** (so `buildTableHTMLs` skips the table and `htmls[ti]` is unset),
the box was removed with nothing re-inserted — the original text was
**silently dropped**.
2026-08-17 17:07:56 +08:00
buua436
1ef4ddddec fix: align Go ingestion progress and pipeline selection (#18366)
Fixes Go ingestion progress reporting and pipeline selection:
- Add timestamps to document progress logs.
- Keep document duration and status updated during parsing.
- Start frontend polling immediately after parsing begins.
- Prevent documents explicitly using General from inheriting an old
dataset pipeline.
- Populate missing pipeline operation log fields.
- Remove stale component progress logs between retries.
- Prevent progress values greater than `1`.
2026-08-17 16:58:44 +08:00
Wang Qi
57b907cd1e Refactor: do not include compliation chunks in retrieval testing (#18364)
Retrieval Testing: do not include compilation result.
Search: include compilation result.
2026-08-17 16:19:05 +08:00
jay77721
3e38b6cacb fix(ingestion): unify extractor prompt placeholder rendering and per-chunk substitution (#18355) 2026-08-17 15:19:47 +08:00
Jack
0517aebb80 fix(parser): align Go spreadsheet HTML with Python and harden header detection (#18304)
Brings the Go `XLSX`/`XLS`/`CSV` parsers in line with the Python deepdoc spreadsheet HTML contract and improves header detection beyond it.
2026-08-17 15:17:14 +08:00