{ "cells": [ { "cell_type": "markdown", "id": "746ccb3d604cd78d", "metadata": {}, "source": [ "# Knowledge Graph\n", "\n", "Often times, data is messy and not always stored in a structured manner ready for use by an LLM. In this recipe, we show how to create a knowledge graph from an unstructured document using common python libraries and Mirascope using OpenAI GPT-4o-mini.\n", "\n", "
Mirascope Concepts Used
\n", "Background
\n", "\n", "While traditional Natural Language Processing (NLP) techniques have long been used in knowledge graphs to identify entities and relationships in unstructured text, Large Language Models (LLMs) have significantly improved this process. LLMs enhance the accuracy of entity identification and linking to knowledge graph entries, demonstrating superior ability to handle context and ambiguity compared to conventional NLP methods. \n", "
\n", "Additional Real-World Applications
\n", "Enhance your Q&A
\n", "Supply Chain Optimization
\n", "Healthcare Assistant
\n", "