Expand description
Independent embeddings system - completely separate from chat/LLM models.
This module provides optional embedding functionality with:
- Multiple provider support (OpenAI, Gemini, Voyage)
- Strict index separation by model and repository
- Zero overhead when disabled
- Independent authentication from chat models
Re-exports§
pub use config::EmbeddingsConfig;pub use config::ProviderConfig;pub use index_manager::EmbeddingIndexManager;pub use index_manager::IndexKey;pub use index_manager::SearchResult;pub use manager::EmbeddingsManager;
Modules§
- config
- Configuration for embeddings - completely independent from chat model configuration.
- index_
manager - Embedding index management with strict separation by model and repository.
- manager
- Main embeddings manager - coordinates providers and indexes.
- providers
- Embedding provider implementations
Enums§
Traits§
- Embedding
Provider - Trait for embedding providers