Skip to main content

Module embedder

Module embedder 

Source
Expand description

Re-exports of the shared Embedder trait + dummy/fake impls.

W3.A17: the trait used to be duplicated here. The single home is now klieo_embed_common; everything below is a re-export so call sites that do use klieo_memory_sqlite::Embedder keep working.

Structs§

DummyEmbedder
Default embedder that returns zero vectors.
FakeEmbedder
Test-only embedder that hashes each input text into a deterministic vector. Identical texts produce identical embeddings, so cosine recall behaves predictably under test.

Traits§

Embedder
Compute embeddings for one or more texts.