AI RESEARCH
RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching
arXiv CS.AI
•
ArXi:2604.22758v1 Announce Type: cross Recently, at Xiaohongshu, the rapid expansion of e-commerce and advertising demands real-time business analytics with high accuracy and low latency. To meet this demand, systems typically rely on converting natural language (NL) queries into Domain-Specific Languages (DSLs) to ensure semantic consistency, validation, and portability. However, existing multi-stage LLM pipelines for this NL-to-DSL task suffer from prohibitive latency, high cost, and error propagation, rendering them unsuitable for enterprise-scale deployment.