Skip to content
The Daily Repo

robert-mcdermott / ai-knowledge-graph

AI Powered Knowledge Graph Generator

Why this job: says: knowledge graph; topics: knowledge-graph

ai-knowledge-graph-example

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 58 days ago
Stars
3,136
+4 this week
Licence
Apache-2.0
Allows business use
Downloads for
None listed
No release files
Latest version
v0.8.0
Released 58 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

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
potpie-ai / potpie5,79310 days agoApache-2.0No downloads
zilliztech / vector-graph-rag28924 days agoMITNo 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+24
  • CreatedMar 23, 2025
  • First seen by usNov 7, 2026
  • CheckedNov 8, 2026

Type to search.

Try