How marceloclaro/graphrag-pipeline---sandeco works
GraphRAG Pipeline Visualizer is a React audit interface for transforming uploaded documents into chunks, embeddings, clusters and a knowledge graph, then exercising a RAG query flow. The visible runtime also provides graph and cluster inspection, metrics, and report/export capabilities. The README describes richer retrieval, CRAG and graph-expansion stages, while the sampled App excerpt shows only part of that orchestration; those stages are represented as capabilities, not asserted implementation links. Edges reflect shown calls/import references or README claims; unsampled implementation details are not inferred.
Main entry points: App.tsx Pipeline controller · geminiService.ts AI enrichment and embeddings · pdfService.ts PDF extraction · mockDataService.ts Chunk and graph generation
Components 19
Ingestion and enrichment
- Pipeline controller
App.tsx - PDF extraction
services/pdfService.ts - AI enrichment and embeddings
services/geminiService.ts
Knowledge construction
- Chunk and graph generation
services/mockDataService.ts - CNN refinement
services/cnnRefinementService.ts - Cluster profiles
services/clusterAnalysisService.ts
RAG inference
- HyDE and RAG query flow
App.tsx - Retrieval, CRAG, graph expansion
App.tsx
Audit interface
- Pipeline progress
components/PipelineProgress.tsx - Interactive graph
components/charts/ForceGraph.tsx - Cluster analysis panel
components/ClusterAnalysisPanel.tsx - Graph metrics dashboard
components/GraphMetricsDashboard.tsx - Full content modal
components/FullContentModal.tsx
Reports and export
- Technical report
services/reportService.ts - Data export
services/exportService.ts
Other components
- User
- PDF or text
- PDF.js worker
- Gemini API
Connections 19
- User → Pipeline controller: uploads and queries
README.md - PDF or text → Pipeline controller: provides files
README.md - Pipeline controller → PDF extraction: extracts PDF text
App.tsx - PDF extraction → PDF.js worker: parses pages
services/pdfService.ts - Pipeline controller → AI enrichment and embeddings: enriches and embeds
App.tsx - AI enrichment and embeddings → Gemini API: calls models
services/geminiService.ts - Pipeline controller → Chunk and graph generation: generates clusters
App.tsx - Pipeline controller → CNN refinement: refines embeddings
App.tsx - Pipeline controller → Cluster profiles: requests profiles
- Pipeline controller → HyDE and RAG query flow: runs query flow
App.tsx - HyDE and RAG query flow → AI enrichment and embeddings: generates HyDE and answer
App.tsx - HyDE and RAG query flow → Retrieval, CRAG, graph expansion: performs documented stages
README.md - Pipeline controller → Pipeline progress: shows stage
App.tsx - Pipeline controller → Interactive graph: renders graph
App.tsx - Pipeline controller → Cluster analysis panel: shows cluster analysis
App.tsx - Pipeline controller → Graph metrics dashboard: shows graph metrics
App.tsx - Pipeline controller → Full content modal: opens content
App.tsx - Pipeline controller → Technical report: generates report
App.tsx - Pipeline controller → Data export: exports data
App.tsx