Expand description
LLM-based relationship extraction module LLM-based relationship extraction following Microsoft GraphRAG methodology
This module implements proper entity-relationship extraction using LLM prompts instead of simple pattern matching. It extracts entities and relationships together in a single LLM call, following the best practices from Microsoft GraphRAG and LightRAG.
Structsยง
- Extracted
Entity - Extracted entity with metadata
- Extracted
Relationship - Extracted relationship with metadata
- Extraction
Result - Combined extraction result from LLM
- LLMRelationship
Extractor - LLM-based relationship extractor