▲

Visualisation Sequential Action

Proces notation text_to_graph

name:text_to_graph.
Chunking and Preprocessing [1,2] = Raw documents [1] » Overlapping chunks [2];constraint:"false",
Entity and Relationship Extraction [2,3] = Overlapping chunks [2] » Triplets(head entity, relationship, tail entity) [3],
Entity Disambiguation and Deduplication [3,4] = Triplets(head entity, relationship, tail entity) [3] » Standardised data [4];constraint:"false",
Integration and Graph Construction [4,5] = Standardised data [4] » Knowledge Graph [5],
label: How Text-to-Graph Conversion Works.

Educative directed graph text_to_graph_llm

The ratio of structured information

But why would you want to extract structured information from text and represent it as a graph? One key reason is to power retrieval-augmented generation (RAG) applications. While using text embedding models over unstructured text is a useful approach, it can fall short when it comes to answering complex, multi-hop questions that require understanding connections across multiple entities or question where structured operations like filtering, sorting, and aggregation is required. By extracting structured information from text and constructing knowledge graphs, you not only organise data more effectively but also create a powerful framework for understanding complex relationships between entities. This structured approach makes it much easier to retrieve and leverage specific information, expanding the types of questions you can answer while providing greater accuracy.