2426 Commits

Author SHA1 Message Date
Jin Hai
cf13082a1a Revert "feat: Go knowledge compiler with scheduler-driven dataset compilation" (#17897)
Reverts infiniflow/ragflow#17881
2026-08-05 21:50:28 +08:00
Zhichang Yu
14b943a04a feat: Go knowledge compiler with scheduler-driven dataset compilation (#17881)
Ports the dataset knowledge compilation (wiki/graph/tree/mindmap) to the
Go scheduler with a status contract, aligns wiki storage/retrieval with
Python, and sizes prompts by content_length.
2026-08-05 20:00:42 +08:00
chanx
f3be551241 fix(agent): make global variable form fields reactive to i18n language changes (#17883) 2026-08-05 19:39:54 +08:00
chanx
2dfb34f7ab feat(agent-list): support multi-select canvas category filtering (#17843) 2026-08-05 19:32:45 +08:00
chanx
b2fea8ee66 fix: enhance agent tags display with tooltip for better visibility (#17879) 2026-08-05 19:27:05 +08:00
balibabu
24c0a77a3e Fix: The download button is displayed on the agent dialog page shared externally. (#17880) 2026-08-05 19:26:42 +08:00
chanx
91dcecd2b9 Fix: applying model config in one multi-chat card no longer overrides sibling cards (#17866) 2026-08-05 17:11:33 +08:00
balibabu
479c3efd74 Fix: The hover card referenced in the agent's floating dialog box is not fully displayed. (#17867) 2026-08-05 17:10:01 +08:00
chanx
fe02f5402f feat: add more file type preview support in document viewer (#17872) 2026-08-05 17:09:03 +08:00
balibabu
fd6d5faceb Fix: Remove CompilationTemplateFormField from dataset setting page. (#17852) 2026-08-05 15:59:57 +08:00
balibabu
affad91b08 Fix: Add an icon to the tag on the agent card to distinguish it from the wiki card type. (#17847) 2026-08-05 15:58:06 +08:00
chanx
1227c88c1d fix(knowledge-base): display embedding model friendly name in datasetlabel (#17842) 2026-08-05 15:57:04 +08:00
euvre
0a444343b9 Fix: dataset tag file setting cannot be saved (#17428) 2026-08-05 15:55:34 +08:00
balibabu
f5cdd0160e Fix: Switching back and forth between the wiki template's custom options caused the Instructions to disappear. (#17805) 2026-08-05 10:57:25 +08:00
balibabu
b0061fb4cc Feat: Remove the pageindex option from the extraction operator. (#17826) 2026-08-05 10:57:10 +08:00
chanx
9b81112db0 fix(list-filter-bar): correct nested filter to prune non-matching children (#17814) 2026-08-05 10:56:52 +08:00
EthanZhang
bdcd8aadde feat(chat): add Querit web search provider (#17813) 2026-08-05 09:54:46 +08:00
balibabu
4d9c62ab39 Fix: The tool icon for the agent operator created from the template is not clickable. (#17794) 2026-08-04 17:18:28 +08:00
chanx
404b47c79e Fix: Increase the height of the system prompt text area in Memory. (#17793) 2026-08-04 16:08:13 +08:00
balibabu
a18853abea Fix: The dataset for the retrieval operator of the agent created from the template cannot be selected. (#17760) 2026-08-04 15:22:26 +08:00
chanx
912a72874e fix(file-manager): resolve knowledge base names in link-to-dataset dialog for correct optimistic update (#17781) 2026-08-04 15:16:16 +08:00
Wang Qi
61dd263230 Fix agent stop chat should not cancel the task (#17769) 2026-08-04 13:31:57 +08:00
chanx
d163689fb9 fix(file-manager): strip folder path from upload filename to prevent extra folder creation (#17765) 2026-08-04 13:25:59 +08:00
chanx
1c59a4f150 feat(message-input): add custom drag-to-resize handle at top border (#17746) 2026-08-04 10:46:14 +08:00
chanx
190b903311 Fix: Resolved issue where the default model could not be deleted. (#17755) 2026-08-04 10:37:20 +08:00
Lynn
11b2dfcfdd Fix: handle llm_setting switch (#17745) 2026-08-04 10:02:14 +08:00
Haruko386
9adcd59586 fix(provider): support editing fetched model types before save (#17728)
### Summary

As title

now can edit
2026-08-03 18:07:41 +08:00
euvre
f9fd764c4e Fix overlapping CJK text lines in docx file preview (#17693) 2026-08-03 17:56:06 +08:00
euvre
8b83c52966 fix(web): MCP edit dialog cancel/save buttons not closing (#17713) 2026-08-03 17:53:25 +08:00
balibabu
f116001b1d Fix: The agent version page exported an incorrect DSL format. (#17736) 2026-08-03 17:52:53 +08:00
chanx
fe9167ac18 fix: fix the filter error in dataset page (#17734) 2026-08-03 17:49:31 +08:00
buua436
9ccb23e661 fix: align pipeline delimiter chunking (#17723) 2026-08-03 17:47:08 +08:00
buua436
3e7cfbe052 refa: simplify RAPTOR tree clustering and configuration (#17614) 2026-08-03 17:46:50 +08:00
buua436
8ac047d11a fix: synchronize chat model configuration (#17717) 2026-08-03 16:43:53 +08:00
balibabu
a12dee5524 Fix: On the second page of agent version, switch the page size to empty. (#17732) 2026-08-03 16:41:59 +08:00
balibabu
10db22c756 Fix: Every variable in the chat settings is required. (#17727) 2026-08-03 16:41:47 +08:00
balibabu
8494f242d7 Fix: In the model settings, setting the degree of freedom to 0 and then saving caused the DeepSeek model call to fail. (#17725) 2026-08-03 16:41:33 +08:00
Kevin Hu
3b4a96d421 Refactor: refine wiki plan procedure. (#17579)
### Summary

Refine wiki plan procedure.

---------

Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com>
Co-authored-by: buua436 <sz_buua@foxmail.com>
2026-08-03 16:03:17 +08:00
euvre
59b682e6a4 Fix: false success toast when deleting non-existent Langfuse config (#17719) 2026-08-03 15:51:32 +08:00
balibabu
62457075d4 Fix: Accidentally deleted the previously selected chat. (#17710) 2026-08-03 13:45:35 +08:00
balibabu
cb28bd4e7e Fix: Upload an image without filling in any text and press Enter; the image should not disappear. (#17632) 2026-08-03 13:09:13 +08:00
balibabu
5aa60cbb67 Fix: Deleting temporary chat resulted in an error. (#17694) 2026-08-03 11:49:12 +08:00
S
d4ceeee4ed refactor(nlp): collapse 6 delimiter-parser implementations into one canonical helper (#17383) (#17387)
## Summary

Six sites used to read the same `parser_config.delimiter` field with
divergent grammars:

- `rag.nlp.get_delimiters` (PDF/DOCX/HTML/EPUB/JSON/CSV/XLSX/email/book)
- `rag.nlp.naive_merge` (custom-delimiter branch)
- `rag.nlp.naive_merge_with_images`
- `rag.nlp._build_cks`
- `deepdoc.parser.txt_parser.parser_txt` (.txt, code)
-
`deepdoc.parser.markdown_parser.MarkdownElementExtractor.get_delimiters`

The six implementations disagreed on bare-vs-wrapped chars, dedupe, sort
order, CRLF normalization, and `re.I` (#17384). The shipped default ``
`\n!?;。;!?` `` was a no-op for `.md` because the markdown path only
matched backtick-wrapped tokens.

## Changes

- **new:** `rag/nlp/delim.py` with `parse_delimiter_field` and
`compile_delimiter_pattern`. Single source of truth. CRLF normalization
at the top; longest-first stable sort; insertion-ordered dedupe; no
`re.I`.
- **refactor:** all six call sites delegate to the helper.
  - `rag/nlp/__init__.py::get_delimiters` becomes a thin shim.
- `deepdoc/parser/txt_parser.py::parser_txt` drops the
`[encode/decode/unicode_escape]` round-trip.
- `deepdoc/parser/markdown_parser.py::get_delimiters` honors bare chars
(fixes [1]).
- **tests:** `test/unit_test/rag/test_delim.py` (85 tests) — helper,
acceptance table, frontend parity, static guard against re-inlining.
- **tests:** `test/unit_test/rag/test_delimiter_case_sensitive.py` (from
#17386) updated to retarget the static check at the new helper +
AST-based broader scan.

## Acceptance criteria

- All six sites produce the same regex pattern for the same input.
- Shipped default keeps working for `.txt` / `.pdf` / `.docx`.
- Shipped default for `.md` now splits (was a silent no-op).
- Tooltip example `` `\n##;` `` produces three effective delimiters
regardless of file type.
- Bare whitespace inputs split on every occurrence.
- Backtick-wrapped whitespace splits only on the exact N-char sequence.
- CRLF-line-ending documents split identically to LF-line-ending
documents.
- 123 tests pass (85 new + 38 existing).

## Rebase protocol

As #17385 and #17386 evolve, this branch will be rebased on top. The
only overlap between this PR's diff and the other two is
`test_delimiter_case_sensitive.py`, where #17383 modifies the static
check to point at the new helper location.

---------

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-08-02 17:07:14 +08:00
Wang Qi
f03a00c54c Update wording for empty response to support only Naive (#17651) 2026-07-31 19:15:05 +08:00
euvre
e1f724b691 Fix: Enforce the 4 MB size limit for avatar image uploads (#17642) 2026-07-31 19:04:10 +08:00
Zhichang Yu
29287ef74b refactor(knowledge_compiler): derive variant from template kind via single template id (#17630)
## Summary

Refactor the Go `KnowledgeCompilerComponent` so its parameter is a
**single string template id** instead of a DSL-level `variant` (or
plural group id list). The `variant` is no longer in the DSL — it is now
**derived at runtime from the resolved compilation template's `kind`
field**.

This aligns the Go ingestion port with the frontend Compiler operator,
which emits a singular `compilation_template_group_id` and does not
write `variant` into the generated `compiler.json`.
2026-07-31 18:01:55 +08:00
Wang Qi
9db2e2314a Refine knownledge compilation REST APIs (#17624) 2026-07-31 17:05:57 +08:00
balibabu
4f058667ff Feat: Remove "page index" and "use kg" from chat and retrieval form. (#17627) 2026-07-31 16:40:53 +08:00
balibabu
ec7a9797cb Fix: The wiki's claim card does not display the title. (#17626) 2026-07-31 16:28:55 +08:00
balibabu
f2a45aab14 Fix: Blueprints cannot be displayed when selecting wiki. (#17618) 2026-07-31 15:05:47 +08:00