Project: RAG Health Chatbot (Module 1 – AAIDC)
How to Run (Linux/Runner):
cd app/api-node && npm install && npm start # UI: http://localhost:8800/index ollama pull qwen2.5:3b && ollama pull llama3.2:3b KB Load (RAW URL in UI → “Download KB”): https://raw.githubusercontent.com/trivedijigneshkumar11192/readytensor-rag-module1-Public-/main/data/samples/health_kb.jsonl Architecture: Embeddings: BAAI/bge-m3 (SentenceTransformers) Vector DB: Chroma (persisted at data/vectorstores/chroma) Orchestration: LangChain RetrievalQA (stuff) LLM: Ollama qwen2.5:3b (primary), llama3.2:3b (fallback) One-command start: npm start (prestart = venv + deps + Chroma build) Endpoints: GET /health — service & KB status POST /admin/download-health — { "url": "<RAW JSONL/JSON>" } POST /api/chat — { "query": "...", "lang": "Hinglish|English|..." } Sample Prompts: “BP control ke lifestyle tips?” “Cholesterol LDL kaise kam karu?” “Diabetes ke early symptoms?” Repo: https://github.com/trivedijigneshkumar11192/readytensor-rag-module1-Public- Demo Video: <YouTube Unlisted URL> > Paste ke baad **Save** dabao. (Agar koi red error dikh raha ho to wahi field complete karo.) ## 4) Files tab - Tumne `health_kb.jsonl`, `README.md`, `sample1.txt` upload kar diya — **OK**. (Optionally `ui_screenshot.png` aur `QuickStart.pdf` bhi yahin add rakh sakte ho.) --- ### Ab “Publish” kyu enable hona chahiye? - Overview: **Title, Summary, Module, Cover, Tags** ✅ - Resources: **Code link** ✅ - Documentation: **Body filled** ✅ - Files: (optional) already added ✅ Agar phir bhi **Publish grey** ho: - Page top pe red validation message/outline check karo (koi field miss ho sakta hai). - Ensure **Module 1** select hai. - Cover image set hui hai (sirf files upload karna kaafi nahi; “set as cover”/thumbnail field hota hai). - Agar accidentally **Archived** state me tha, to **Unarchive/Restore** karke phir Save/Publish try karo. - Last resort: browser refresh, phir Overview → Save → Publish. karte hi ho jayega. Jo jagah atke (exact field ka naam/border red text), woh yahin likh do—main usi field ka exact