Skip to main content

Module embedder

Module embedder 

Source
Expand description

Re-exports the Embedder trait from cel_memory.

The trait and MockEmbedder live in cel-memory so custom backends can implement embedders without depending on SQLite. This module preserves the historical import path (cel_memory_sqlite::Embedder).

Structs§

MockEmbedder
Deterministic test embedder. Hashes the input text to a small vector of pseudo-random floats. Never use in production — produces meaningless vectors.

Enums§

EmbedderError
Errors produced by an Embedder.

Traits§

Embedder
An embedder turns text into a fixed-dimension vector.

Type Aliases§

EmbedResult
Historical alias used by the fastembed backend module.
EmbedderResult
Result alias for embedder operations.