Resume

Second Brain — Knowledge Graph

Transforms unstructured text into an interactive knowledge graph for better understanding and exploration.

Second Brain — Knowledge Graph

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