<?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: Kalpana R</title>
    <description>The latest articles on Forem by Kalpana R (@kalpanait161).</description>
    <link>https://forem.com/kalpanait161</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%2F704350%2Ff401ad00-120c-4ac9-906a-e912a59235c5.png</url>
      <title>Forem: Kalpana R</title>
      <link>https://forem.com/kalpanait161</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/kalpanait161"/>
    <language>en</language>
    <item>
      <title>🎓Session 1: Hello World in Go + Introduction &amp; Need of Golang</title>
      <dc:creator>Kalpana R</dc:creator>
      <pubDate>Thu, 30 Apr 2026 13:42:20 +0000</pubDate>
      <link>https://forem.com/kalpanait161/session-1-hello-world-in-go-introduction-need-of-golang-2dn0</link>
      <guid>https://forem.com/kalpanait161/session-1-hello-world-in-go-introduction-need-of-golang-2dn0</guid>
      <description>&lt;p&gt;I’ve just started a 40-day journey to learn Go (Golang).&lt;/p&gt;

&lt;p&gt;This is a record of what I learn in each session—concepts, examples, and even small details.&lt;/p&gt;

&lt;p&gt;My goal is to stay consistent, document my progress, and hopefully make this series helpful for anyone else starting with Go.&lt;/p&gt;

&lt;p&gt;Let’s start with why Go is worth learning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why Go?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Earlier scripting relied on &lt;strong&gt;Bash&lt;/strong&gt; and later &lt;strong&gt;Python&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Python made automation easier but required dependencies and external packages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go solves this by producing &lt;strong&gt;standalone binary files&lt;/strong&gt; that are small, portable, and easy to share.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Example: Tools like &lt;strong&gt;Cobra&lt;/strong&gt; or notification services are distributed as single binaries (~13 MB).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go is widely used today for &lt;strong&gt;microservices&lt;/strong&gt;, &lt;strong&gt;APIs&lt;/strong&gt;, and &lt;strong&gt;CLI tools&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Compiled vs Interpreted Languages&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go is a &lt;strong&gt;compiled language&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Compilation catches errors before runtime.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Interpreted languages (Python, Ruby) execute line by line, so errors appear only when that line runs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;With Go, if there’s a problem, compilation stops immediately.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Writing the First Program&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create a file: &lt;strong&gt;hello.go&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Structure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;package main&lt;/code&gt; → entry point.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;import "fmt"&lt;/code&gt; → for printing.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;func main()&lt;/code&gt; → mandatory starting function.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;fmt.Println("Hello World")&lt;/code&gt; → prints output.&lt;/li&gt;
&lt;li&gt;Notes:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Curly brackets&lt;/strong&gt; must be on the same line as the function declaration. (example please refer below)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Semicolons&lt;/strong&gt; are optional (not required).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quotes in Go&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;In Go, text (like words or sentences) must be inside double quotes " ". If you only want a single character, like A or b, you use single quotes ' '.
Example:
&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;

&lt;/li&gt;

&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="s"&gt;"Rajesh"&lt;/span&gt;   &lt;span class="c"&gt;// string&lt;/span&gt;
&lt;span class="n"&gt;initial&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="sc"&gt;'R'&lt;/span&gt;     &lt;span class="c"&gt;// single character&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;Println&lt;/code&gt; adds a newline; &lt;code&gt;Print&lt;/code&gt; does not.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Running and Building&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;go run hello.go&lt;/code&gt; → runs the file directly.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;go build hello.go&lt;/code&gt; → produces an executable binary.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Initial builds may take longer due to compilation and caching, but subsequent runs are faster.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;These binaries are &lt;strong&gt;easy to share&lt;/strong&gt; because they don’t need external dependencies installed. However, a binary built on one system &lt;strong&gt;won’t automatically run on all others&lt;/strong&gt;. You must compile separately for each &lt;strong&gt;Operating System (OS)&lt;/strong&gt; and &lt;strong&gt;Architecture&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Curly Bracket Placement in Go&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One important detail in Go is how you place curly brackets &lt;code&gt;{ }&lt;/code&gt;. Unlike some other languages (like &lt;code&gt;C&lt;/code&gt; or &lt;code&gt;JavaScript&lt;/code&gt;), Go enforces a strict style:&lt;/p&gt;

