Section 01
[Introduction] QueryGuard-SanitizeAgent: A Multi-Strategy Natural Language Query Correction Agent Based on LangGraph
This article introduces the QueryGuard-SanitizeAgent project, a self-correcting agent system built on LangGraph, focusing on the extraction, verification, and automatic correction of natural language location queries. Addressing the pain points that traditional rule-based matching struggles with language diversity and pure large model solutions are prone to hallucinations, the system uses multiple strategies such as fuzzy matching, large model reasoning, and confidence-aware routing to achieve intelligent conversion from unstructured input to structured output.