trustgraph/tests/unit/test_retrieval
cybermaggedon 4b5bfacab1
Forward missing explain_triples through RAG clients and agent tool callback (#768)
fix: forward explain_triples through RAG clients and agent tool callback
- RAG clients and the KnowledgeQueryImpl tool callback were
  dropping explain_triples from explain events, losing provenance
  data (including focus edge selections) when graph-rag is invoked
  via the agent.

Tests for provenance and explainability (56 new):
- Client-level forwarding of explain_triples
- Graph-RAG structural chain
  (question → grounding → exploration → focus → synthesis)
- Graph-RAG integration with mocked subsidiary clients
- Document-RAG integration
  (question → grounding → exploration → synthesis)
- Agent-orchestrator all 3 patterns: react, plan-then-execute,
  supervisor
2026-04-08 11:41:17 +01:00
..
test_structured_diag Pub/sub abstraction: decouple from Pulsar (#751) 2026-04-01 20:16:53 +01:00
test_document_rag.py Enhance retrieval pipelines: 4-stage GraphRAG, DocRAG grounding (#697) 2026-03-16 12:12:13 +00:00
test_document_rag_provenance_integration.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
test_document_rag_service.py Add unified explainability support and librarian storage for (#693) 2026-03-12 21:40:09 +00:00
test_graph_rag.py Enhance retrieval pipelines: 4-stage GraphRAG, DocRAG grounding (#697) 2026-03-16 12:12:13 +00:00
test_graph_rag_explain_forwarding.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
test_graph_rag_provenance_integration.py Forward missing explain_triples through RAG clients and agent tool callback (#768) 2026-04-08 11:41:17 +01:00
test_graph_rag_service.py GraphRAG Query-Time Explainability (#677) 2026-03-10 10:00:01 +00:00
test_nlp_query.py Fix/sys integration issues (#494) 2025-09-05 08:38:15 +01:00
test_structured_query.py Structured data 2 (#645) 2026-02-23 15:56:29 +00:00