1pub mod config;
5pub mod engine;
7pub mod error;
9pub mod mock;
11pub mod ollama;
13pub mod openai_compatible;
15pub mod provider;
17pub mod utils;
19
20#[cfg(feature = "onnx")]
21pub mod download;
23#[cfg(feature = "onnx")]
24pub mod onnx;
26
27pub use config::EmbeddingConfig;
28pub use engine::EmbeddingEngine;
29pub use error::{EmbeddingError, EmbeddingResult};
30pub use mock::{MockEmbeddingEngine, MockVectorMode};
31pub use ollama::OllamaEmbeddingEngine;
32pub use openai_compatible::OpenAICompatibleEmbeddingEngine;
33pub use provider::EmbeddingProvider;
34pub use utils::{handle_embedding_response, is_embeddable, sanitize_embedding_inputs};
35
36#[cfg(feature = "onnx")]
37pub use config::OnnxEmbeddingConfig;
38#[cfg(feature = "onnx")]
39pub use download::{ModelUrls, download_model, ensure_model_exists, ensure_tokenizer_exists};
40#[cfg(feature = "onnx")]
41pub use onnx::OnnxEmbeddingEngine;