pub trait Ranker: Send + Sync {
// Required methods
fn fingerprint(&self) -> &str;
fn score_batch(
&self,
query: &str,
items: &[ContextItem],
) -> Result<Vec<f64>, CoreError>;
}Expand description
Scores context items in one batch without imposing an output order.