Skip to main content

ground

Function ground 

Source
pub fn ground(graph: &Graph, query: &str, limit: usize) -> Vec<Hit>
Expand description

Ground a query against the graph: ranked hits with calibrated confidence. Builds a fresh GroundIndex each call — convenient for one-shot use. To ground many queries against one graph, build the index once and call ground_with (the eval harness and a warm server do this).