1 Knowledge graphs and LLMs: a killer combination
This chapter covers
- Introduction to Knowledge Graphs (KGs)
- Introduction to Large Language Models (LLMs)
- How to combine KGs and LLMs to get the best of two
- How to build data-driven applications using KGs and LLMs
Artificial intelligence (AI) has transformed how we work and live, with Generative AI technologies revolutionizing business after business. For example, ChatGPT, launched by OpenAI on November 30, 2022, reached 1 million users in days and over 100 million in months, marking the beginning of a new era where simple chat interfaces allow users to interact using natural language without programming knowledge.
Despite this success, these technologies fall short in domains like biomedicine, law enforcement and others where specific domain knowledge, high accuracy, and explainability are mandatory. Limitations include black-box models with limited explainability, infrequent updates due to lengthy training cycles, generic training unsuitable for specialized domains, hallucination, and lack of context and relations. This is where knowledge graphs come into play, providing the contextual information, like experiences, environmental characteristics, cultural aspects, and social norms, needed to build the "third wave of AI" [1] for mission-critical applications.