qinling0210
c5ff2bced5
Refine agentic RAG phase logging ( #18228 )
...
### Summary
Refine agentic RAG phase logging
example:
```
2026-08-13 17:25:06,733 INFO 2434554 [Agentic RAG] LLM usage by phase: phase llm_calls prompt_tok output_tok total_tok time(s)
formalize 1 389 151 540 1.7
route 1 287 234 521 2.7
planner 1 11857 832 12689 6.8
orchestrator round 1 0 0 0 0 171.5
claim_research (2) 8 82519 23146 105665 131.0
sufficiency 2 10122 1709 11831 15.0
grounded 1 5846 3232 9078 24.7
finalize 2 9945 2228 12173 19.9
total: 16 LLM calls, 152497 tokens
```
2026-08-13 20:15:24 +08:00
qinling0210
a6dcc0f665
Add dataset navigation search for agentic RAG ( #18218 )
...
### Summary
Add dataset navigation search for agentic RAG.
dataset_navigation_search() calls
dataset_api_service.search_dataset_layers with mode as "nav_doc"
2026-08-13 17:35:24 +08:00
Wang Qi
7e536c7614
Fix agentic chat low/medium cannot answer the table content ( #18196 )
2026-08-13 14:40:31 +08:00
Yingfeng
fbcb8656ca
Revert "Refine agentic search & orchestration loop" ( #18108 )
2026-08-11 18:53:49 +08:00
qinling0210
d49af7f218
Generate navigation, navigation search ( #18096 )
...
### Summary
2 API
POST /api/v1/datasets/{dataset_id}/navigation
GET
/api/v1/datasets/{dataset_id}/navigation/search?q={query}&mode={mode}&top_k={topk}
2 cli
uv run --no-sync python3 admin/client/ragflow_cli.py -h 127.0.0.1 -p
9380 -t user
ragflow> GENERATE NAVIGATION OF DATASET 'frames tree';
ragflow> NAVIGATION SEARCH 'Christie introduced blockchain-based digital
passports' IN DATASET 'frames tree' MODE 'all' topk 20;
(mode: chunk, nav_cluster, nav_doc, navigation_tree, all)
2026-08-11 17:48:24 +08:00
Yingfeng
f1641228e2
Refine agentic search & orchestration loop ( #18057 )
...
## Summary
This PR improves the RAGFlow agentic-search path in three areas: it
stops the outer agent from re-looping over the same rag call, lets the
medium thinking mode discover and follow new sub-claims mid-loop, and
strengthens retrieval by having the LLM emit synonym-rich queries with
time/date/number terms boosted.
1. Avoid the outer re-loop — keep all multi-hop cycles inside agentic
RAG
2. Dynamic claims in medium mode — keep querying newly discovered
sub-questions
medium now enables allows_dynamic_claims. During orchestration, when
claim analysis discovers a new required sub-question
(discovered_claims), the loop spawns it as a new ClaimTarget and
continues searching it in subsequent cycles (bounded by the
dynamic-claim budget) instead of stopping. Also added:
3. Stronger query strategy — synonym-rich queries + time/date/number
weighting
LLM-generated synonyms: the claim-analysis prompt now instructs the
model to write each next_queries entry as a retrieval-boosted query that
actively folds in entity aliases, DATE/TIME synonyms (e.g. 1994 → 1994,
66th Academy Awards), and number/unit variants (e.g. 1.95 m → 6 ft 5
in).
Time/date/number boosting: query.py boosts numeric/date tokens to a high
weight (_NUM_DATE_TOKEN_RE).
2026-08-11 13:40:11 +08:00
Yingfeng
b5bffa0fa3
Refine sufficient check using LLM draft ( #18028 )
2026-08-10 11:44:47 +08:00
Yingfeng
4cc2dbc067
More stable sufficient check for agentic search ( #17962 )
2026-08-07 22:10:22 +08:00
Wang Qi
ba7d65a4ec
Fix medium thinking chat failed in thinking ( #18008 )
2026-08-07 21:39:24 +08:00
Wang Qi
993b41b7b1
Append attachments content to last message ( #17993 )
2026-08-07 16:04:19 +08:00
Kevin Hu
a25ff22aca
Refactor: check the evidences while formalize answer. ( #17951 )
...
### Summary
Check the evidences while formalize answer.
2026-08-07 14:51:54 +08:00
Yingfeng
1b8151a1f6
Refine agentic search ( #17900 )
2026-08-06 19:42:05 +08:00
Wang Qi
e35956bcc4
Fix attachments not take effect in agentic chat ( #17895 )
2026-08-06 11:12:22 +08:00
Kevin Hu
d2183e610d
Fix: Adjust ExecutionStrategy of THINKING_MODES. ( #17862 )
...
### Summary
Adjust ExecutionStrategy of THINKING_MODES.
2026-08-05 19:41:00 +08:00
Kevin Hu
510e1197c6
Fix: graph explore bug. ( #17829 )
...
### Summary
Fix: graph explore bug.
2026-08-05 14:00:45 +08:00
EthanZhang
bdcd8aadde
feat(chat): add Querit web search provider ( #17813 )
2026-08-05 09:54:46 +08:00
Kevin Hu
fac40e5103
Refactor: Make wiki and web searchable. ( #17789 )
...
### Summary
Refine wiki and web searchable.
Closes #17638
2026-08-04 18:02:13 +08:00
Wang Qi
d236fc4437
Let agentic rag search honor metadata filter ( #17731 )
2026-08-04 10:35:21 +08:00
Kevin Hu
3f8a3dfcff
Feat: Compilation benefit naive rag. ( #17555 )
...
### Summary
Compilation benifit naive rag
---------
Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com >
2026-07-30 18:39:01 +08:00
Wang Qi
4592d06a67
Fix deepcopy the chat model ( #17560 )
2026-07-30 14:29:24 +08:00
Kevin Hu
06562cb03d
Refactor: the tool usage in agent search progress ( #17490 )
...
### Summary
Refactor: the tool usage in agent search progress
2026-07-29 15:39:20 +08:00
Kevin Hu
f9e47ae0b9
Feat: More APIs for compiler list and deletion of compilation result. ( #17425 )
...
### Summary
More APIs for comliler list and deletion of compilation result.
2026-07-27 20:11:18 +08:00
Kevin Hu
742837ce56
Feat: Add graph keyword search and fix dataset synthesizing issue. ( #17342 )
...
### Summary
Add graph keyword search and fix dataset synthesizing issue.
2026-07-24 18:00:43 +08:00
euvre
f45f03a016
Add Go service/handler tests for API contract parity ( #16905 )
2026-07-20 20:02:41 +08:00
Kevin Hu
3da2425158
Feat: Add dataset_navigate to agentic searhc ( #17052 )
...
### Summary
Add dataset_navigate tool to agentic search
---------
Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com >
2026-07-20 09:59:33 +08:00
Kevin Hu
d5d04ad639
Feat: compilation result navigation in agentic search ( #17002 )
...
### Summary
Compilation result navigation in agentic search.
2026-07-16 20:19:32 +08:00
Kevin Hu
454dea686e
Feat: agentic search framework ( #16859 )
...
### Summary
Agentic search
<img width="1149" height="1575" alt="image"
src="https://github.com/user-attachments/assets/bce9a3e7-0517-4fb2-80a2-5d2a81a4da78 "
/>
---------
Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com >
2026-07-15 23:46:23 +08:00