<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>RAG on Popular AI</title>
        <link>https://nxfuga.com/tags/rag/</link>
        <description>Recent content in RAG on Popular AI</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Mon, 20 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://nxfuga.com/tags/rag/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>RAG Quality: Retrieval First, Generation Second</title>
            <link>https://nxfuga.com/posts/note-3b7d6e05a1/</link>
            <pubDate>Mon, 20 Apr 2026 00:00:00 +0000</pubDate>
            <guid>https://nxfuga.com/posts/note-3b7d6e05a1/</guid>
            <description>&lt;h2 id=&#34;rag-quality-retrieval-first-generation-second&#34;&gt;RAG Quality: Retrieval First, Generation Second&#xA;&lt;/h2&gt;&lt;p&gt;When answers sound confident but conflict with your documents, the usual mistake is to tune the model before you measure retrieval. In most production RAG stacks, &lt;strong&gt;bad chunks&lt;/strong&gt; or &lt;strong&gt;wrong ranks&lt;/strong&gt; explain more failures than “the LLM forgot.”&lt;/p&gt;&#xA;&lt;p&gt;Start with the evidence trail. Log the top &lt;em&gt;k&lt;/em&gt; chunk IDs, scores, and short previews for every query (with redaction for PII). If the right passage never appears in those &lt;em&gt;k&lt;/em&gt; results, no amount of prompting fixes that—you need better chunking, metadata filters, embeddings refresh, or hybrid sparse+dense search.&lt;/p&gt;&#xA;&lt;p&gt;When retrieval looks sane and answers still drift, tighten the contract: require citations, forbid facts not present in retrieved text, and surface “not enough context” as an explicit outcome instead of guessing.&lt;/p&gt;&#xA;&lt;p&gt;This keeps iteration honest: you upgrade ingestion and retrieval with numbers, and you treat generation as the last mile, not the first knob.&lt;/p&gt;&#xA;</description>
        </item></channel>
</rss>
