<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Eduardo Borges</title>
    <description>The latest articles on Forem by Eduardo Borges (@eduardo_borges_7a50083176).</description>
    <link>https://forem.com/eduardo_borges_7a50083176</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3886137%2F48b1f8f7-a140-41bf-9e9d-3e471e0097a9.png</url>
      <title>Forem: Eduardo Borges</title>
      <link>https://forem.com/eduardo_borges_7a50083176</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/eduardo_borges_7a50083176"/>
    <language>en</language>
    <item>
      <title>Stop using naive RAG</title>
      <dc:creator>Eduardo Borges</dc:creator>
      <pubDate>Sat, 18 Apr 2026 13:45:37 +0000</pubDate>
      <link>https://forem.com/eduardo_borges_7a50083176/stop-using-naive-rag-pmg</link>
      <guid>https://forem.com/eduardo_borges_7a50083176/stop-using-naive-rag-pmg</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febhjc4xq0nv1sqpofs7u.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febhjc4xq0nv1sqpofs7u.png" alt=" " width="800" height="900"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most RAG setups look good in demos — until things get slightly complex.&lt;/p&gt;

&lt;p&gt;You ask a question, it retrieves “relevant” chunks, and everything seems fine.&lt;/p&gt;

&lt;p&gt;But as soon as your system spans multiple documents — APIs, billing, infra, workflows — things start breaking down.&lt;/p&gt;

&lt;p&gt;Not because the information isn’t there.&lt;br&gt;
But because the relationships between them are lost.&lt;/p&gt;




&lt;h2&gt;
  
  
  The problem with RAG
&lt;/h2&gt;

&lt;p&gt;RAG works by retrieving chunks based on similarity.&lt;/p&gt;

&lt;p&gt;That means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It finds text that &lt;em&gt;looks&lt;/em&gt; relevant&lt;/li&gt;
&lt;li&gt;But doesn’t understand how pieces connect&lt;/li&gt;
&lt;li&gt;And can’t reconstruct system behavior&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So you end up with answers that are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;technically correct&lt;/li&gt;
&lt;li&gt;but incomplete&lt;/li&gt;
&lt;li&gt;and often misleading&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Real systems aren’t flat
&lt;/h2&gt;

&lt;p&gt;In real systems:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a deploy triggers a pipeline&lt;/li&gt;
&lt;li&gt;the pipeline applies changes to Kubernetes&lt;/li&gt;
&lt;li&gt;monitoring evaluates the rollout&lt;/li&gt;
&lt;li&gt;failures trigger rollback logic&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this lives in a single document.&lt;/p&gt;

&lt;p&gt;And RAG doesn’t connect these dots.&lt;/p&gt;




&lt;h2&gt;
  
  
  What I built instead
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;Mindex&lt;/strong&gt;:&lt;br&gt;
&lt;a href="https://usemindex.dev/" rel="noopener noreferrer"&gt;https://usemindex.dev/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Instead of just retrieving chunks, it builds a &lt;strong&gt;knowledge graph&lt;/strong&gt; on top of your documents.&lt;/p&gt;

&lt;p&gt;So your AI can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;connect documents&lt;/li&gt;
&lt;li&gt;follow relationships&lt;/li&gt;
&lt;li&gt;reconstruct flows&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Not just match text.&lt;/p&gt;




&lt;h2&gt;
  
  
  RAG vs Graph-based context
&lt;/h2&gt;

&lt;p&gt;Here’s a simplified comparison:&lt;/p&gt;

&lt;h3&gt;
  
  
  ❌ Naive RAG
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Returns a flat list of documents&lt;/li&gt;
&lt;li&gt;No relationships&lt;/li&gt;
&lt;li&gt;No ordering&lt;/li&gt;
&lt;li&gt;No system understanding&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  ✅ Mindex (GraphRAG)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Connects documents&lt;/li&gt;
&lt;li&gt;Traverses relationships&lt;/li&gt;
&lt;li&gt;Infers flows (cause → effect)&lt;/li&gt;
&lt;li&gt;Provides structured context&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;The difference is subtle at first.&lt;/p&gt;

&lt;p&gt;But when you're working with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;internal documentation&lt;/li&gt;
&lt;li&gt;APIs&lt;/li&gt;
&lt;li&gt;distributed systems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It becomes critical.&lt;/p&gt;

&lt;p&gt;You don’t just need relevant text.&lt;/p&gt;

&lt;p&gt;You need to understand how things work together.&lt;/p&gt;




&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;Mindex combines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;semantic search&lt;/li&gt;
&lt;li&gt;a knowledge graph layer&lt;/li&gt;
&lt;li&gt;relationship traversal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s available via:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CLI&lt;/li&gt;
&lt;li&gt;MCP (works with tools like Claude Code, Cursor, etc.)&lt;/li&gt;
&lt;li&gt;REST API&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;You can try it here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://usemindex.dev/" rel="noopener noreferrer"&gt;https://usemindex.dev/&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Feedback welcome
&lt;/h2&gt;

&lt;p&gt;I’m especially interested in feedback from people:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;building with RAG&lt;/li&gt;
&lt;li&gt;working with internal knowledge bases&lt;/li&gt;
&lt;li&gt;building AI dev tools&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Curious to hear how you're handling this today.&lt;/p&gt;

</description>
      <category>aiops</category>
      <category>rag</category>
      <category>claude</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
