trustgraph/trustgraph-base/trustgraph
cybermaggedon 60529c3b3d
fix: knowledge core round-trip for workspace-scoped librarian and all term types (#1049)
Change librarian from a single shared client to per-workspace clients,
ensuring knowledge core get/put operations use workspace-scoped queues.
LibrarianClient is now created in on_workspace_created and cleaned up
in on_workspace_deleted.

Fix term_to_tuple/tuple_to_term to handle TRIPLE and BLANK term types.
Previously only IRI and LITERAL were supported, causing ~1000 edges
(ns/contains with quoted triple objects) to be silently lost during
Cassandra storage. TRIPLE terms are now JSON-serialized with a
<<TRIPLE>> marker prefix, BLANK terms with <<BLANK>>.

Make document tree export recursive via _stream_doc_tree so that
grandchild documents (chunks under pages) are included in knowledge
core export. Without this, explainability source links break after
a get/put/load round-trip because chunk documents are not restored.

Add error response encoding to KnowledgeResponseTranslator.encode()
and fix encode_with_completion to treat error responses as non-final.
Change KnowledgeResponse.ids from list[str] with default factory to
Optional[list[str]] so list responses can be distinguished from empty
responses. Add error display to get_kg_core CLI.
2026-07-16 00:31:47 +01:00
..
api feat: preserve RDF language tags and datatypes through ingestion and query (#1046) 2026-07-15 10:12:46 +01:00
base feat: preserve RDF language tags and datatypes through ingestion and query (#1046) 2026-07-15 10:12:46 +01:00
clients feat: replace LLM edge scoring with cross-encoder reranker in GraphRAG (#1005) 2026-06-30 14:36:37 +01:00
i18n Feat: TrustGraph i18n & Documentation Translation Updates (#781) 2026-04-14 12:08:32 +01:00
knowledge Subgraph provenance (#694) 2026-03-13 11:37:59 +00:00
messaging fix: knowledge core round-trip for workspace-scoped librarian and all term types (#1049) 2026-07-16 00:31:47 +01:00
objects fix: resolve publisher resource leak and field parse validation (#886) 2026-05-11 15:06:54 +01:00
provenance feat: add cross-encoder reranking to Document-RAG with two-limit control (#878) (#1011) 2026-07-02 09:50:13 +01:00
schema fix: knowledge core round-trip for workspace-scoped librarian and all term types (#1049) 2026-07-16 00:31:47 +01:00
exceptions.py Librarian (#304) 2025-02-11 16:01:03 +00:00
log_level.py Pub/sub abstraction: decouple from Pulsar (#751) 2026-04-01 20:16:53 +01:00
rdf.py Remove schema:subjectOf edges from KG extraction (#695) 2026-03-13 12:11:21 +00:00