How rajkumar9mak/bis-setu works
BIS Setu is a standards-compliance and product-verification platform with industry, consumer, and AI-copilot workflows. The documented product also includes laboratory discovery and manufacturer tracking. The README describes broader capabilities such as renewal alerts and dossier export, but their implementation wiring is not visible in the sampled source; those connections are therefore left out.
Main entry points: main.py FastAPI application · rag_engine.py Grounded answer engine · route.ts API proxy · indexer.py Standards indexer
Components 33
Web experience
- Industry mode
frontend/app/industry/page.tsx - Consumer mode
frontend/app/consumer/page.tsx - AI copilot
frontend/app/copilot/page.tsx - Lab finder
frontend/app/labs/page.tsx - Manufacturer dashboard
frontend/app/dashboard/page.tsx - API proxy
frontend/app/api/[...path]/route.ts
API workflows
- FastAPI application
backend/main.py - Compliance API
backend/api/compliance.py - Verification API
backend/api/verification.py - RAG API
backend/api/rag.py - Standards API
backend/api/standards.py - Dashboard API
backend/api/dashboard.py - Documents API
backend/api/documents.py - Grievances API
backend/api/grievances.py
Standards knowledge
- Grounded answer engine
backend/services/rag_engine.py - Standards indexer
backend/ingestion/indexer.py - PDF parsing
backend/ingestion/pdf_parser.py - Clause extraction
backend/ingestion/clause_parser.py - Clause chunking
backend/ingestion/chunker.py - Hybrid retrieval
backend/retrievers/hybrid_retriever.py - BM25 retrieval
backend/retrievers/lexical_retriever.py - Vector retrieval
backend/retrievers/vector_retriever.py - Result reranking
backend/retrievers/reranker.py - Citation building
backend/services/citation_builder.py - Grounding checks
backend/services/grounding.py
Compliance and records
- Roadmap and fees
backend/services/compliance_engine.py - Licence verification
backend/services/verification_engine.py - Application database
backend/database/db.py - Standards discovery
backend/services/standards_discovery.py
Other components
- Industry user
- Consumer
- Copilot user
- Gemini API
Connections 35
- Industry user → Industry mode: uses
- Consumer → Consumer mode: uses
- Copilot user → AI copilot: asks
- Industry mode → API proxy: sends requests
- Consumer mode → API proxy: sends requests
- AI copilot → API proxy: sends requests
- Lab finder → API proxy: sends requests
- Manufacturer dashboard → API proxy: sends requests
- API proxy → FastAPI application: proxies API calls
- FastAPI application → Compliance API: registers router
- FastAPI application → Verification API: registers router
- FastAPI application → RAG API: registers router
- FastAPI application → Standards API: registers router
- FastAPI application → Dashboard API: registers router
- FastAPI application → Documents API: registers router
- FastAPI application → Grievances API: registers router
- Compliance API → Roadmap and fees: requests roadmap and fees
- Verification API → Licence verification: verifies licence
- RAG API → Grounded answer engine: queries
- RAG API → Standards indexer: reindexes standards
- Standards API → Standards discovery: discovers standards
- Dashboard API → Application database: reads dashboard data
- Documents API → Application database: accesses records
- Grievances API → Application database: accesses records
- Grounded answer engine → Standards indexer: uses indexed clauses
- Grounded answer engine → Hybrid retrieval: retrieves evidence
- Hybrid retrieval → BM25 retrieval: searches terms
- Hybrid retrieval → Vector retrieval: searches vectors
- Grounded answer engine → Result reranking: reranks results
- Grounded answer engine → Grounding checks: checks evidence
- Grounded answer engine → Citation building: builds citations
- Standards indexer → PDF parsing: parses documents
- Standards indexer → Clause extraction: extracts clauses
- Standards indexer → Clause chunking: chunks clauses
- Grounded answer engine → Gemini API: requests synthesis