Skip to main content

Module factory

Module factory 

Source
Expand description

Embedding provider factory.

Handles provider detection and creation.

Structs§

ProviderDetection
Available provider detection result.

Functions§

create_embedding_provider
Create an embedding provider based on configuration.
create_huggingface_provider
Create a HuggingFace provider with explicit configuration.
create_ollama_provider
Create a provider with explicit configuration (for testing or CLI overrides).
detect_available_providers
Detect which embedding providers are available.