<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ollama on Samarthya</title><link>https://samarthya.me/tags/ollama/</link><description>Recent content in Ollama on Samarthya</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© Samarthya 2018-2026. All rights reserved.</copyright><lastBuildDate>Tue, 11 Nov 2025 12:00:00 +0000</lastBuildDate><atom:link href="https://samarthya.me/tags/ollama/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a Practical Retrieval-Augmented Personal Assistant (RAG)</title><link>https://samarthya.me/posts/building-a-practical-retrieval-augmented-personal-assistant-rag/</link><pubDate>Tue, 11 Nov 2025 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/building-a-practical-retrieval-augmented-personal-assistant-rag/</guid><description>&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt=""&#10; width="600"&#10; height="600"&#10; src="https://samarthya.me/posts/building-a-practical-retrieval-augmented-personal-assistant-rag/rag.png"&#10; srcset="https://samarthya.me/posts/building-a-practical-retrieval-augmented-personal-assistant-rag/rag.png 800w, https://samarthya.me/posts/building-a-practical-retrieval-augmented-personal-assistant-rag/rag.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/building-a-practical-retrieval-augmented-personal-assistant-rag/rag.png"&gt;&lt;/figure&gt;&#10;&lt;p&gt;The elements of information discussed here are all present in my &lt;a href="https://github.com/samarthya/rag-one.git" target="_blank" rel="noreferrer"&gt;github repository&lt;/a&gt;.&lt;/p&gt;&#10;&lt;div class="lead text-neutral-500 dark:text-neutral-400 !mb-9 text-xl"&gt;&#10; with &lt;code&gt;Ollama&lt;/code&gt;, &lt;code&gt;LangChain&lt;/code&gt;, and &lt;code&gt;Chroma&lt;/code&gt;&#10;&lt;/div&gt;&#10;&#10;&#10;&lt;h2 class="relative group"&gt;1. Why I Built This&#10; &lt;div id="1-why-i-built-this" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#1-why-i-built-this" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;Large Language Models are powerful, but they hallucinate and forget your private knowledge. We set out to build a small, local Retrieval-Augmented Generation (RAG) assistant that:&lt;/p&gt;</description></item><item><title>Building a Minimal LangChain + Ollama Demo</title><link>https://samarthya.me/posts/building-a-minimal-langchain-ollama-demo/</link><pubDate>Tue, 21 Oct 2025 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/building-a-minimal-langchain-ollama-demo/</guid><description>&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt=""&#10; width="600"&#10; height="600"&#10; src="https://samarthya.me/posts/building-a-minimal-langchain-ollama-demo/llm-1.png"&#10; srcset="https://samarthya.me/posts/building-a-minimal-langchain-ollama-demo/llm-1.png 800w, https://samarthya.me/posts/building-a-minimal-langchain-ollama-demo/llm-1.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/building-a-minimal-langchain-ollama-demo/llm-1.png"&gt;&lt;/figure&gt;&#10;&lt;p&gt;This post walks through a tiny, practical example that uses &lt;code&gt;LangChain&lt;/code&gt; primitives and a local &lt;code&gt;Ollama&lt;/code&gt; server to run a prompt-based summarization. The project is intentionally small so you can learn the core ideas quickly: extracting prompts, initializing an LLM client, composing a chain, and running it locally.&lt;/p&gt;</description></item><item><title>OLLAMA: Revolutionizing Language Models</title><link>https://samarthya.me/posts/ollama-revolutionizing-language-models/</link><pubDate>Thu, 20 Jun 2024 12:00:00 +0000</pubDate><guid>https://samarthya.me/posts/ollama-revolutionizing-language-models/</guid><description>&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt=""&#10; width="600"&#10; height="600"&#10; src="https://samarthya.me/posts/ollama-revolutionizing-language-models/ollama-1.jpg"&#10; srcset="https://samarthya.me/posts/ollama-revolutionizing-language-models/ollama-1.jpg 800w, https://samarthya.me/posts/ollama-revolutionizing-language-models/ollama-1.jpg 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://samarthya.me/posts/ollama-revolutionizing-language-models/ollama-1.jpg"&gt;&lt;/figure&gt;&#10;&#10;&lt;h2 class="relative group"&gt;Introduction&#10; &lt;div id="introduction" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#introduction" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;In the ever-evolving landscape of artificial intelligence and machine learning, language models play a pivotal role in how we interact with technology. One of the noteworthy advancements in this field is &lt;code&gt;OLLAMA&lt;/code&gt;, a cutting-edge platform designed to harness the power of large language models (LLMs). This blog delves into the history, purpose, and uses of OLLAMA, shedding light on its significance in the AI ecosystem.&lt;/p&gt;</description></item></channel></rss>