Skip to main content

load_embedding_runtime_with_model

Function load_embedding_runtime_with_model 

Source
pub fn load_embedding_runtime_with_model(
    config: &CliConfig,
    model_override: Option<&str>,
) -> Result<EmbeddingRuntime>
Expand description

Load embedding runtime with an optional model override. If model_override is provided, it will be used instead of the config’s embedding_model.