Docs: diff two Microsoft GraphRAG runs
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- pandas, python, typescript
- Domain
- documentation
Research direction
Read docs/guide/llm-graphs.md around the Property graph formats section and check GraphRAG's entity and relationship Parquet column names for the version you document. Add the pandas conversion snippet, the comparison command, and a brief explanation of the results; update docs/zh/guide/llm-graphs.md if possible. Done when the English section is clear and the Chinese version is added or its omission is noted in the pull request.
Written by the indexing model from the issue text.
Description
Why
Microsoft GraphRAG writes its knowledge graph as
Parquet tables (entities and relationships), and its ids change on every run. Comparing two
runs, after changing a prompt, a model or the input documents, is exactly what kgdiff's
similarity matching is for
(Graphs without stable ids). What is
missing is the few lines of Python that turn the Parquet tables into a file kgdiff reads.
What
A short section in docs/guide/llm-graphs.md, after
Property graph formats,
with:
- A Python snippet (pandas only) that reads the entities and relationships tables of one run
and writes kgdiff JSON: the
entity title aslabel, its type astype, the description and other columns as
attrs, and relationships asedges. Check the column names against the GraphRAG version
you use and say which version the snippet was tested with. - The command to compare two runs, e.g.
kgdiff run-a.json run-b.json --match similarity --ignore-attr <columns that change every run>. - One or two sentences on what to look at in the result.
The same section in Chinese in docs/zh/guide/llm-graphs.md if you can, otherwise say so in
the pull request and someone will add it.
How to check it
pnpm dev:docs serves the docs locally. If you have two GraphRAG runs at hand, run the snippet
on them and mention in the pull request what kgdiff reported.
This is a good first issue: no TypeScript, one page, and a real gap for GraphRAG users.
- Dominant language
- TypeScript
- Stars
- 47
- Forks
- 6
- Avg merge
- 2h 32m
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from iiwish/kgdiff
-
accessibility help wanted viewer
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
iiwish/kgdiff#16 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 1/100
iiwish/kgdiff#21 · 1 comment ·
Maintainers usually reply within 1 day
-
cli enhancement good first issue
Difficulty 4/5 3-5 days Newbie friendliness 57/100
Maintainers usually reply within 1 day
-
documentation help wanted
Difficulty 3/5 1-2 days Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
help wanted i18n
Difficulty 5/5 Over a week Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
maintenance
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
assistant-ui/assistant-ui#10499 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
bug server-sequentialthinking v2
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
modelcontextprotocol/servers#5526 · 1 comment ·
Maintainers usually reply within 1 day
-
app-server bug CLI
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
cimd: default originBoundFields rejects a cross-origin client_uri, which the CIMD draft forbidsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
better-auth/better-auth#12458 · 1 reaction ·
Maintainers usually reply within 1 day