RestGPT: Connecting Large Language Models with Real-World RESTful APIs

AI-generated keywords: Tool-augmented LLMs RestGPT RESTful APIs RestBench AGI

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.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

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

Add RestBench to evaluate RestGPT
License: CC BY 4.0

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/.

Submitted to arXiv on 11 Jun. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2306.06624v2

Tool-augmented large language models (LLMs) have made significant progress in addressing various tasks. However, these models are often limited to specific tools and struggle with complex instructions in real-world scenarios. To overcome these limitations, this paper introduces RestGPT, a framework that connects LLMs with RESTful APIs, which adhere to the widely adopted REST software architectural style for web service development. RestGPT utilizes a coarse-to-fine online planning mechanism to enhance task decomposition and API selection. It also includes an API executor tailored for calling RESTful APIs, enabling meticulous parameter formulation and API response parsing. The performance of RestGPT is evaluated using RestBench, a high-quality benchmark consisting of two real-world scenarios with human-annotated instructions and gold solution paths. Experimental results demonstrate that RestGPT achieves impressive results in complex tasks and exhibits strong robustness, paving the way towards Artificial General Intelligence (AGI). The RestGPT framework and RestBench benchmark are publicly available at https://restgpt.github.io/. Additionally, this paper highlights the limitations of existing models like HuggingGPT which only cover a limited number of tasks compared to the extensive coverage provided by RestGPT's integration with RESTful APIs.
Created on 15 Dec. 2023

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 representation

Look 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.