Spaces:
Sleeping
Sleeping
Commit History
-
perf: implement benchmark-driven optimizations
Aniket Sirsikar- Fixed LLM prompt to prevent mid-sentence cut-offs - Fixed LLM prompt to forbid hallucinating ages and numbers - Increased RAG chunk_size to 512 for better semantic paragraph coverage - Upgraded TTS from gTTS to high-quality edge-tts neural voicec13b073 -
fix(rag): remove english translation step & increase top-k chunks
Aniket Sirsikar- Eliminated the Gemini translation step from app.py - Re-routed raw Hindi queries directly to the multilingual RAG retriever - Increased retrieval chunks from k=5 to k=15 to handle 37 PDFs - Removed redundant translation code from llm.py This drastically improves finding complex Hindi concepts (like फिक्स दिपोज़ित) and shaves 2-3 seconds off latency per query.40cec9a -
feat(rag): switch to multilingual embedding model
Aniket Sirsikar- Swapped all-MiniLM-L6-v2 (English-only) for paraphrase-multilingual-MiniLM-L12-v2 - Enables native indexing and cross-lingual search for Hindi and Marathi PDFs - Keeps memory usage low enough for free CPU tiers990bd50
-
feat: auto-load PDFs, CSVs, and TXT files from data/ directory
Aniket Sirsikar- rag.py scans data/ and loads all .csv, .pdf, .txt files automatically - PDFs extracted page-by-page using pypdf - Just drop RBI PDFs into data/ and restart — no code changes needed - Added pypdf to requirements.txt5c31616 -
fix: robust translation (3-tier fallback), dual-query RAG, pipeline safeguards
Aniket Sirsikar- Rewrite translation prompt: Question/Answer format instead of arrow - Add 3-word minimum validation with retry + Hindi keyword fallback - Bump translation temp from 0.0 to 0.2 - Add retrieve_context_multi() for dual English+Hindi RAG search - Add raw response logging for debugginge9be45f
-
fix: use gemini-2.0-flash, robust Hinglish translation, RAG k=5
Aniket Sirsikar6b008eb
-
Switch to Mistral-7B API: clean prompts, fix UI labels, restore HF_TOKEN warning
Aniket Sirsikar207e13d -
Clean rewrite: whisper-small local, clean RAG+LLM with Hindi prompts
Aniket Sirsikarfc3f34d -
Migrate RAG from LangChain to LlamaIndex
Aniket Sirsikar2be51ac -
Add BankFAQs dataset and fix langchain-community dependency
Aniket Sirsikar0b6870c -
Clean commit without venv
Aniket Sirsikar9b73f19