How vedantkarne/sme-ipo-drhp-generator works
Nirmaan AI guides SME promoters through company-data capture, eligibility screening, document ingestion, evidence-grounded DRHP drafting, review, and export. The graph combines the documented capabilities with source-index-supported relationships; several screen implementations and backend integrations were not sampled, so their internal links are omitted rather than inferred.
Main entry points: server.py FastAPI application · orchestrator.py DRHP agent · App.jsx Role-based application · document_upload_router.py Document upload
Components 23
User experience
- Role-based application
frontend/src/App.jsx - Company workflow screens
frontend/src/screens - Document canvas
frontend/src/canvas/document - Canvas API client
frontend/src/canvas/services/canvasApi.js
Application API
- FastAPI application
src/api/server.py - Authentication and access
src/api/auth_router.py - Session and eligibility routes
src/api/session_router.py - Document upload
src/api/document_upload_router.py - Finance review
src/api/finance_router.py - Legal review
src/api/legal_review_router.py
Drafting and review
- Eligibility engine
src/eligibility/checker.py - DRHP agent
src/agent/orchestrator.py - Section assembly
src/agent/document_assembler.py - Consistency checks
src/agent/consistency_checker.py
Evidence and data
- Document parsing and chunking
src/ingestion - Hybrid evidence retrieval
src/retrieval/hybrid_retriever.py - BGE-M3 embeddings
src/retrieval/bge_m3_embedder.py - Chroma vector store
src/retrieval/vector_store.py - Company and DRHP records
src/extraction/schema.py - SQLite persistence
src/extraction/db_session.py
Other components
- SME promoter
- Professional reviewers
- Groq language model
Connections 28
- SME promoter → Role-based application: uses
README.md - Professional reviewers → Role-based application: review in
README.md - Role-based application → Company workflow screens: routes to
frontend/src/App.jsx - Role-based application → Document canvas: opens
frontend/src/App.jsx - Document canvas → Canvas API client: uses
frontend/src/canvas/CanvasRoot.jsx - Canvas API client → Authentication and access: uses credentials
frontend/src/canvas/services/canvasApi.js - FastAPI application → Authentication and access: registers routes
src/api/server.py - FastAPI application → Session and eligibility routes: registers routes
src/api/server.py - FastAPI application → Document upload: registers routes
src/api/server.py - FastAPI application → Finance review: registers routes
src/api/server.py - FastAPI application → Legal review: registers routes
src/api/server.py - Session and eligibility routes → Eligibility engine: runs check
src/api/session_router.py - FastAPI application → DRHP agent: runs drafting
src/api/server.py - FastAPI application → Consistency checks: runs checks
src/api/server.py - DRHP agent → Consistency checks: validates draft
src/agent/orchestrator.py - DRHP agent → Groq language model: requests drafting
src/agent/orchestrator.py - DRHP agent → Hybrid evidence retrieval: retrieves evidence
- Document upload → Document parsing and chunking: processes uploads
src/api/document_upload_router.py - Document upload → Chroma vector store: stores chunks
src/api/document_upload_router.py - Document parsing and chunking → BGE-M3 embeddings: embeds corpus
src/ingestion/runners/main_ingestion_runner.py - Document parsing and chunking → Chroma vector store: indexes corpus
src/ingestion/runners/main_ingestion_runner.py - Hybrid evidence retrieval → BGE-M3 embeddings: embeds queries
src/retrieval/hybrid_retriever.py - Hybrid evidence retrieval → Chroma vector store: searches
src/retrieval/hybrid_retriever.py - SQLite persistence → Company and DRHP records: maps schema
src/extraction/db_session.py - Authentication and access → SQLite persistence: uses sessions
src/api/auth_router.py - FastAPI application → SQLite persistence: reads and writes
src/api/server.py - Legal review → Company and DRHP records: reads review state
src/api/legal_review_router.py - Section assembly → Company and DRHP records: assembles document