Skip to main content

build_backend

Function build_backend 

Source
pub fn build_backend(
    config: &EmbeddingConfig,
) -> Result<Arc<dyn EmbeddingBackend>, EmbeddingError>
Expand description

Factory that builds the configured backend from EmbeddingConfig.