BIS Navigator is a production-grade, RAG-enhanced (Retrieval-Augmented Generation) intelligence platform designed to bridge the gap between complex industrial standards (BIS SP 21) and ground-level manufacturing operations. It reduces weeks of manual compliance research to under 3 seconds.
The system utilizes a multi-layered architecture designed for high throughput and sovereign data handling.
graph TD
subgraph "External Integration Layer"
WA[WhatsApp Business API] --> |Webhook| WH[FastAPI Webhook Handler]
FE[React Frontend] --> |REST/WS| API[FastAPI Gateway]
end
subgraph "Intelligence Core"
RAG[BIS Rag Pipeline]
AE[Audit Engine]
EX[Explainability Module]
end
subgraph "Data & Vector Layer"
PG[(PostgreSQL + pgvector)]
RD[(Redis Cache)]
FA[FAISS In-Memory Index]
end
WH --> RAG
API --> AE
API --> EX
RAG --> FA
AE --> PG
EX --> RAG
PG --> AE
The core of our recommendation engine relies on high-dimensional embedding projections. For a given product description
To ensure regulatory precision, we implement a hybrid ranking function
Where $\alpha = 0.7$ emphasizes semantic intent while preserving exact standard ID matches.
The Audit Engine performs a multi-step verification against the indexed BIS corpus, ensuring every claim is backed by a verified citation.
sequenceDiagram
participant U as Manufacturer (User)
participant B as BIS Navigator Backend
participant R as RAG Engine
participant L as LLM (Ollama/Fallback)
U->>B: Submit Product Draft
B->>R: Vector Search (Top-K Standards)
R-->>B: Applicable Standards List
B->>L: Contextual Compliance Audit
L-->>B: Risk Analysis + Suggested Fixes
B->>U: Final Compliance Report (Verified Citations)
Unlike simple prototypes, BIS Navigator is connected to 10 live/scraped government data sources:
- BIS Certified Licensees: Real-time lookup of 40,000+ certified manufacturers.
- MSME/Udyam Portal: Geospatial factory data for cluster-based risk mapping.
- BIS Laboratory Network: Geographic mapping of 500+ testing labs.
- Enforcement & Violations: Historical seizure data for predictive non-compliance.
- SP 21 Standards Catalog: 19,000+ indexed BIS standard documents.
- HSN Code Registry: Cross-referencing 5,000+ HSN codes with BIS mandates.
- India GeoJSON Boundaries: High-resolution state/district maps for analytics.
- BIS News & Alerts: Automated scraping of the latest compliance circulars.
- Import/Export Policy: Identification of items under Compulsory Registration Order (CRO).
- International Standard Mapping: ISO/IEC cross-references for export readiness.
Ensure Docker and Python 3.10+ are installed.
docker-compose up -dPopulate the PostgreSQL instance with production-grade datasets.
python seed_real_data.py# Start Backend
python -m uvicorn app.main:app --port 8000
# Start Frontend
cd frontend
npm run dev- For Manufacturers: Instant "Compliance Readiness" score for new product prototypes.
- For MSMEs: Step-by-step guidance on obtaining the ISI mark via the WhatsApp assistant.
- For Regulators: Heatmaps identifying high-risk industrial regions based on violation density and factory concentration.
Developed for the National Compliance Intelligence Hackathon 2024.