← all repositories

robert-mcdermott/ai-knowledge-graph

A knowledge graph generator that uses LLMs to extract Subject-Predicate-Object triplets from text documents and renders them as interactive visualizations.

2.3k stars Python RAG · Search
ai-knowledge-graph
Velocity · 7d
+5.2
★ / day
Trend
steady
star history

The system processes unstructured text by chunking documents and using an LLM to identify entities, standardize their names, and extract relationships between them. It infers additional relationships between disconnected graph nodes and can connect to any OpenAI-compatible API endpoint (Ollama, LM Studio, vLLM, LiteLLM, Anthropic, Azure OpenAI, AWS Bedrock). The extracted knowledge is rendered as an interactive HTML visualization using NetworkX and PyVis.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.