English

RE-GAINS & EnChAnT: Intelligent Tool Manipulation Systems For Enhanced Query Responses

Computation and Language 2024-06-21 v3

Abstract

Large Language Models (LLMs) currently struggle with tool invocation and chaining, as they often hallucinate or miss essential steps in a sequence. We propose RE-GAINS and EnChAnT, two novel frameworks that empower LLMs to tackle complex user queries by making API calls to external tools based on tool descriptions and argument lists. Tools are chained based on the expected output, without receiving the actual results from each individual call. EnChAnT, an open-source solution, leverages an LLM format enforcer, OpenChat 3.5 (an LLM), and ToolBench's API Retriever. RE-GAINS utilizes OpenAI models and embeddings with a specialized prompt based on the R\underline{R}easoning via\underline{a} P\underline{P}lanning (RAP)(RAP) framework. Both frameworks are low cost (0.01$ per query). Our key contribution is enabling LLMs for tool invocation and chaining using modifiable, externally described tools.

Keywords

Cite

@article{arxiv.2401.15724,
  title  = {RE-GAINS & EnChAnT: Intelligent Tool Manipulation Systems For Enhanced Query Responses},
  author = {Sahil Girhepuje and Siva Sankar Sajeev and Purvam Jain and Arya Sikder and Adithya Rama Varma and Ryan George and Akshay Govind Srinivasan and Mahendra Kurup and Ashmit Sinha and Sudip Mondal},
  journal= {arXiv preprint arXiv:2401.15724},
  year   = {2024}
}
R2 v1 2026-06-28T14:29:28.967Z