Skip to main content

ipfrs_semantic/semantic_graph_builder/
mod.rs

1//! Semantic Knowledge Graph Builder
2//!
3//! Full production-quality implementation of a semantic knowledge graph builder
4//! that constructs and manipulates graphs from text and embeddings.
5//!
6//! # Name Aliasing
7//! Because `GraphNode`, `GraphEdge`, and `GraphQuery` are already exported from
8//! `graph_linker` and `knowledge_graph`, the local equivalents are prefixed `Sgb`:
9//!
10//! - [`SgbGraphNode`] — a node in the semantic graph
11//! - [`SgbGraphEdge`] — a directed, weighted edge
12//! - [`SgbGraphQuery`] — query parameters for subgraph traversal
13//!
14//! All other public types (`NodeType`, `EdgeRelation`, `BuilderConfig`,
15//! `GraphStats`, `BuilderError`, `SemanticGraphBuilder`) have no conflicts and
16//! are exported under their own names.
17
18pub mod builderconfig_traits;
19pub mod buildererror_traits;
20pub mod functions;
21pub mod types;
22
23// Re-export all types
24pub use types::*;
25
26#[cfg(test)]
27mod tests;