Expand description
Embedder — text-to-vector abstraction and implementations.
Supports local (fastembed) and remote (Gemini 2.0) embedding generation.
Structs§
- Gemini2
Embedder - Remote embedder using Google Gemini Embedding 2 API.
- Local
Embedder - Local embedder using fastembed-rs. Currently only uses the text parts of multimodal input.
Enums§
Constants§
Traits§
- Embedder
- Core trait for generating multimodal embeddings.
Functions§
- to_
vector32_ json - Helper to serialize a
Vec<f32>to a JSON array string for Turso vector32.