How to use graphrag with other database and structured data? #1679
Replies: 1 comment
-
Q1: Is it possible to create the indexes into Azure Postgres Flexible server or Neo4J using MS GraphRAG? Azure Postgres Flexible Server GraphRAG does not natively support indexing directly into Azure Postgres Flexible Server. GraphRAG is built for graph-based retrieval, making Neo4J a natural candidate for integration. ✅ Summary: While GraphRAG does not natively support Azure Postgres Flexible Server or Neo4J, custom integration is possible using manual export and processing scripts. Q2: Can GraphRAG work with structured data showing entity relationships? GraphRAG is optimized for unstructured/semi-structured text retrieval, but it supports structured entity relationships by: If relationship data is static, store it separately and link to GraphRAG’s text-based retrieval. ✅ Summary: GraphRAG can work with structured entity relationships, but it requires additional configuration to integrate with structured graph data. Final Recommendations |
Beta Was this translation helpful? Give feedback.
-
I have tried the "Get Started "guide (https://microsoft.github.io/graphrag/get_started/) by installing python graphrag, indexing and querying using graphrag cli which creates the output in local lancedb.
Q1) Is it possible to create the indexes into Azure Postgres Flexible server or Neo4J using ms graphrag?
Q2) Additionally what if I have these data sets:
structured data which shows entity relationships (entities are in bold)
Sample:
{
"relationship": "Contains::Contained by",
"parent.class": "site",
"parent.name": "APAC-HUB-01",
"child.description": "Windows Server for xxxx",
"parent.description": "Site location",
"child.class": "win_server",
"child.name": "server01"
}
entity and attributes. Each entity attributes can be selected and expanded as required. Sample from 1 shows the name, class and description for the entity
Is it possible to use graphrag with these types of data?
Beta Was this translation helpful? Give feedback.
All reactions