<?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 Riyaji Devindu on Medium]]></title>
        <description><![CDATA[Stories by Riyaji Devindu on Medium]]></description>
        <link>https://medium.com/@riyajidevindu?source=rss-52af47353176------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZVA-0BgLNcoWSOO0KK21XQ.jpeg</url>
            <title>Stories by Riyaji Devindu on Medium</title>
            <link>https://medium.com/@riyajidevindu?source=rss-52af47353176------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:27:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@riyajidevindu/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[RAG Architecture]]></title>
            <link>https://medium.com/@riyajidevindu/rag-architecture-06782125a988?source=rss-52af47353176------2</link>
            <guid isPermaLink="false">https://medium.com/p/06782125a988</guid>
            <dc:creator><![CDATA[Riyaji Devindu]]></dc:creator>
            <pubDate>Sat, 03 Aug 2024 16:50:24 GMT</pubDate>
            <atom:updated>2024-08-03T16:50:24.790Z</atom:updated>
            <content:encoded><![CDATA[<p>The Retrieval-Augmented Generation (RAG) is a special architecture combining two powerful techniques: retrieval and generation. It can enhance the efficiency of Large Language Models (LLM) applications by using custom data. Before describing what happens in the RAG application, let us look at what happens behind when we interact with LLM in a normal manner.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*qKeeOwd3z0HoWEswhESEtw.png" /></figure><p>In normal situations when we ask a question using a prompt we will supply our question combined with the instructions to the LLM. Then LLM uses its trained knowledge and gives the response according to the question. But just think if we asked some questions regarding things that the LLM is not trained in. Just like something in yesterday news paper. Then this response is not in the correct manner. Then what do we do? Can we train LLM with those data? Here this is the scenario we want to use RAG architecture for our applications.</p><p>This is a sketch of the RAG application architecture.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HpoaepTqbKZOspdtvRgPRQ.png" /></figure><p>Here let us get a clear understanding of every component and step in this architecture.</p><p><strong>Data Source</strong> is a collection of documents or information that the model uses to find answers. It provides the knowledge base from which the model retrieves relevant information. We can use books, documents, articles, websites, or specialized datasets as data sources.</p><p><strong>Chunks</strong> are the small sections of a larger document or data source. Chunks make it easier for the model to find and use specific information.</p><p>The <strong>Embedding Model</strong> is used to turn text into numbers (vectors) so that LLM can understand it. So here the chunks are converted into the vectors.</p><p><strong>Data Vector Embeddings</strong> are the output from the embedding model. Here our chunks data are in vector format.</p><p><strong>Vector Database</strong> is a storage system for vectors that makes it easy to search and retrieve similar ones. Stores all the vector embeddings of the data chunks for quick access. FAISS, Milvus, and Pinecone are some examples of vector databases.</p><p>The next thing is <strong>Query Vector Embedding</strong>. This is the output from the embedding model for the input question or query. Simply the vector format of the input question.</p><p>Then the <strong>similarity search</strong> is used to find data vectors that are most similar to the query vector. Here it identifies the chunks of data that are most relevant to the query (question).</p><p><strong>Retrieved Chunks</strong> are the pieces of information identified as relevant to the query. It provides the context and details needed to generate a response.</p><p>Then in the next step, these retrieved chunk details are additionally added to our prompt for LLM. This is one of the significant differences in RAG architecture when compared with normal uses. Using that prompt the LLM has been able to give accurate answers to the user questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06782125a988" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is .Net? Why it is used?]]></title>
            <link>https://medium.com/@riyajidevindu/what-is-net-why-it-is-used-e260a4826f97?source=rss-52af47353176------2</link>
            <guid isPermaLink="false">https://medium.com/p/e260a4826f97</guid>
            <dc:creator><![CDATA[Riyaji Devindu]]></dc:creator>
            <pubDate>Sat, 04 May 2024 03:45:44 GMT</pubDate>
            <atom:updated>2024-05-04T03:45:44.467Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is .Net? Why it is used?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*9GK2Kh8PviYaCZuAN6CzXQ.png" /></figure><p>Most people have a common problem, what is .Net?, Why it is used? <br>The simple answer is that .Net is A free, cross-platform, open-source developer platform. It is developed by Microsoft and maintained by both Microsoft and the community. Here developers can build web applications, mobile applications, desktop applications, cloud applications, machine learning applications, data science projects, and many more. It is regularly updated to ensure security. The .Net includes the following components.</p><ul><li>Runtime</li><li>Libraries</li><li>Compiler</li><li>SDK and other tools</li><li>App stacks</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*agGASbVp-emObLFQ8OMQfw.png" /></figure><p>The most popular language in .Net is C#. C# is an object-oriented language. One of the main reasons for using C# for the .Net is C# has integrated concurrency(via async, await, and task primitives) and automatic memory management(via garbage collector). C# is the combination of the powerful low-level language C++ and the high-level language Visual Basic (VB). Because of that C# has the powerfulness of the C++ and easiness of the VB. The developer does not need to additionally think about memory management in C#. That is why C# is more easy to use for the developers.</p><p>The .Net includes the standard set of libraries and APIs. Not only that, but one of the cool features of the .Net is the NuGet package manager. It gives access to lots of new third-party packages developed by the community of developers. It gives the access to go beyond the box. The NuGet package manager contains 403,131 unique packages. It counts that 487,369,609,507 package downloads by the developers. Developers can build their .Net application in a faster manner with the help of those packages.</p><p>The .Net is also supported by many operating systems like Windows, Andriod, Apple, and Linux. For the developments following tools can be used according to the developer&#39;s preferences.</p><ul><li>.Net CLI</li><li>Visual Studio</li><li>Visual Studio Code</li></ul><p>The widely used IDE is Visual Studio for the .Net development. It is also developed and maintained by Microsoft.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*g_uuJ2tNsJDtWm8MEdW71w.jpeg" /></figure><p>Those are some cool features of the .Net and simple answers for what is .Net and why it is used by the developers.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e260a4826f97" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>