Skip to main content

build_from_extraction

Function build_from_extraction 

Source
pub fn build_from_extraction(
    extraction: &ExtractionResult,
) -> Result<KnowledgeGraph>
Expand description

Build a KnowledgeGraph from a single extraction result.

All nodes are added first; edges that reference unknown source/target nodes are silently skipped (dangling-edge protection).