[Code Review] Production-Grade RAG Assistant: Hybrid Search, RRF, Parent-Child Chunking, and Promptfoo Evals (Python/FastAPI/Postgres)
Summary
A developer shares a production-grade RAG assistant built with Python/FastAPI featuring hybrid retrieval (pgvector + Postgres FTS fused via RRF), parent-child chunking, cross-encoder reranking, and Promptfoo-based evals, and is seeking code review and architecture feedback.
Similar Articles
@LearnWithBrij: Stop building RAG like it’s still 2022. Chunk → Embed → Retrieve → Generate That pipeline works… until you try to ship …
A thread explaining the four essential layers for building production-grade RAG systems beyond simple chunk-embed-retrieve-generate: intelligent query routing, advanced indexing, multi-type retrieval, and continuous evaluation.
Tested chunking + embeddings data from 3 production websites. [P]
Tested chunking and embeddings across three production websites for RAG retrieval, finding that a yield score (ratio of high/medium chunks) predicts corpus quality and reranking effectiveness.
Building a RAG Pipeline for Semantic Code Search
JetBrains developers share field notes on building a production-grade RAG pipeline for semantic code search (Air Context), covering parsing, chunking, and vectorization as Part 1 of a series aimed at giving LLM coding agents precise, citable evidence from large codebases.
Wrote up the failure modes that kept breaking my RAG system: chunking, stale index, hybrid search, the works
A developer shares the failure modes encountered while debugging a RAG system, including issues with chunking, stale indices, and hybrid search, along with practical fixes like sliding window chunking and contextual retrieval.
Production Grade RAG pipeline That Admits "I Don't Know"
介绍如何用 Postgres + pgvector、FastAPI、Gemini、Celery 和 Redis 构建生产级 RAG 流水线:答案引用来源、在不知道时拒绝回答,并在数据库层面强制执行行级安全。