How rohitkumawat-dev/velocia1 works
Velocia recommends potentially applicable Indian Standards from product/specification text and supports tender-PDF review with citation checks and report export. The principal flow runs from the React interface through FastAPI analysis into retrieval, filtering and ranked, explainable results; tender review adds segmentation, citation audit and PDF reporting. The README documents product/category intelligence, metadata validation and typo handling, but sampled excerpts do not establish all internal wiring, so uncertain links are omitted. The RAG module is shown as an optional path, not assumed to be the main API route.
Main entry points: main.py Query analysis · App.jsx Search interface · TenderReview.jsx Tender interface · catalogue_search.py Hybrid retrieval
Components 20
User experience
- Search interface
frontend/src/App.jsx - Tender interface
frontend/src/TenderReview.jsx - FastAPI service
backend/main.py
Recommendations
- Query analysis
backend/main.py - Hybrid retrieval
backend/catalogue_search.py - Semantic retrieval
backend/semantic_search.py - Applicability rules
backend/applicability.py - Typo handling
backend/typo_correction.py - Evidence assessment
backend/rag_engine.py
Tender review
- Document extraction
backend/document_extract.py - Tender orchestration
backend/main.py - Requirement segmentation
backend/tender_review.py - Citation audit
backend/tender_review.py - Citation snapshot
backend/citation_snapshot.json - PDF reporting
backend/report_pdf.py
Standards data
- Standards records
backend/standards.json - Scope evidence
backend/scope_evidence.json
Other components
- Procurement user
- Gemini service
- BIS catalogue
Connections 24
- Procurement user → Search interface: enters requirement
- Search interface → FastAPI service: POST /api/analyze
- FastAPI service → Query analysis: analyzes query
- Query analysis → Typo handling: corrects input
- Query analysis → Hybrid retrieval: retrieves candidates
- Query analysis → Semantic retrieval: retrieves candidates
- Hybrid retrieval → Standards records: reads records
- Semantic retrieval → Standards records: indexes records
- Query analysis → Applicability rules: filters candidates
- Hybrid retrieval → Scope evidence: reads scope evidence
- Search interface → Tender interface: opens review
- Tender interface → FastAPI service: uploads PDF
- FastAPI service → Tender orchestration: handles tender
- Tender orchestration → Requirement segmentation: splits requirements
- Tender orchestration → Document extraction: extracts document text
- Tender orchestration → Citation audit: audits citations
- Citation audit → Citation snapshot: reads snapshot
- Tender orchestration → Query analysis: searches requirements
- Tender orchestration → PDF reporting: creates report
- Tender interface → FastAPI service: downloads report
- FastAPI service → PDF reporting: loads report
- Query analysis → Evidence assessment: optional assessment
- Evidence assessment → Gemini service: requests assessment
- Procurement user → BIS catalogue: opens catalogue link