dylanhogg/llmgraph
Create knowledge graphs with LLMs
Extracts related entities and relationships from Wikipedia pages using LLM prompts, supporting 15+ entity types (movies, books, concepts, people, etc.) with customizable prompts. Outputs graphs in multiple formats—GraphML, GEXF, and interactive HTML via pyvis—while tracking token usage for cost estimation. Integrates with any LiteLLM-supported provider (OpenAI, Ollama, etc.) and includes caching for iterative graph expansion.
503 stars and 617 monthly downloads. Available on PyPI.
Stars
503
Forks
31
Language
Jupyter Notebook
License
MIT
Category
Last pushed
Oct 11, 2025
Monthly downloads
617
Commits (30d)
0
Dependencies
15
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/dylanhogg/llmgraph"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
aitomatic/semikong
First Open-Source Industry-Specific Model for Semiconductors
spcl/knowledge-graph-of-thoughts
Official Implementation of "Affordable AI Assistants with Knowledge Graph of Thoughts"
fusion-jena/automatic-KG-creation-with-LLM
Automatic Ontology and Knowledge Graph construction with LLM
LHRLAB/ChatKBQA
[ACL 2024] Official resources of "ChatKBQA: A Generate-then-Retrieve Framework for Knowledge...
zjunlp/AutoKG
[WWWJ 2024] LLMs for Knowledge Graph Construction and Reasoning: Recent Capabilities and Future...