Skip to main content

model_cache_dir

Function model_cache_dir 

Source
pub fn model_cache_dir() -> Option<PathBuf>
Expand description

The directory fastembed caches model binaries in: $FASTEMBED_CACHE, or ~/.cache/fastembed. Public so tests and tooling can detect whether a model is already downloaded.