WeSearch

RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching

·3 min read · 0 reactions · 0 comments · 3 views
#nl-to-dsl#semantic caching#business analytics#query optimization#retrieval-augmented generation
RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching
⚡ TL;DR · AI summary

RedParrot is a new framework developed to speed up the conversion of natural language queries into domain-specific languages for business analytics, using a semantic caching mechanism to reduce latency and improve accuracy. By leveraging reusable query skeletons and an entity-agnostic embedding model, it avoids costly LLM pipeline re-computation. The system demonstrates significant performance gains on enterprise data from Xiaohongshu and public benchmarks. It also incorporates a heterogeneous RAG method to handle unseen entities effectively.

Original article
arXiv cs.AI
Read full at arXiv cs.AI →
Opening excerpt (first ~120 words) tap to expand

Computer Science > Information Retrieval arXiv:2604.22758 (cs) [Submitted on 7 Mar 2026] Title:RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching Authors:Tong Wang, Yongqin Xu, Jianfeng Zhang, Lingxi Cui, Wenqing Wei, Suzhou Chen, Huan Li, Ke Chen, Lidan Shou View a PDF of the paper titled RedParrot: Accelerating NL-to-DSL for Business Analytics via Query Semantic Caching, by Tong Wang and 8 other authors View PDF HTML (experimental) Abstract:Recently, at Xiaohongshu, the rapid expansion of e-commerce and advertising demands real-time business analytics with high accuracy and low latency.

Excerpt limited to ~120 words for fair-use compliance. The full article is at arXiv cs.AI.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from arXiv cs.AI