Skip to content

feat(rag): knowledge-graph traversal feeds chat retrieval by default #20955

Open

Description

@mrveiss

Gap

Graph expansion exists (services/graph_rag_service.py:164, KAG strategy retrieval_dispatcher.py:93) but enable_kag=False (rag_config.py:135), the dispatcher is not on the chat path (only api/knowledge_rag.py:568), and the mesh retriever is off (rag_config.py:78). Chat retrieval has no graph view (#18144); chunk identity does not join graph nodes to vectors (#18142). Graph coverage of all buckets is #20945.

Acceptance

  • Entities/relations from the graph add context for chat turns, with provenance, via the orchestrator.
  • Benchmark shows graph on vs off per bucket.

Parent: #20948. Chat path audited from conversation_aware_retrieve (services/knowledge/service.py:696) -> retrieve_relevant_knowledge -> RAGService.advanced_search (services/rag_service.py:544).

Maintainer requirement (2026-11-06): "AutoBot's knowledge base must be able to combine every useful knowledge representation and retrieval technique, so answers get the best result" and "crosschecks". Accepted only when the retrieval benchmark gate shows the combination is better.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions