Skip to content

Improve RAG grounding and ingestion pipeline#7

Merged
AyushAnand413 merged 1 commit into
mainfrom
fix/rag-grounding-tuning
Mar 23, 2026
Merged

Improve RAG grounding and ingestion pipeline#7
AyushAnand413 merged 1 commit into
mainfrom
fix/rag-grounding-tuning

Conversation

@AyushAnand413

Copy link
Copy Markdown
Owner

improves grounding for document QA by tightening retrieval-to-generation flow and adding a lightweight ingestion pipeline check.

Changes included:

increased context passed to generation from the top reranked results
added retriever and reranker score filtering to reduce vague or weakly grounded answers
simplified the QA prompt for better behavior with smaller instruct models
standardized the fallback response to Information not found in the document.
added a lightweight ingestion smoke test for routing, table processing, and chunk generation
This should make uploaded-PDF responses more precise and reduce hallucinated or overly vague answers while keeping the current lightweight RAG setup intact

@vercel

vercel Bot commented Mar 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ragify-ai Ready Ready Preview, Comment Mar 23, 2026 6:49pm

@AyushAnand413 AyushAnand413 merged commit 37ef2e7 into main Mar 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant