Skip to main content

build_local_backend

Function build_local_backend 

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

Build the local backend for a failover member under the supplied trusted host scope. This deliberately has no hosted-provider branch.