This paper addresses the challenge of enabling end users to interact directly with various APIs that provide real-time data and perform actions, eliminating the need for programming or developing intermediate applications. Direct interaction with APIs offers significant benefits, including increased accessibility, reduced development time, and enhanced flexibility in meeting diverse user needs. We propose a chatbot solution that leverages Large Language Models (LLMs) to facilitate these interactions. The advanced language understanding and reasoning capabilities of LLMs underpin our approach, addressing challenges such as precise query refinement, planning the selection of one or more APIs, and extracting parameters from user queries for API input. Our novel architecture integrates question refinement, entity recognition, and API filtering modules, supported by a multi-agent chatbot system that plans and evaluates API usage. This multi-agent system operates as a collaborative team of specialized experts, iteratively handling complex queries. Experimental results demonstrate that our system achieves a 91.95% accuracy rate with minimal response time. This approach simplifies the development of chatbots across various domains by leveraging available APIs, making it easier to build sophisticated, context-aware systems.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Multi-agent Chatbot for Efficient Interaction with Blockchain APIs

  • Sy-Hong-Duc Nguyen,
  • Tuan-Dat Trinh,
  • Quoc-Viet-Quang Tran

摘要

This paper addresses the challenge of enabling end users to interact directly with various APIs that provide real-time data and perform actions, eliminating the need for programming or developing intermediate applications. Direct interaction with APIs offers significant benefits, including increased accessibility, reduced development time, and enhanced flexibility in meeting diverse user needs. We propose a chatbot solution that leverages Large Language Models (LLMs) to facilitate these interactions. The advanced language understanding and reasoning capabilities of LLMs underpin our approach, addressing challenges such as precise query refinement, planning the selection of one or more APIs, and extracting parameters from user queries for API input. Our novel architecture integrates question refinement, entity recognition, and API filtering modules, supported by a multi-agent chatbot system that plans and evaluates API usage. This multi-agent system operates as a collaborative team of specialized experts, iteratively handling complex queries. Experimental results demonstrate that our system achieves a 91.95% accuracy rate with minimal response time. This approach simplifies the development of chatbots across various domains by leveraging available APIs, making it easier to build sophisticated, context-aware systems.