Skip to main content

generate_query_output

Function generate_query_output 

Source
pub async fn generate_query_output(query: &str) -> String
Expand description

Route a natural-language query to the appropriate inspect_host topics and run them. Uses all_host_inspection_topics() for multi-topic detection, falls back to preferred_host_inspection_topic() for single-topic, then “summary” if nothing matches.