How tlokeshkumar1/gen-ai-analytics-platform works
GEN-AI Analytics Platform is a governed, metadata-driven analytics product: users upload or connect data, review inferred semantics, then explore datasets through deterministic analytics, dashboards, graph tools, or conversational RAG. Its backend also supports versioned dataset management, enterprise connectors, HANA administration, and asynchronous ingestion/sync. The README describes several capabilities beyond the sampled source; those documented relationships are labeled with README evidence, while uncertain internal wiring is omitted.
Main entry points: App.tsx React application · pipeline.py RAG pipeline · app.py FastAPI application · DatasetIngestion.tsx Dataset ingestion
Components 23
User Experience
- React application
frontend/src/App.tsx - Dataset ingestion
frontend/src/screens/DatasetIngestion.tsx - Agent progress UI
frontend/src/components/AIAgentIngestionStepper.tsx - Executive dashboard
frontend/src/screens/ExecutiveDashboard.tsx - KPI graph studio
frontend/src/screens/GraphStudio.tsx - RAG chat
frontend/src/screens/RAGChat.tsx - API client
frontend/src/services/api.ts
Data Ingestion
- Upload service
backend/api/services/upload_service.py - Ingestion and semantics
backend/api/platform/ingestion.py
Analytics and AI
- Intent and query planning
backend/api/services/intent_engine.py - Deterministic analytics
backend/api/services/analytics_engine.py - RAG pipeline
backend/api/rag/pipeline.py - Python graph agent
backend/api/services/python_graph_agent.py - AI inference service
backend/api/services/ai_core_service.py
Platform Services
- FastAPI application
backend/api/app.py - Dataset service
backend/api/services/dataset_service.py - Semantic registry
backend/api/platform/semantic.py - Pinned dataset context
backend/api/models/execution_context.py - Async job worker
backend/api/worker.py
Persistence and Integrations
- HANA table service
backend/api/database/hana_table_service.py - SAP HANA Cloud
- Enterprise connectors
backend/api/platform/connectors.py
Other components
- Enterprise user
Connections 24
- Enterprise user → React application: uses
- React application → Dataset ingestion: opens
frontend/src/App.tsx - Dataset ingestion → Agent progress UI: renders
frontend/src/screens/DatasetIngestion.tsx - Dataset ingestion → API client: requests
frontend/src/screens/DatasetIngestion.tsx - React application → Executive dashboard: opens
frontend/src/App.tsx - React application → KPI graph studio: opens
frontend/src/App.tsx - React application → RAG chat: opens
frontend/src/App.tsx - API client → FastAPI application: calls REST/SSE
- FastAPI application → Upload service: routes uploads
- Upload service → Ingestion and semantics: orchestrates
- Ingestion and semantics → Dataset service: registers datasets
- Dataset service → Semantic registry: versions semantics
backend/api/platform/semantic.py - FastAPI application → Pinned dataset context: binds requests
- FastAPI application → RAG pipeline: serves chat
- RAG pipeline → Intent and query planning: plans queries
backend/api/rag/pipeline.py - RAG pipeline → Deterministic analytics: executes plans
backend/api/rag/pipeline.py - RAG pipeline → Python graph agent: delegates graph work
backend/api/rag/pipeline.py - RAG pipeline → AI inference service: generates responses
- Deterministic analytics → HANA table service: queries data
- HANA table service → SAP HANA Cloud: reads and writes
- Async job worker → SAP HANA Cloud: syncs data
- Async job worker → Enterprise connectors: syncs sources
- Enterprise connectors → SAP HANA Cloud: loads datasets
- AI inference service → Enterprise user: uses AI inference