LLM+Reasoning+Planning for Supporting Incomplete User Queries in Presence of APIs
Sudhir Agarwal (Intuit Inc.), Anu Sreepathy (Intuit Inc.), David H., Alonso (Intuit Inc.), Prarit Lamba (Intuit Inc.)

TL;DR
This paper presents a novel method combining LLMs, logical reasoning, and AI planning to effectively handle incomplete user queries by orchestrating APIs and gathering missing information, significantly improving success rates.
Contribution
It introduces a hybrid approach using LLMs, ASP, and PDDL to accurately interpret and complete incomplete user queries through API orchestration and information gathering.
Findings
Achieves over 95% success rate on complex query datasets
Outperforms pure LLM approaches in handling incomplete queries
Effectively models API dataflow and missing info gathering in planning
Abstract
Recent availability of Large Language Models (LLMs) has led to the development of numerous LLM-based approaches aimed at providing natural language interfaces for various end-user tasks. These end-user tasks in turn can typically be accomplished by orchestrating a given set of APIs. In practice, natural language task requests (user queries) are often incomplete, i.e., they may not contain all the information required by the APIs. While LLMs excel at natural language processing (NLP) tasks, they frequently hallucinate on missing information or struggle with orchestrating the APIs. The key idea behind our proposed approach is to leverage logical reasoning and classical AI planning along with an LLM for accurately answering user queries including identification and gathering of any missing information in these queries. Our approach uses an LLM and ASP (Answer Set Programming) solver to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsService-Oriented Architecture and Web Services · Semantic Web and Ontologies · Advanced Database Systems and Queries
MethodsSparse Evolutionary Training
