Skip to main content

erio_embedding/
lib.rs

1#![doc = include_str!("../README.md")]
2
3//! Erio Embedding - embedding engine abstraction for computing vector embeddings.
4//!
5//! Local embedding engines (e.g. `GemmaEmbedding`) load model files from `ERIO_MODEL_DIR`.
6//! The embedding crate's build script fetches the default model assets at build time.
7
8pub mod config;
9pub mod engine;
10pub mod error;
11pub mod gemma;
12pub mod model;
13pub mod remote;
14pub mod task;
15
16pub use config::EmbeddingConfig;
17pub use engine::EmbeddingEngine;
18pub use error::EmbeddingError;
19pub use gemma::GemmaEmbedding;
20pub use remote::RemoteEmbedding;
21pub use task::TaskType;