Skip to main content

Module brain

Module brain 

Source
Expand description

Primary library façade: Brain.

Most applications should open a Brain, call Brain::sync after note or code edits, then use Brain::query_ranked / Brain::context_for_prompt.

Structs§

Brain
A project-scoped rustbrain instance rooted at workspace/.brain.

Functions§

find_brain_dir
Walk start and its parents looking for .brain/db.sqlite.