RAGs to Riches: Cost-efficient Complex Query Orchestration
Large Language Models (LLMs) have become integral to modern business operations, especially for tasks involving reasoning over large datasets. One prominent application of LLMs is in chatbot systems, where customers provide natural language queries, often complex in nature, requiring decomposition to retrieve relevant information from various data sources. These queries may span structured databases, unstructured data, or public information from the internet, making efficient data retrieval and reasoning vital for real-time, accurate responses. In this paper, we propose two cost-efficient ''Query Orchestration'' approaches (Context Latent and Context Acute) to address these challenges. By leveraging graph-based retrieval-augmented generation (RAG) techniques for vector search, we optimize data retrieval while minimizing reliance on LLMs for reasoning to reduce costs. Our approach is validated through experiments on a banking use case, where we demonstrate its effectiveness in providing high-quality
Authors
- Ravi Kumar Singh (ORCID: https://orcid.org/0009-0009-9547-5968)
- Manoj Nambiar (ORCID: https://orcid.org/0000-0002-9001-0629)
- Shruti Kunde (ORCID: https://orcid.org/0000-0002-4708-0496)
- Rekha Singhal (ORCID: https://orcid.org/0000-0002-3712-1784)
- Mayank Mishra (ORCID: https://orcid.org/0000-0002-4654-1246)
- Kuldeep Singh (ORCID: https://orcid.org/0009-0005-6294-8854)
Institutions
- Tennessee Cancer Specialists (US)
- Tata Consultancy Services (India) (IN)
Publication Details
- Published
- 2025-05-03
- DOI
- https://doi.org/10.1145/3680256.3721327
- Primary Topic
- Advanced Database Systems and Queries
- Type
- article
- Field-Weighted Citation Impact
- 0.00