Skip to main content

wesichain_embeddings/
lib.rs

1mod error;
2
3#[cfg(feature = "openai")]
4mod openai;
5
6#[cfg(feature = "ollama")]
7mod ollama;
8
9#[cfg(feature = "google")]
10mod google;
11
12#[cfg(feature = "candle")]
13mod candle;
14
15pub use error::EmbeddingProviderError;
16
17#[cfg(feature = "openai")]
18pub use openai::OpenAiEmbedding;
19
20#[cfg(feature = "ollama")]
21pub use ollama::OllamaEmbedding;
22
23#[cfg(feature = "google")]
24pub use google::GoogleEmbedding;
25
26#[cfg(feature = "candle")]
27pub use candle::CandleEmbedding;