robert-mcdermott / ai-knowledge-graph
AI Powered Knowledge Graph Generator
Why this job: says: knowledge graph; topics: knowledge-graph

What it does
- Any text input. .txt, .md, .rst, .pdf and .docx files or whole directories, in any language (extraction.language); large documents are split on sentence boundaries with overlap and extracted in parallel
- Typed knowledge extraction. the LLM returns Subject-Predicate-Object triples with entity types (person, organization, place, event, technology, product, work, date, concept) and every extracted relationship keeps the sentence it came from
- Entity standardization. case, stop-word and plural variants are merged, with an optional LLM pass for the rest
- Conservative, traceable inference. LLM passes bridge isolated parts of the graph and add well-known relationships between central entities; a deterministic taxonomy rule links specific terms to general ones; every inferred edge carries its
- Exports. JSON, CSV, GraphML for Gephi/yEd/Cytoscape and a Cypher script for Neo4j
Get started
git clone https://github.com/robert-mcdermott/ai-knowledge-graph.git
cd ai-knowledge-graph
uv sync --extra web
# or: pip install -e ".[web]" You need: Python 3.11+; Core dependencies: networkx, jinja2, requests (installed automatically); Optional extras: [web] for graph-serve (FastAPI, uvicorn), [pdf] and [docx] for those input formats,
- Maintenance
- Active
- Last commit 59 days ago
- Stars
- 3,137
- +4 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v0.8.0
- Released 59 days ago
- Built with
- Python
- 82% of the code
Is it looked after?
- Contributors
- Not stated
- Last 90 days
- Issues
- 57% closed
- 6 still open
- Pull requests
- 7 merged
- 2 waiting
- Releases
- 18
- 4 in the last year
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| potpie-ai / potpie | 5,795 | 11 days ago | Apache-2.0 | No downloads |
| zilliztech / vector-graph-rag | 293 | 25 days ago | MIT | No downloads |
More: languages, topics and project record
Languages
- Python 82%
- Jinja 18%
Topics
- artificial-intelligence
- knowledge-distillation
- knowledge-graph
- llm
- networkx
- pyvis
- visualization
Project record
- JobRAG and search
- StatusListed
- Commits88
- Forks420
- Watching25
- Stars in 28 days+25
- CreatedMar 23, 2025
- First seen by usNov 7, 2026
- CheckedNov 8, 2026
