Skip to main content

engram_graph/
lib.rs

1//! Knowledge graph helpers.
2//!
3//! - `extract`: deterministic entity extraction (no LLM, regex on capitalization)
4//! - `facts`: LLM-based (subject, predicate, object) extraction for
5//!   contradiction detection at write time
6//! - `expand`: bounded query-time graph traversal
7
8pub mod expand;
9pub mod extract;
10pub mod facts;
11
12pub use extract::extract_entities;
13pub use facts::{extract_facts, normalize, ExtractedFact, FactExtractionError};