RestGPT: Connecting Large Language Models with Real-World RESTful APIs
AI-generated Key Points
- Tool-augmented large language models (LLMs) have made significant progress in addressing various tasks
- LLMs often struggle with complex instructions in real-world scenarios
- RestGPT is a framework that connects LLMs with RESTful APIs
- RestGPT utilizes a coarse-to-fine online planning mechanism to enhance task decomposition and API selection
- RestGPT includes an API executor tailored for calling RESTful APIs, enabling meticulous parameter formulation and API response parsing
- RestGPT's performance is evaluated using the RestBench benchmark, consisting of two real-world scenarios with human-annotated instructions and gold solution paths
- Experimental results demonstrate impressive results in complex tasks and strong robustness of RestGPT
- The RestGPT framework and RestBench benchmark are publicly available at https://restgpt.github.io/
- Existing models like HuggingGPT have limitations in terms of task coverage compared to RestGPT's integration with RESTful APIs.
Authors: Yifan Song, Weimin Xiong, Dawei Zhu, Wenhao Wu, Han Qian, Mingbo Song, Hailiang Huang, Cheng Li, Ke Wang, Rong Yao, Ye Tian, Sujian Li
Abstract: Tool-augmented large language models (LLMs) have achieved remarkable progress in tackling a broad range of tasks. However, existing methods are mainly restricted to specifically designed tools and fail to fulfill complex instructions, having great limitations when confronted with real-world scenarios. In this paper, we explore a more realistic scenario by connecting LLMs with RESTful APIs, which adhere to the widely adopted REST software architectural style for web service development. To address the practical challenges of tackling complex instructions, we propose RestGPT, which exploits the power of LLMs and conducts a coarse-to-fine online planning mechanism to enhance the abilities of task decomposition and API selection. RestGPT also contains an API executor tailored for calling RESTful APIs, which can meticulously formulate parameters and parse API responses. To fully evaluate the performance of RestGPT, we propose RestBench, a high-quality benchmark which consists of two real-world scenarios and human-annotated instructions with gold solution paths. Experiments show that RestGPT is able to achieve impressive results in complex tasks and has strong robustness, which paves a new way towards AGI. RestGPT and RestBench is publicly available at https://restgpt.github.io/.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
Assess the quality of the AI-generated content by voting
Score: 1
Why do we need votes?
Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.