Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

Add explainability support and named graph filtering - #14

Merged
cybermaggedon merged 1 commit into
masterfrom
feature/explainability
Mar 10, 2026
Merged

Add explainability support and named graph filtering#14
cybermaggedon merged 1 commit into
masterfrom
feature/explainability

Conversation

@cybermaggedon

Copy link
Copy Markdown
Contributor

Add explainability support and named graph filtering

Add streaming explainability events to Graph RAG queries, allowing clients to receive explain callbacks with graph URIs for retrieval provenance. Add named graph (g) parameter to triples queries, RDF namespace constants, and a getDocumentMetadata method to the Librarian API.

Key changes covered:

  • ExplainEvent interface + onExplain callback in graphRagStreaming
  • message_type, explain_id, explain_graph, end_of_session fields on GraphRagResponse
  • Named graph (g) filter on triples queries
  • src/models/namespaces.ts with RDF namespace constants
  • getDocumentMetadata on LibrarianApi
  • Version bump

Add streaming explainability events to Graph RAG queries, allowing
clients to receive explain callbacks with graph URIs for retrieval
provenance. Add named graph (g) parameter to triples queries, RDF
namespace constants, and a getDocumentMetadata method to the
Librarian API.

Key changes covered:
- ExplainEvent interface + onExplain callback in graphRagStreaming
- message_type, explain_id, explain_graph, end_of_session fields on
  GraphRagResponse
- Named graph (g) filter on triples queries
- src/models/namespaces.ts with RDF namespace constants
- getDocumentMetadata on LibrarianApi
- Version bump
@cybermaggedon
cybermaggedon merged commit 4cb432b into master Mar 10, 2026
1 check passed
@cybermaggedon
cybermaggedon deleted the feature/explainability branch March 10, 2026 19:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant