Weighted Scheme Eligibility Matching and Hybrid Retrieval for Multilingual Agricultural Assistance: The KrishiSahayak Prototype
Keywords:
agricultural advisory systems, government scheme discovery, multilingual interfaces, optical character recognition, retrieval-augmented generation, weighted eligibility matchingAbstract
Agricultural support schemes in India are described in scattered portals, notifications, and circulars, and every scheme sets its own eligibility rules, benefits, and document requirements. This paper presents KrishiSahayak, a multilingual web and Android prototype that helps users discover schemes, screen a farmer profile against them, and understand uploaded documents. The system pairs a React/Vite front end, packaged with Capacitor, with a Node.js/Express REST API and a MongoDB database holding 23 seeded scheme records. A deterministic weighted evaluator scores a farmer profile on seven positive criteria and two geographic penalties (state and district), covering nine profile dimensions, and returns a score, a status label, and per-criterion reasons. A distinct chat assistant ranks whole scheme records by combining semantic similarity (weight 0.6) with lexical matching (weight 0.4) and passes at most four records to Google Gemini; lexical fallback routes take over when embeddings are unavailable or return nothing. The interface supports seven locales, browser and native speech input, and a text-extraction pipeline for PDFs and images. Conversational and multilingual agricultural information services already exist, so none of these features is presented as new. The only evidence reported consists of software checks: 87 of 87 assertions passing in a mock-backed end-to-end runner, identical key counts across seven locale files, and a syntax check of 121 JavaScript files. Eligibility accuracy, retrieval quality, answer faithfulness, OCR and speech performance, reliability of live services, and usability were not evaluated. The system is a guidance prototype and not an authoritative eligibility service.