Integration of LLMs with knowledge graphs
LLMs and Knowledge graph can make a synergy in several ways.
Knowledge graph elements (edges) can be included as a part of a prompt for LLMs. For instance, to provide proper contexts to agents in the game, Park2023generative fed the JSON object of the location hierarchy as a part of the prompt.
LLMs can be used to extract a knowledge graph from unstructured data. Zhu2023llms investigated the KG construction performance in zero-shot and few-shot setting.
Wu2024STaRK proposes a benchmark.