Large Language Models (LLMs) leverage external tools primarily through generating the API request to enhance task completion efficiency. The accuracy of API request generation significantly determines the capability of LLMs to accomplish tasks.
Due to the inherent hallucinations within the LLM, it is difficult to efficiently and accurately generate the correct API request.
Current research uses prompt-based feedback to facilitate the LLM-based API request generation. However, existing methods lack factual information and are insufficiently detailed.
To address these issues, we propose AutoFeedback, an LLM-based framework for efficient and accurate API request generation, with a Static Scanning Component (SSC) and a Dynamic Analysis Component (DAC). SSC incorporates errors detected in the API requests as pseudo-facts into the feedback, enriching the factual information. DAC retrieves information from API documentation, enhancing the level of detail in feedback.
Based on this two components, Autofeedback implementes two feedback loops during the process of generating API requests by the LLM.
Extensive experiments demonstrate that it significantly improves accuracy of API request generation and reduces the interaction cost. AutoFeedback achieves an accuracy of 100.00\% on a real-world API dataset and reduces the cost of interaction with GPT-3.5 Turbo by 23.44\%, and GPT-4 Turbo by 11.85\%.
API Secrets Should Never Become Tokens in the LLM's Vocabulary: A Threat Analysis of API Credential Handling in LLM Agent Systems and an Empirical Evaluation of a Vault-Mediated Execution Boundary
Stealing Reasoning Traces from Proprietary LLM APIs
MATS Research(MATS研究院);ELLIS Institute Tübingen(图宾根ELLIS研究所);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);Tübingen AI Center(图宾根人工智能中心);University of Tübingen(图宾根大学)
FinAI Data Assistant: LLM-based Financial Database Query Processing with the OpenAI Function Calling API
Mirae Asset Global Investments AI Quant Lab, MODULABS Seoul Republic of Korea;Meritz Fire \& Marine Insurance AI Quant Lab, MODULABS Seoul Republic of Korea;Elice AI Quant Lab, MODULABS Seoul Republic of Korea;AI Quant Lab, MODULABS
本研究提出结合LLM与OpenAI Function Calling API的FinAI Data Assistant金融数据库查询方案,通过路由参数化查询提升可靠性与效率,实验验证其在延迟、成本和可靠性上优于text-to-SQL基线。
ConCise: Training-Free Conclusion-Chain State Compression for Cost-Efficient Multi-Step RAG Services
National Natural Science Foundation of China(国家自然科学基金委员会);Guangdong Higher Education Association(广东省高等教育协会);Guangdong Provincial Higher Education Institutions(广东省高等教育机构);Beijing Normal University at Zhuhai Education Reform Project(珠海市北京师范大学教育改革项目)
OOPS: Automated generation of REST API specification via LLMs
Beihang University(北京航空航天大学);Sino-German Joint Software Institute, Beihang University(北京航空航天大学中德工程学院);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);School of Cyber Science and Technology, Beihang University(北京航空航天网络空间安全学院);Beijing Key Laboratory of Networking Technology(北京市网络技术重点实验室)
Where Is the Cost of Third-Party API Routers in Agentic Software Development?
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);School of Software, Beihang University(北京航空航天大学软件学院);School of Computer Science, Peking University(北京大学计算机科学学院)
研究第三方 API 路由器在代理软件开发中的影响,通过实证研究编码代理中路由器端注入的四个干预级别,开发 SIDEL 框架评估代理,发现路由器端干预难测,客户端缓解措施未完全恢复控制,强调需提供商端输出完整性保证。