How ramnagendra2005/industryiq works
IndustryIQ is a multi-tenant industrial knowledge platform: engineers upload plant documents, which are parsed and extracted into a tenant knowledge graph; they then query the resulting corpus through a cited GraphRAG copilot and explore documents, compliance findings, trust signals, and P&IDs. The graph emphasizes documented product capabilities and sampled orchestration points; some subsystem links rely on the README because their implementation was not sampled.
Main entry points: engine.py IndustryIQ engine · main.py FastAPI surface · graphrag.py GraphRAG retrieval · llm.py Extraction and answer providers
Components 22
Engineer workspace
- Web workspace
frontend/src/App.jsx - Copilot chat
frontend/src/components/Chat.jsx - Document upload
frontend/src/components/Ingest.jsx - Knowledge views
frontend/src/components/GraphView.jsx - Compliance view
frontend/src/components/Compliance.jsx
API and orchestration
- FastAPI surface
backend/app/main.py - Tenant authentication
backend/app/auth.py - IndustryIQ engine
backend/app/engine.py - Tenant persistence
backend/app/persistence.py
Knowledge processing
- Document parsers
backend/app/ingestion/parsers.py - Extraction and answer providers
backend/app/llm.py - Knowledge graph
backend/app/graph/store.py - Hybrid retrieval index
backend/app/retrieval/index.py - Embedding providers
backend/app/retrieval/embeddings.py
Operational intelligence
- GraphRAG retrieval
backend/app/retrieval/graphrag.py - Copilot and dossier agents
backend/app/agents - Compliance analysis
backend/app/agents/compliance.py - Answer trust signals
backend/app/agents/trust.py - P&ID diagrams
backend/app/pid.py
Other components
- Engineer
- Google Gemini
- Supabase
Connections 29
- Engineer → Web workspace: uses
- Web workspace → FastAPI surface: calls REST
- FastAPI surface → Tenant authentication: authenticates
- FastAPI surface → IndustryIQ engine: dispatches requests
- Engineer → Document upload: uploads documents
- Document upload → FastAPI surface: submits files
- IndustryIQ engine → Document parsers: parses uploads
- IndustryIQ engine → Extraction and answer providers: extracts content
- IndustryIQ engine → Knowledge graph: ingests extractions
- IndustryIQ engine → Hybrid retrieval index: builds index
- IndustryIQ engine → Tenant persistence: restores and saves
- Engineer → Copilot chat: asks questions
- Copilot chat → FastAPI surface: submits queries
- IndustryIQ engine → GraphRAG retrieval: retrieves evidence
- GraphRAG retrieval → Hybrid retrieval index: searches passages
- GraphRAG retrieval → Embedding providers: embeds queries
- GraphRAG retrieval → Knowledge graph: expands evidence
- IndustryIQ engine → Copilot and dossier agents: generates answers
- Copilot and dossier agents → Extraction and answer providers: requests generation
- IndustryIQ engine → Answer trust signals: annotates citations
- Engineer → Knowledge views: explores knowledge
- Knowledge views → FastAPI surface: requests graph and documents
- IndustryIQ engine → P&ID diagrams: serves diagrams
- Engineer → Compliance view: reviews gaps
- Compliance view → FastAPI surface: requests findings
- FastAPI surface → Compliance analysis: dispatches analysis
- Extraction and answer providers → Google Gemini: generates or extracts
- Embedding providers → Google Gemini: embeds remotely
- Tenant persistence → Supabase: mirrors state