mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agent_client.py | ||
| base.py | ||
| config_client.py | ||
| document_embeddings_client.py | ||
| document_rag_client.py | ||
| embeddings_client.py | ||
| graph_embeddings_client.py | ||
| graph_rag_client.py | ||
| llm_client.py | ||
| prompt_client.py | ||
| row_embeddings_client.py | ||
| triples_query_client.py | ||