Building a knowledge graph made easy with a new feature from Unstructured: custom prompting for NER to build your nodes and edges.
Head of Developer Relations, Unstructured
GenAI and Vector Database Solutions Lead, Datastax
Overview
Graph-based RAG methods—wherein we integrate RAG techniques with knowledge graphs in various ways—promise greater precision but have been notoriously challenging to implement. Traditionally, constructing, navigating, and maintaining— these “knowledge graphs” was difficult, involving: manual extraction of structured relationships from documents, inflexible static graph databases, and dedicated graph DB infrastructure.
Fortunately, recent advancements—particularly tools like Unstructured and the newly-released Graph Retriever library—have greatly simplified these workflows. Unstructured provides push-button transformation of unstructured documents into structured, graph-ready data, using custom prompting of advanced Large Language Models (LLMs) for automated entity extraction and vector databases for storage. The Graph Retriever library then dynamically constructs graph-based queries over these metadata-rich vector stores, eliminating the need for dedicated graph databases.
Technical Details