Project Description: I have already completed Milestone 1 of my project (Islamic RAG system using Quran/Hadith data with strict output control). Now I need a developer to implement the Router Layer (Control System) before the existing /ask endpoint. This is a lightweight but critical component that will route user queries to the correct module. -------------------- Scope of Work: 1. Build Query Router When a user question comes in, classify it into one of the following modules: • islamic_rag • zakat_module • halal_scan • prayer_times • qibla_compass • general_chat -------------------- 2. Routing Logic Based on classification: • If islamic_rag→ apply query normalization→ send to existing RAG /ask endpoint • If zakat_module→ do NOT send to RAG→ trigger zakat flow (placeholder logic is fine for now) • If halal_scan→ trigger halal scan module (placeholder) • If prayer_times→ trigger prayer time API (placeholder) • If qibla_compass→ trigger compass module (placeholder) • If general_chat→ send to general assistant (can be simple for now) -------------------- 3. Query Normalization Layer (Important) Before sending to Islamic RAG, normalize queries to improve retrieval. Examples: • angry → anger • mad → anger • interest → riba • usury → riba • charity → zakat sadaqah • donation → sadaqah • washing before prayer → wudu • fasting month → Ramadan fasting -------------------- 4. Integration • Integrate router with existing backend • Ensure correct module is triggered • Maintain current RAG behavior (no hallucination, fallback “I don’t know”) -------------------- Tech Stack (current): • Python (FastAPI backend) • Existing /ask endpoint already working • JSON-based response -------------------- Deliverables: • Working router layer • Query classification logic • Query normalization implementation • Proper routing to modules • Basic testing with sample queries -------------------- Timeline: 1–2 days -------------------- Budget: ₹1,000 – 3000 INR -------------------- Important Notes: • This is NOT a full system build • Only router + preprocessing + integration • Clean, simple, scalable code expected • Future work available (Zakat module, Halal scanner, etc.) -------------------- To Apply: Please mention: • Your approach (rule-based or AI classification) • Similar experience (if any) • Estimated time -------------------- This is part of a larger AI Islamic assistant project (HalalyAI). Looking for someone reliable for ongoing work.