kindling-provider 0.3.0

Deterministic local retrieval provider for kindling memory using SQLite FTS.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 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.

mod error;
mod orchestrator;
mod provider;

pub use error::{ProviderError, ProviderResult};
pub use orchestrator::{retrieve, retrieve_at};
pub use provider::{LocalFtsProvider, RetrievalProvider};