&lt;p&gt;The opening bracket must be on the same line as the function declaration or control statement.&lt;/p&gt;

&lt;p&gt;If you try to put the &lt;code&gt;{&lt;/code&gt; on the next line, the compiler will throw an error.&lt;/p&gt;

&lt;p&gt;For example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="c"&gt;// ✅ Correct&lt;/span&gt;
&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello World"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;

&lt;span class="c"&gt;// ❌ Incorrect&lt;/span&gt;
&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Println&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Hello World"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This rule is part of Go’s design philosophy — it keeps code consistent and avoids style debates. The Go compiler itself enforces this formatting, so following it is not optional.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Variables and Printing&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Two ways to declare variables:&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Shorthand: name := "Rajesh" (type inferred).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Explicit: var name string = "Rajesh".&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="s"&gt;"Rajesh"&lt;/span&gt;
&lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="m"&gt;28&lt;/span&gt;
&lt;span class="n"&gt;fmt&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Printf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"%s is %d years old"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;age&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;%s&lt;/code&gt; is a placeholder for strings, &lt;code&gt;%d&lt;/code&gt; for integers.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Redeclaration of the same variable causes an error.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Real-World Use Cases&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Most &lt;strong&gt;CLI tools&lt;/strong&gt; are written in Go.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Many &lt;strong&gt;APIs and backend servers&lt;/strong&gt; use Go for speed and efficiency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go binaries are portable and don’t require installation, making them ideal for deployment.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Self-hosted tools and Dockerized applications often rely on Go.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Today’s Takeaway&lt;/strong&gt;:&lt;br&gt;&lt;br&gt;
I learned why Go is important, how it differs from Python and Bash, and wrote my first “Hello World” program. I also understood Go’s syntax rules (curly brackets, quotes, semicolons) and how to run/build executables.&lt;/p&gt;

&lt;p&gt;Thanks for reading my notes from today’s session. This is part of my ongoing 40‑day &lt;strong&gt;Go learning series&lt;/strong&gt;, where I’ll post after every class. Stay tuned for the next entry as I continue building my understanding step by step.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>learningjourney</category>
      <category>go</category>
      <category>programming</category>
    </item>
    <item>
      <title>🎓 Session 1: Hello World of RAG + Introduction &amp; Need of RAG</title>
      <dc:creator>Kalpana R</dc:creator>
      <pubDate>Wed, 29 Apr 2026 07:24:00 +0000</pubDate>
      <link>https://forem.com/kalpanait161/session-1-hello-world-of-rag-introduction-need-of-rag-54al</link>
      <guid>https://forem.com/kalpanait161/session-1-hello-world-of-rag-introduction-need-of-rag-54al</guid>
      <description>&lt;p&gt;📚 This post is part of my &lt;em&gt;Learning Notes – RAG Series&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Today’s session introduced me to &lt;strong&gt;Retrieval-Augmented Generation (RAG)&lt;/strong&gt; and why it’s becoming essential in AI. The focus was on understanding the &lt;strong&gt;limitations of plain language models (LLMs)&lt;/strong&gt; and how RAG helps overcome them.&lt;br&gt;
..&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is RAG?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;When I first heard about RAG, I thought it was just another complicated AI term. But the idea is actually pretty simple once I broke it down.&lt;/p&gt;

&lt;p&gt;RAG is basically a combination of two steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Retrieval&lt;/strong&gt; → first, the system looks up relevant information from external sources (like documents or databases)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generation&lt;/strong&gt; → then, a language model uses that information to generate an answer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What made it click for me is this:&lt;br&gt;
 &lt;code&gt;Instead of answering from memory, the model looks things up first, then answers.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;That “&lt;strong&gt;augmented&lt;/strong&gt;” part just means the model is no longer relying only on what it learned during training—it’s being supported with fresh, relevant context.&lt;/p&gt;

&lt;p&gt;Because of this, the answers become:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;more factual&lt;/li&gt;
&lt;li&gt;more relevant&lt;/li&gt;
&lt;li&gt;and sometimes more up-to-date&lt;/li&gt;
&lt;/ul&gt;

&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%2Fl72d8nsbzgx0368rq2df.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%2Fl72d8nsbzgx0368rq2df.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Basic RAG workflow: retrieval + generation working together to produce grounded answers.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Key Concepts:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Language Models (LLMs)&lt;/strong&gt; generate text by predicting the next word based on learned patterns and context.&lt;br&gt;
They use probabilities and context to produce coherent and meaningful responses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Limitations of LLMs:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Hallucinations (making up answers when unsure).&lt;/li&gt;
&lt;li&gt;Outdated knowledge (training data has a cutoff).&lt;/li&gt;
&lt;li&gt;No access to private or domain-specific documents.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;RAG:&lt;/strong&gt; Combines retrieval (fetching relevant info) with generation (LLM output).&lt;br&gt;
     - RAG helps improve factuality, relevance, and freshness by grounding responses in retrieved information&lt;/p&gt;




&lt;p&gt;To understand why RAG is needed, it helps to first understand how LLMs actually work internally.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How Do LLMs Learn? (Weights &amp;amp; Parameters)&lt;/strong&gt;&lt;br&gt;
   I realized language models are like giant equations with many adjustable values called weights. During training, the model tweaks these weights to decide how strongly one word or feature should influence the next.&lt;/p&gt;

&lt;p&gt;Think of it like the formula &lt;strong&gt;y = mx + c&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Changing m or c changes the line.&lt;/p&gt;

&lt;p&gt;Similarly, changing weights changes the model’s predictions.&lt;/p&gt;

&lt;p&gt;By adjusting millions (or even billions) of these weights, the model learns patterns from huge datasets — grammar, facts, and relationships between words.&lt;/p&gt;

&lt;p&gt;👉 In simple terms: weights are the “knobs” the model turns during training to get better at predicting the next word.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;SLM vs. LLM (General Note)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;While this session focused mainly on Large Language Models (LLMs) and RAG, it’s useful to know the distinction:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;LLMs (Large Language Models)&lt;/strong&gt; → Very big models trained on massive datasets. They’re powerful, but resource-heavy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;SLMs (Small Language Models)&lt;/strong&gt; → More compact models designed for efficiency. They can run faster, use less memory, and are easier to deploy on devices with limited resources.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;In practice:&lt;/strong&gt;&lt;br&gt;
     - LLMs are great for complex reasoning and broad knowledge.&lt;br&gt;
     - SLMs are often used for lightweight tasks, edge devices, or situations where speed and efficiency matter.&lt;/p&gt;

&lt;p&gt;This is useful context to keep in mind as I continue learning about RAG and AI systems.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Why Do We Need RAG?&lt;/strong&gt;&lt;br&gt;
Plain language models are powerful, but they have some important limitations.&lt;/p&gt;

&lt;p&gt;Since they are trained on fixed data, they don’t truly “know” current or external information at the time of answering. This leads to a few common issues:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hallucinations&lt;/strong&gt; → Sometimes the model confidently generates answers that are not correct, especially when it is unsure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Static knowledge&lt;/strong&gt; → The model cannot update itself after training, so its knowledge may become outdated over time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No access to private data&lt;/strong&gt; → It cannot read company documents, personal files, or domain-specific databases unless they are provided during runtime.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Because of these limitations, answers can sometimes be incomplete, outdated, or inaccurate.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;How RAG helps&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RAG&lt;/strong&gt; addresses this by changing &lt;em&gt;how the model answers questions&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Instead of relying only on what it learned during training, it first retrieves relevant information from external sources and then uses that context to generate a response.&lt;/p&gt;

&lt;p&gt;This helps ground the output in real, up-to-date information and makes the answers more reliable and context-aware.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key idea&lt;/strong&gt;&lt;br&gt;
RAG doesn’t replace the language model—&lt;em&gt;it supports it with relevant information at the right time.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Key Examples from the Session&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Dogs, Cats, and Lion&lt;/strong&gt; →&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Without RAG:&lt;/strong&gt; If a model has not seen enough relevant information about lions in its training data, it may generate incorrect or fabricated answers (hallucinations).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;With RAG:&lt;/strong&gt; Retrieval brings in factual information about lions from external sources, helping the model generate a more accurate and grounded response.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;COVID vs. Current Events&lt;/strong&gt; →&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Without RAG:&lt;/strong&gt; The model may know about COVID (from training data) but struggle with recent events due to outdated knowledge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;With RAG:&lt;/strong&gt; Retrieval pulls in recent articles or documents, allowing the model to respond with up-to-date context.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;River Bank&lt;/strong&gt; → Context confusion: “river bank” vs. “financial bank.”&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Without RAG:&lt;/strong&gt; The model may confuse “river bank” (geography) with “bank” (finance) depending on context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;With RAG:&lt;/strong&gt; Retrieval provides relevant domain context, helping the model choose the correct meaning.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Company Docs&lt;/strong&gt; → LLM alone can’t answer from private files, but RAG can.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Without RAG:&lt;/strong&gt; The model cannot access private or internal company documents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;With RAG:&lt;/strong&gt; Retrieval fetches relevant internal documents, enabling accurate answers based on company data.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Hello Predictions&lt;/strong&gt;→ &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Without RAG&lt;/strong&gt;: With “Hello,” low temperature may produce “World,” while high temperature may produce “How are you?” or other creative outputs — but answers may drift.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;With RAG&lt;/strong&gt;: Even at high temperature, retrieval keeps outputs grounded in factual context.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Temperature Settings&lt;/strong&gt; &lt;strong&gt;[Temperature in LLMs]&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Low Temperature (~0)&lt;/strong&gt; → More deterministic and consistent responses.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;High Temperature (~1 or above)&lt;/strong&gt; → More creative and varied responses.&lt;br&gt;
-&lt;strong&gt;Takeaway:&lt;/strong&gt; Use low temperature for consistency and high temperature for creativity. Note that temperature controls randomness, not correctness.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;My Note: Retrieval can help guide responses with relevant context, even when temperature increases variability.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Real-World Applications of RAG&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Customer Support&lt;/strong&gt; → Answers from FAQs and manuals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Healthcare&lt;/strong&gt; → Grounded responses from medical databases.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Education&lt;/strong&gt; → Fact-checked explanations for learners.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enterprise Search&lt;/strong&gt;→ Unlocking insights from private organizational data.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Key Takeaways (Quick Reference)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;RAG = Retrieval + Generation.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt; Helps reduce hallucinations, outdated knowledge issues, and lack of private context.&lt;/li&gt;
&lt;li&gt;Temperature controls creativity vs. accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-world uses:&lt;/strong&gt; support, healthcare, education, enterprise search.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Core idea:&lt;/strong&gt; ground AI in facts before generating answers.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;My Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Today’s session gave me a strong foundation in understanding the &lt;strong&gt;limitations of AI&lt;/strong&gt; and how &lt;strong&gt;RAG helps overcome them.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of relying only on memory, RAG allows AI to &lt;strong&gt;look up relevant information before answering&lt;/strong&gt;—just like how we perform better when we can refer to notes.&lt;/p&gt;

&lt;p&gt;This is just the beginning of my learning journey with RAG — I’ll continue documenting as I go.&lt;/p&gt;




&lt;p&gt;Next up: Session 2, where I’ll continue exploring and documenting my journey.&lt;/p&gt;

</description>
      <category>rag</category>
      <category>beginners</category>
      <category>llm</category>
      <category>learningjourney</category>
    </item>
  </channel>
</rss>
