Second Brain ā Knowledge Graph
Transforms unstructured text into an interactive knowledge graph for better understanding and exploration.

Problem
Unstructured text makes it difficult to identify relationships between concepts, leading to poor knowledge retention and exploration.
Solution
Used GPT-4o with structured JSON output to extract entities and relationships
Designed a graph schema for nodes and edges representing concepts and connections
Implemented D3.js force-directed graph for interactive visualization
Enabled node-level summarization for deeper concept understanding
Tech Stack
GPT-4oD3.jsNext.jsKnowledge Graphs
Architecture
Text Input ā Semantic Parsing ā Structured JSON Generation ā Entity & Relation Mapping ā Graph Construction ā Interactive Visualization
Challenges
Ensuring accurate entity-relation extraction from unstructured text required careful prompt engineering. Graph layout optimization and rendering performance were also challenging for large datasets.
What Iād Improve Next
- ⢠Add persistent graph storage and retrieval
- ⢠Introduce clustering algorithms for better graph organization
- ⢠Enable multi-document graph merging