File:GraphRAG.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 3,769 × 1,864 pixels, file size: 86 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionGraphRAG.svg |
English: Diagram illustrating the two principle phases of GraphRAG with a knowledge graph with selectable access patterns for unstructured, structured and mixed data.
Indexing Phase, knowledge graph construction:
a) Documents (unstructured data) are transformed into a lexical graph with hiearchical levels of detail and cross-document topical summarization. Each level includes a vector representation of the text. Named entity recognition is performed to extract structured data from the text, which is optionally attached to an in-graph schema. Finally, text representations are cross-linked and may be enriched with graph analysis like a centrality score.
b) Structured data is imported as a domain graph using primitive data types recorded in nodes and relationships.
c) Connections are made between the structured and unstructured data.
Inference Phase, GraphRAG access patterns:
A vector embedding is calculated for the user question.
Rule-based or agent-based tool selection determines the access pattern to use:
a) Search - text from the lexical graph is searched using keyword, full-text, or vector similarity search
b) Search + pattern match - following a search, graph pattern matching is used to expand the context of the text with structured data that can also be used for post-filtering
c) Query - the user question is used to generated a database query, which is validated and executed to retrieve relevant information
Together, the combined text and data added to the prompt as context for the original user question.
The LLM then generates the final answer.
This process ensures efficient and relevant document retrieval based on the semantic content of queries. |
| Date | |
| Source | Own work |
| Author | Akollegger |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Captions
GraphRAG with a knowledge graph combines access patterns for unstructured, structured and mixed data
GraphRAG з графом знань поєднує шаблони доступу для неструктурованих, структурованих та змішаних даних.
GraphRAG combineert met een kennisgraaf toegangspatronen voor ongestructureerde, gestructureerde en gemengde data.
GraphRAG met 'n kennisgrafiek kombineer toegangspatrone vir ongestruktureerde, gestruktureerde en gemengde data
GraphRAG with a knowledge graph, combines access patterns for unstructured, structured and mixed data
GraphRAG con un gráfico de conocimiento combina patrones de acceso para datos no estructurados, estructurados y mixtos.
GraphRAG con un knowledge graph combina modelli di accesso per dati non strutturati, strutturati e misti
GraphRAG z wykorzystaniem grafu wiedzy łączy wzorce dostępu do danych niestrukturalnych, strukturalnych i mieszanych
Items portrayed in this file
depicts
1 July 2024
image/svg+xml
88,241 byte
5e1a4cd92c27cd8968c4f39cfb668fdec5326144
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 16:57, 1 July 2024 | 3,769 × 1,864 (86 KB) | wikimediacommons>Akollegger | Uploaded own work with UploadWizard |
File usage
There are no pages that use this file.
Retrieved from "https://en.wiki.beta.math.wmcloud.org/wiki/File:GraphRAG.svg"