Production-grade RAG assistant: hybrid search, RRF, parent-child chunking, Promptfoo evals
Alternative_Yak_1367 · reddit · 2026-10-17
A developer shares an end-to-end enterprise RAG assistant over 10-K filings and legal contracts (Python/FastAPI/Postgres): table-aware parsing with pdfplumber, parent-child chunking (200/700 tokens), hybrid pgvector + full-text search fused via RRF and reranked by bge-reranker-base, custom guaranteed slots for short fragments, Recall@K/MRR retrieval evals plus 20 Promptfoo assertions, and multi-tenant isolation with PII redaction. Seeking feedback on cross-encoder latency, table edge cases, and code organization.
More from coding & agent
- Redditor Questions Muse, the #1 Downloaded App: Are AI Agents Ordering Uber Eats a Real Use Case? — eat-Razzmatazz1809 · 2026-10-17
- Ilya Razensteyn interviewed ~2 dozen engineers on coding agents; writeup due next week — thomasahle · 2026-10-17
- AIPOCH open-sources Open-Science: desktop app where AI agents run reproducible scientific analyses — rohanpaul_ai · 2026-10-17
- Stripe launches real-time Postgres sync for Stripe data, no webhooks needed — alexmacgregor__ · 2026-10-17
- MiMo-V2 paper: agentic groupwise grading redistributes RL advantages to curb reward hacks — Sauers_ · 2026-10-17
- Creator shares full AI music video pipeline: Claude for lyrics, Suno for song, local LTX for video — elonmusk · 2026-10-17