Skip to content

feat(rag): cross-check retrieval methods - agreement between dense, lexical and graph hits #20961

Open

Description

@mrveiss

Gap

RRF records per-view contributions (hybrid_search.py:82-94, #17207) but that agreement signal is not surfaced or used: a chunk returned by dense, keyword and graph legs is not distinguished from one returned by one leg, and a disagreement is not reported. Final ranking is by rerank/hybrid score only.

Acceptance

  • Each hit carries the set of legs that retrieved it; agreement boosts confidence, a single-leg hit with low score is flagged.
  • Benchmark reports precision by agreement level.

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

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions