Skip to main content

Module portability

Module portability 

Source
Expand description

KG export / import — portable JSON archive for namespace-scoped knowledge graphs.

Embeddings are excluded (regenerable from text + model). Edges are collected by querying all entity IDs in the namespace first, then fetching incident edges.

Structs§

ExportedEdge
A directed edge record in the portable archive.
ExportedEntity
An entity record in the portable archive.
ImportSkippedEdge
One skipped archive edge, retaining its identity and endpoint-contract error.
ImportSummary
Outcome of a successful import operation.
ImportValidation
Pure preflight result. Unknown kinds are distinct and in first-record order. Preflight emits no warnings and opens no destination store.
KgArchive
Portable JSON archive of a namespace-scoped knowledge graph.

Enums§

ImportEdgeSkipCause
Why an archive edge was skipped during a successful import.

Functions§

parse_archive_timestamp
Parse an optional archive timestamp, using fallback only when absent.