Skip to main content

Crate kindling_provider

Crate kindling_provider 

Source
Expand description

Local FTS5 retrieval provider.

Implements deterministic, tiered retrieval over the SQLite FTS5 index: pins first (non-evictable), then the current capsule summary, then BM25- ranked candidates normalised to [0, 1].

The public surface mirrors LocalFtsProvider in packages/kindling-provider-local and the retrieval orchestrator in packages/kindling-core/src/retrieval/orchestrator.ts — identical queries against the same database produce the same ranked results.

Structs§

LocalFtsProvider
FTS5 + recency retrieval over a kindling SQLite database.

Enums§

ProviderError
Errors produced by the retrieval provider and orchestrator.

Traits§

RetrievalProvider
A retrieval provider: named source of ranked search results.

Functions§

retrieve
Retrieve relevant context for a query, scored as of the current time.
retrieve_at
Retrieve relevant context for a query, scored as of now (epoch ms).

Type Aliases§

ProviderResult