pub fn is_generation_query(query: &str) -> bool
Detect if a query is asking for generation vs analysis