Skip to content
Discussion options

You must be logged in to vote

Hi @gwyuan! I'm Dosu and I’m helping the ragflow team.

This happens because when reasoning mode is enabled, the chat switches to an agentic pipeline (using the DeepResearcher class) that handles its own retrieval logic. In the current implementation, the knowledge graph retriever is not wired into this agent, so even if "use_kg" is set, the knowledge graph is never searched during reasoning. The normal KG retrieval only runs in the non-reasoning path, as you saw in the code. This isn't explicitly documented as a design goal, but it's a result of how the agentic reasoning and retrieval hooks are connected in the codebase. The architectural direction in recent versions was to decouple KG r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gwyuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant