Skip to main content

should_retrieve

Function should_retrieve 

Source
pub fn should_retrieve(query: &str) -> bool
Expand description

Classify whether a query needs retrieval at all. Simple greetings, confirmations, and single-word responses don’t need search.