Mitigating Errors in LLM-Generated Web API Invocations via Retrieval-Augmented Generation and Constrained Decoding
通过检索增强生成和约束解码减轻大语言模型生成的Web API调用中的错误
机构 * Technische Universität Darmstadt(德累斯顿技术大学) ; Hessian Center for Artificial Intelligence (hessian.AI)(黑森人工智能中心) ; Pariton AI ; National Research Center for Applied Cybersecurity ATHENE(应用网络安全国家研究中心ATHENE)
专题命中 检索器与排序 :RAG(summary_cn,abstract);retrieval-augmented generation(title,abstract);retriever(abstract)
AI总结 研究如何减轻大语言模型生成的Web API调用错误,提出检索增强生成(RAG)和约束解码(CD)两种互补方法,设计相应技术细节,在合成和真实数据集上评估,结果显示RAG、CD各有优劣,能提升Web API调用代码正确性。
Comments 54 pages, 11 figures; supersedes arXiv:2509.20172v6, which is a discarded journal extension of our work