Skip to main content

build

Function build 

Source
pub fn build(extractions: &[ExtractionResult]) -> Result<KnowledgeGraph>
Expand description

Merge multiple extraction results into one graph.

Later extractions override earlier ones for same node IDs (first-write-wins via add_node which rejects duplicates, so the first occurrence is kept).