Skip to main content

missing_model

Function missing_model 

Source
pub fn missing_model(options: &SemanticOptions) -> Option<(String, u64)>
Expand description

The local model options needs and has not downloaded yet: its id and its size in bytes, so a front end can ask before fetching it. None for an embeddings API, and once the model is there.