Skip to main content

score_paths

Function score_paths 

Source
pub fn score_paths(paths: &[String]) -> Option<Vec<f64>>
Expand description

Score each path by summed token log-probability (higher = more relevant).

Returns None if the model failed to load, so callers can fall back to a heuristic ordering instead of silently mis-ranking everything.