Documentation
¶
Overview ¶
Package indexer syncs the knowledge file store into the SQLite index. Files are truth: the sync is one-directional and idempotent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmbedMissing ¶
EmbedMissing computes vectors for every card lacking a fresh one (new card, changed content, or model switch). Returns the number embedded. A dead Ollama is an error for the CALLER to classify: `culi index` prints it, SessionStart logs and moves on — BM25 keeps working either way.
Types ¶
type Result ¶
type Result struct {
Upserted int
Deleted int
Skipped []string // relPaths that failed to parse (logged, not fatal)
}
Result summarizes one sync run.
Click to show internal directories.
Click to hide internal directories.