<?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 Nandhini Ravichandran on Medium]]></title>
        <description><![CDATA[Stories by Nandhini Ravichandran on Medium]]></description>
        <link>https://medium.com/@nandhini400?source=rss-bf064cd24215------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jOFBLcWYboSvXtoL</url>
            <title>Stories by Nandhini Ravichandran on Medium</title>
            <link>https://medium.com/@nandhini400?source=rss-bf064cd24215------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 09:16:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nandhini400/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[Safeguarding Sensitive Data with RAG: Unlocking Secure Document Interaction through Docu Pal]]></title>
            <link>https://medium.com/@nandhini400/safeguarding-sensitive-data-with-rag-unlocking-secure-document-interaction-through-docu-pal-9bba82b622d8?source=rss-bf064cd24215------2</link>
            <guid isPermaLink="false">https://medium.com/p/9bba82b622d8</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[retrieval-augmented-gen]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Nandhini Ravichandran]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 09:30:04 GMT</pubDate>
            <atom:updated>2024-09-03T09:30:04.813Z</atom:updated>
            <content:encoded><![CDATA[<h3>Are You Worried About Document Sensitivity?</h3><ul><li>Are you hesitant to upload sensitive documents to AI tools due to data privacy concerns?</li><li>Does your organization handle confidential information that cannot be exposed to external servers?</li><li>Have you ever wondered if there’s a way to leverage advanced AI capabilities without compromising data security?</li></ul><p>If these questions resonate with you, you’re not alone. Data sensitivity is a major concern for many organizations, especially those dealing with confidential information. Traditional AI tools often require uploading documents to external servers, which can be a deal-breaker when it comes to protecting sensitive data. But what if you could enjoy the benefits of AI without these risks?</p><h3><strong>Introducing Retrieval-Augmented Generation (RAG):</strong></h3><p>In the realm of Natural Language Processing (NLP), Retrieval-Augmented Generation (RAG) has revolutionized how models interact with data. By combining the strengths of both retrieval and generation techniques, RAG enables models to access external knowledge, enhancing their ability to handle complex queries and large datasets with heightened accuracy and context-awareness — all while ensuring the security of sensitive information.</p><h3>Key Components of RAG:</h3><ul><li><strong>Retriever</strong>: This component is responsible for fetching relevant information from a large corpus of documents based on a given query. The retriever narrows down the search space, making it easier for the generator to process relevant information.</li><li><strong>Generator</strong>: The generator uses the information retrieved by the retriever to generate coherent and contextually accurate responses. This component is typically based on large language models (LLMs) that can produce human-like text.</li></ul><h3>Meet Docu Pal: Your Secure Document Interaction Solution:</h3><p>Docu Pal is an innovative application designed to interact with various types of documents, including PDFs, DOCX files, and text files. Using RAG, Docu Pal enhances document interaction by allowing users to upload documents and ask questions about their content — all while keeping your data safe.</p><h3>Features of Docu Pal:</h3><ul><li><strong>Document Upload</strong>: Users can upload different types of documents, including PDFs, DOCX files, and text files.</li><li><strong>Contextual Question Answering</strong>: Users can ask questions related to the content of the uploaded documents, and Docu Pal provides relevant answers.</li><li><strong>User-Friendly Interface</strong>: The application features an intuitive interface for seamless document interaction and query handling.</li></ul><h3>How RAG Powers Docu Pal:</h3><h3>Setup:</h3><p>To implement RAG in Docu Pal, we utilized the following tools and libraries:</p><ul><li><strong>LangChain</strong>: For building and managing chains of language models and retrieval systems.</li><li><strong>FAISS</strong>: For efficient similarity search and retrieval of relevant documents.</li><li><strong>Gemini AI</strong>: For powerful embeddings and language models.</li><li><strong>Streamlit</strong>: For creating an interactive web application.</li></ul><h3>Code Walkthrough:</h3><p>Kindly find the code walkthrough in the attached git repository — <a href="https://github.com/Nandhuuuuuuu/Docu-Pal---Chat-with-Your-Documents-.git">https://github.com/Nandhuuuuuuu/Docu-Pal---Chat-with-Your-Documents-.git</a></p><h3>Docu Pal in Action: Step-by-Step Walkthrough:</h3><ol><li>User Interface</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BzpRXitXE9EX0bYcSBxamA.png" /><figcaption>1. User Interface</figcaption></figure><p>2. Uploading a document — for the demo purpose I’ve used the pdf of a publicly available whitepaper called : “Artificial Intelligence and Life in 2030” — Stanford University One Hundred Year Study on AI (2016)</p><p>It is available in :<a href="https://ai100.stanford.edu/sites/g/files/sbiybj18871/files/media/file/ai100report10032016fnl_singles.pdf">ai100report10032016fnl_singles.pdf (stanford.edu)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S9JVGGcMZic27UauoDqIjg.png" /><figcaption>2. Uploading a document</figcaption></figure><p>3. Document Interaction</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qw3JdzPoGFAn_tLAEY6uow.png" /><figcaption>3. Document Interaction</figcaption></figure><p>4. Querying the document:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hm0RzjqqBKfLOVcuMKl80g.png" /><figcaption>4. Querying the document</figcaption></figure><p>5. Query with Typos</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VPqbmGGUrj7Y7Ez4hGTWuQ.png" /><figcaption>5. Query with typos</figcaption></figure><h3>Conclusion:</h3><p>Docu Pal showcases how Retrieval-Augmented Generation (RAG) can revolutionize document interaction by combining the strengths of retrieval and generation models. Most importantly, it addresses the critical issue of data sensitivity, allowing organizations to leverage AI without compromising on security. As AI continues to advance, solutions like RAG and applications like Docu Pal will play a pivotal role in transforming how we interact with and utilize information in a secure and efficient manner.</p><h3>GitHub Repository</h3><p>Explore the source code and contribute to Docu Pal on <a href="#">GitHub</a>. — <a href="https://github.com/Nandhuuuuuuu/Docu-Pal---Chat-with-Your-Documents-.git">https://github.com/Nandhuuuuuuu/Docu-Pal---Chat-with-Your-Documents-.git</a></p><h3>References</h3><ul><li><a href="#">LangChain Documentation</a></li><li><a href="#">FAISS Documentation</a></li><li><a href="#">Google Generative AI Documentation</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9bba82b622d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>