GraphIQ: Agentic AI Knowledge Graph
Project Overview: GraphIQ is an agentic AI platform designed to extract and structure knowledge from unstructured documents. It ingests PDFs or text files, breaks them into meaningful chunks, summarizes content, extracts entities and relationships, and stores the information in a Neo4j knowledge graph. The system supports context-aware question answering via vector search and structured graph reasoning, exposing APIs for interactive exploration and chat-based interactions.
Project source code: https://github.com/Risdorn/GraphIQ
Objectives
- Build an AI system capable of transforming unstructured documents into a structured knowledge graph.
- Enable context-aware question answering using both vector embeddings and graph reasoning.
- Provide a seamless API interface for exploration, visualization, and chatbot interaction.
Features
-
Document Ingestion and Summarization:
- PDFs and text files are automatically parsed, chunked, and summarized.
- Extracted entities and relationships form the backbone of the knowledge graph.
-
Graph-Based Knowledge Representation:
- Neo4j stores structured relationships between entities for efficient querying.
- Enables complex graph-based reasoning for contextual responses.
-
Vector Search and AI Agents:
- Vector embeddings allow semantic search across documents.
- Agentic workflows combine Openrouter and Gemini LLMs for intelligent query handling.
-
Interactive Chat and Graph Exploration:
- Frontend components include a chatbot interface and graph visualization pane.
- Users can query the knowledge graph naturally and visualize relationships dynamically.
-
API Integration:
- FastAPI backend exposes endpoints for both chat and graph queries.
- Supports integration with external applications and services.
Technology Stack
- Frontend: React (TypeScript), PNPM, custom components for chat and graph visualization
- Backend: FastAPI, Python
- Database: Neo4j (GraphDB), FAISS (VectorDB)
- AI Integration: Openrouter LLMs, Gemini AI for embeddings and generation
- Utilities: Pydantic schemas, agent workflows, context chunking, and prompts
Outcome
GraphIQ enables organizations to transform unstructured data into actionable knowledge, providing a powerful tool for document understanding, reasoning, and interactive exploration. By combining vector search with graph-based reasoning, it offers precise, context-aware answers, bridging the gap between raw data and human-like understanding.