How advait-0611/yojana-setu works
Yojana Setu is a prototype for helping entrepreneurs discover potentially relevant government schemes and prepare supporting materials. Applicants enter a profile through a guided questionnaire or voice input; the matching endpoint evaluates it against the local scheme dataset and returns explainable results. From results, applicants can pre-check documents with OCR or generate a preliminary, sector-adapted DPR. The README also describes scheme-specific document guidance. The UI implements several capabilities in one large page; edges reflect shown code or documented behavior, not assumed internal calls.
Main entry points: route.ts Matching Endpoint · page.tsx Explainable Results · schemes.json Scheme Dataset
Components 13
Profile Intake
- Profile Questionnaire
src/app/page.tsx - Voice Input
src/app/page.tsx - Match Submission
src/app/page.tsx
Scheme Matching
- Matching Endpoint
src/app/api/match/route.ts - Eligibility Checks
src/app/api/match/route.ts - Scheme Dataset
src/data/schemes.json - Explainable Results
src/app/page.tsx
Applicant Support
- Document Guidance
src/data/schemes.json - Document Pre-check
src/app/page.tsx - DPR Generator
src/app/page.tsx
Other components
- Applicant
- Tesseract OCR
- PDF Generator
Connections 13
- Applicant → Profile Questionnaire: enters profile
README.md - Applicant → Voice Input: speaks profile
README.md - Voice Input → Profile Questionnaire: fills fields
README.md - Profile Questionnaire → Match Submission: submits profile
README.md - Match Submission → Matching Endpoint: sends profile
README.md - Matching Endpoint → Eligibility Checks: evaluates profile
src/app/api/match/route.ts - Matching Endpoint → Scheme Dataset: loads schemes
src/app/api/match/route.ts - Matching Endpoint → Explainable Results: returns matches
README.md - Explainable Results → Document Guidance: shows requirements
README.md - Explainable Results → Document Pre-check: starts pre-check
README.md - Document Pre-check → Tesseract OCR: extracts text
src/app/page.tsx - Explainable Results → DPR Generator: generates report
src/app/page.tsx - DPR Generator → PDF Generator: creates PDF
src/app/page.tsx