Skip to content

guptaachin/doc2graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doc2Graph - Knowledge Graph Builder

Convert TXT files and URLs into interactive knowledge graphs with AI-powered Q&A.

Tech Stack: React + FastAPI + Neo4j + LangChain

Quick Start

Prerequisites: Docker, Docker Compose, 4GB+ RAM

git clone git@github.com:guptaachin/doc2graph.git
cd doc2graph
docker-compose up --build

Access:

Features

  • 📄 Upload TXT files or URLs
  • 🗺️ Interactive graph visualization
  • ❓ Natural language Q&A
  • 🔍 Graph exploration

Usage

  1. Ingest → Upload files/URLs
  2. Graph → Explore connections
  3. Q&A → Ask questions

Development

# Database only
docker-compose up neo4j -d

# Backend
cd backend && pip install -r requirements.txt && uvicorn main:app --reload

# Frontend  
cd frontend && npm install && npm start

Troubleshooting

Common fixes:

  • Port conflicts: Check 3000, 8000, 7474, 7687
  • Memory issues: Close other apps
  • Build failures: docker system prune

Reset:

docker-compose down -v
docker-compose up --build

Logs:

docker-compose logs -f

About

Doc2Graph - Knowledge Graph Builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published