Enhancing the Capabilities of Large Language Models for API calls through Knowledge Graphs
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). First posted on arXiv 14 Jul 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Live API-Bench: 2500+ Live APIs for Testing Multi-Step Tool Calling
- 2025Integrating External Tools with Large Language Models to Improve Accuracy
- 2026The Energy Footprint of LLM-Based Environmental Analysis: LLMs and Domain Products
- 2024Harnessing LLMs for API Interactions: A Framework for Classification and Synthetic Data Generation
- 2025Querying Climate Knowledge: Semantic Retrieval for Scientific Discovery
- 2026AISE-Bench: A Full-Cycle Curated Benchmark for Information Seeking on Academic Knowledge Graphs
- 2026Codebase-Memory: Tree-Sitter-Based Knowledge Graphs for LLM Code Exploration via MCP
- 2025Optimizing the Interface Between Knowledge Graphs and LLMs for Complex Reasoning