Skip to main content

Crate lago_knowledge

Crate lago_knowledge 

Source
Expand description

§lago-knowledge

Knowledge index engine for Lago — gives the persistence substrate the ability to understand .md content: parse YAML frontmatter, extract [[wikilinks]], build an in-memory index, and perform scored search with BFS graph traversal.

Structs§

KnowledgeIndex
In-memory knowledge index for a session’s vault.
Note
A parsed .md note with structured metadata.
SearchResult
A search result with relevance scoring.
TraversalResult
A note returned from graph traversal, with its depth from the start.

Enums§

KnowledgeError
Errors specific to the knowledge index.

Functions§

extract_wikilinks
Extract all wikilink targets from markdown content.
parse_frontmatter
Parse YAML frontmatter from markdown content.