Skip to main content

verify_embedding_model

Function verify_embedding_model 

Source
pub fn verify_embedding_model(model_dir: Option<&str>) -> VerifyOutcome
Expand description

Verify the embedding model directory at startup.

model_dir comes from [OrbokSettings::embedding_model_dir].

§Timing

Typical execution: < 2 ms (two stat calls). No SHA-256 hashing.