Skip to main content

lago_knowledge/
lib.rs

1//! # lago-knowledge
2//!
3//! Knowledge index engine for Lago — gives the persistence substrate the
4//! ability to understand `.md` content: parse YAML frontmatter, extract
5//! `[[wikilinks]]`, build an in-memory index, and perform scored search
6//! with BFS graph traversal.
7
8mod frontmatter;
9mod index;
10mod search;
11mod traversal;
12mod wikilink;
13
14pub use frontmatter::parse_frontmatter;
15pub use index::{KnowledgeError, KnowledgeIndex, Note};
16pub use search::SearchResult;
17pub use traversal::TraversalResult;
18pub use wikilink::extract_wikilinks;