Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.10630

帮助 | 高级搜索

计算机科学 > 人工智能

arXiv:2507.10630 (cs)
[提交于 2025年7月14日 ]

标题: 通过知识图谱增强大型语言模型的API调用能力

标题: Enhancing the Capabilities of Large Language Models for API calls through Knowledge Graphs

Authors:Ye Yang, Xue Xiao, Ping Yin, Taotao Xie
摘要: 大型语言模型(LLMs)的API调用为数据分析提供了一种前沿的方法。 然而,在像气象学这样的知识密集型领域中,它们通过API调用有效利用工具的能力仍鲜有研究。 本文介绍了KG2data,这是一个集成知识图谱、LLMs、ReAct代理和工具使用技术的系统,旨在实现气象领域的智能数据获取和查询处理。 使用虚拟API,我们通过三个指标评估API调用的准确性:名称识别失败、幻觉失败和调用正确性。 与RAG2data(16%,10%,72.14%)和chat2data(7.14%,8.57%,71.43%)相比,KG2data表现出卓越的性能(1.43%,0%,88.57%)。 KG2data不同于典型的基于LLM的系统,因为它解决了它们在领域特定知识访问受限的问题,这会影响复杂或术语丰富的查询上的性能。 通过使用知识图谱作为持久记忆,我们的系统增强了内容检索、复杂查询处理、领域特定推理、语义关系解析和异构数据集成。 它还降低了微调LLM的高成本,使系统更能适应不断变化的领域知识和API结构。 总之,KG2data为高知识需求领域的智能、基于知识的问答和数据分析提供了新颖的解决方案。
摘要: API calls by large language models (LLMs) offer a cutting-edge approach for data analysis. However, their ability to effectively utilize tools via API calls remains underexplored in knowledge-intensive domains like meteorology. This paper introduces KG2data, a system that integrates knowledge graphs, LLMs, ReAct agents, and tool-use technologies to enable intelligent data acquisition and query handling in the meteorological field. Using a virtual API, we evaluate API call accuracy across three metrics: name recognition failure, hallucination failure, and call correctness. KG2data achieves superior performance (1.43%, 0%, 88.57%) compared to RAG2data (16%, 10%, 72.14%) and chat2data (7.14%, 8.57%, 71.43%). KG2data differs from typical LLM-based systems by addressing their limited access to domain-specific knowledge, which hampers performance on complex or terminology-rich queries. By using a knowledge graph as persistent memory, our system enhances content retrieval, complex query handling, domain-specific reasoning, semantic relationship resolution, and heterogeneous data integration. It also mitigates the high cost of fine-tuning LLMs, making the system more adaptable to evolving domain knowledge and API structures. In summary, KG2data provides a novel solution for intelligent, knowledge-based question answering and data analysis in domains with high knowledge demands.
主题: 人工智能 (cs.AI)
引用方式: arXiv:2507.10630 [cs.AI]
  (或者 arXiv:2507.10630v1 [cs.AI] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.10630
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Ye Yang [查看电子邮件]
[v1] 星期一, 2025 年 7 月 14 日 08:20:06 UTC (1,600 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • 其他格式
查看许可
当前浏览上下文:
cs.AI
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号