AI Engineering, Custom Transformers, LLMs & Autonomous Agentic Systems.
Technical insights, architectural deep-dives, and research notes on AI Engineering, Large Language Models, Transformers, Prompt Engineering, and Autonomous Agentic AI systems. Bridging Deep Learning theory with production-grade enterprise solutions.
Markdown supported · ⌘↵ to post
Ahmet Özel
Treating retrieval as a bounded decision loop—broad hybrid recall into RRF, cross-encoder reranking from 100 down to 5-8 chunks, and a lightweight CRAG grader before generation—targets the exact point where single-shot pipelines fail silently. Separating cheap recall from expensive pairwise precision keeps p95 latency reasonable without sacrificing accuracy.
One guard I always add around the CRAG query-rewrite loop is a hard cap of one or two retries plus an explicit "insufficient evidence" exit. Without that exit, an unanswerable user question triggers repeated rewrites that burn extra latency and tokens only to hallucinate from marginally related chunks.