semtree-embed 0.2.1

Embedding trait and backends (fastembed, openai)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod embedder;
mod error;

#[cfg(feature = "fastembed-backend")]
pub mod fastembed;

#[cfg(feature = "openai-backend")]
pub mod openai;

#[cfg(feature = "ollama-backend")]
pub mod ollama;

pub use embedder::Embedder;
pub use error::EmbedError;

pub type Embedding = Vec<f32>;