<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Souvik Raj Singh on Medium]]></title>
        <description><![CDATA[Stories by Souvik Raj Singh on Medium]]></description>
        <link>https://medium.com/@souvikrajsingh02?source=rss-31aa58e8ba90------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*u827rSk3XLcmGAde</url>
            <title>Stories by Souvik Raj Singh on Medium</title>
            <link>https://medium.com/@souvikrajsingh02?source=rss-31aa58e8ba90------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:37:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@souvikrajsingh02/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[FAISS vs Pinecone: Which Vector Database Should You Choose for RAG?]]></title>
            <link>https://medium.com/@souvikrajsingh02/faiss-vs-pinecone-which-vector-database-should-you-choose-for-rag-a9c172c49b85?source=rss-31aa58e8ba90------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9c172c49b85</guid>
            <category><![CDATA[pinecone]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[vector-database]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[faiss]]></category>
            <dc:creator><![CDATA[Souvik Raj Singh]]></dc:creator>
            <pubDate>Mon, 16 Nov 2026 08:49:58 GMT</pubDate>
            <atom:updated>2026-11-16T08:49:58.693Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pCvDvFlOEjFpgSc7NAg11w.png" /></figure><p>RAG is becoming very popular in AI, and if you’re building AI applications, it’s important to understand how it works.</p><p>Before talking about why I moved from FAISS to Pinecone, let’s understand RAG in simple terms.</p><h3>What is RAG?</h3><p>Imagine you have a lot of PDF files, documents, or books. Now, you want to build an AI chatbot that can answer questions based on those documents.</p><p>But how will the AI know what’s written inside them?</p><p>That’s where RAG comes in.</p><p>RAG helps an AI find the right information from your documents and use it to answer your questions.</p><p>A basic RAG pipeline works in five steps:</p><ol><li><strong>Ingestion:</strong> First, we collect our data. It could be PDFs, documents, websites, or text files.</li><li><strong>Chunking:</strong> We break large documents into smaller pieces so they are easier to process.</li><li><strong>Embedding:</strong> We convert those smaller pieces of text into numbers (vectors) that computers can understand.</li><li><strong>Storing:</strong> We save these vectors in a vector database.</li><li><strong>Retrieval:</strong> When someone asks a question, we search for the most relevant information and send it to an LLM to generate an answer.</li></ol><p>Now, let’s talk about the most important part of this blog: the vector database.</p><h3>What are FAISS and Pinecone?</h3><p>Both FAISS and Pinecone help us search through vectors and find information that is similar to a given query.</p><p>But they work differently.</p><h3>FAISS</h3><p>FAISS is a library developed by Meta.</p><p>Think of it as a tool that helps you store and search vectors on your own machine.</p><p>It is fast and works really well for local projects and experiments.</p><p>However, you have to manage things yourself, such as:</p><ul><li>Saving your vector index.</li><li>Loading it when your application starts.</li><li>Managing storage.</li><li>Handling deployment.</li></ul><p>FAISS gives you more control, but you also have more responsibility.</p><h3>Pinecone</h3><p>Pinecone is a managed vector database.</p><p>In simple words, instead of managing everything on your own machine, you store your vectors in Pinecone’s cloud.</p><p>Your application can connect to Pinecone whenever it needs to search for relevant information.</p><p>You don’t have to worry as much about managing the underlying storage and infrastructure.</p><h3>So, Why Did I Move from FAISS to Pinecone?</h3><p>When I started working on my RAG application, FAISS was a good option.</p><p>It was simple, fast, and worked perfectly for local development.</p><p>But when I started thinking about deploying my application, I realised that managing everything locally could become a problem.</p><p>For example:</p><ul><li>What happens when my application restarts?</li><li>How will I manage my vector index?</li><li>What if I deploy my application to a cloud platform?</li><li>How will I access my stored vectors from different application instances?</li></ul><p>I wanted something that would make these things easier.</p><p>That’s why I decided to move to Pinecone.</p><p>With Pinecone, I can store my vectors in the cloud and access them whenever my application needs them.</p><p>I don’t have to manage the vector storage manually.</p><h3>Is Pinecone Better Than FAISS?</h3><p>Not always!</p><p>Both are useful, but it depends on what you’re building.</p><p><strong>Choose FAISS if:</strong></p><ul><li>You’re learning or experimenting with RAG.</li><li>You want to run vector searches locally.</li><li>You want more control over your vector index.</li></ul><p><strong>Choose Pinecone if:</strong></p><ul><li>You’re building a cloud-based application.</li><li>You want managed vector storage.</li><li>You want to avoid managing vector storage infrastructure yourself.</li></ul><h3>Final Thoughts</h3><p>Moving from FAISS to Pinecone wasn’t about choosing a better technology.</p><p>It was about choosing the right tool for my application’s needs.</p><p>FAISS is great for local development, while Pinecone makes cloud-based vector storage easier to manage.</p><p>Sometimes, as developers, we don’t need the most complicated solution. We just need the one that makes our work easier.</p><p>You can check out my RAG repository — <a href="https://github.com/souvikrajsingh/ai-rag-platform">https://github.com/souvikrajsingh/ai-rag-platform</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9c172c49b85" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>