<?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>DEV Community: &lt;dotman/&gt;</title>
    <description>The latest articles on DEV Community by &lt;dotman/&gt; (@dotun2203).</description>
    <link>https://dev.to/dotun2203</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F698246%2F88e99155-5ad3-4bf8-95e7-d64eb0f2f5d3.png</url>
      <title>DEV Community: &lt;dotman/&gt;</title>
      <link>https://dev.to/dotun2203</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dotun2203"/>
    <language>en</language>
    <item>
      <title>From documents to vectors:How chunking and embedding work in a RAG application</title>
      <dc:creator>&lt;dotman/&gt;</dc:creator>
      <pubDate>Wed, 18 Nov 2026 17:46:55 +0000</pubDate>
      <link>https://dev.to/dotun2203/from-documents-to-vectorshow-chunking-and-embedding-work-in-a-rag-application-432h</link>
      <guid>https://dev.to/dotun2203/from-documents-to-vectorshow-chunking-and-embedding-work-in-a-rag-application-432h</guid>
      <description>&lt;p&gt;Imagine you want to build a system where users can ask your AI system anything about the company. A user asks "When will my money arrive?" This exact answer sits inside your company's payout policy page. However your AI cannot read every document in your database each time a user asks a question. Scanning thousands of pages for a single query will be too slow and expensive,and it can also exceed the model's processing limits. &lt;/p&gt;

&lt;p&gt;The system must quickly locate the exact paragraph that covers transfer timelines and pass only the relevant parts to the model so it can write the answer. This approach is commonly known as Retrieval-Augmented Generation (RAG).&lt;/p&gt;

&lt;h2&gt;
  
  
  What is RAG?
&lt;/h2&gt;

&lt;p&gt;RAG is a hybrid AI framework that connects a large language model (LLM) to your own external knowledge source, like policy documents or internal wikis, to improve the quality and scope of the response.&lt;br&gt;
Building a complete RAG pipeline involves different stages, from ingesting raw files to generating the final user response. This guide focuses on the first 2 steps after you’ve collected your documents: &lt;strong&gt;chunking and embedding.&lt;/strong&gt;&lt;br&gt;
By the end of this guide, you will understand the exact role each step plays in making your documents searchable.&lt;/p&gt;
&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Python 3.10 or newer. Check with python3 --version.&lt;/li&gt;
&lt;li&gt;Basic Python knowledge, such as running a script and installing packages with pip.&lt;/li&gt;
&lt;li&gt;A few GB of free disk space and an internet connection for the first run. The libraries are large (sentence-transformers installs PyTorch), and the embedding model downloads once, at around 130 MB.&lt;/li&gt;
&lt;li&gt;Some text to practise on. I’m using sample documents for a fictional company. Any folder of .txt files works.&lt;/li&gt;
&lt;li&gt;No GPU is needed. Everything here runs on a normal laptop CPU.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Set up a virtual environment and install the libraries:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 -m venv venv
&lt;span class="nb"&gt;source&lt;/span&gt; venv/bin/activate        &lt;span class="c"&gt;# on Windows: venv\Scripts\activate&lt;/span&gt;
pip install langchain-text-splitters sentence-transformers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Chunking
&lt;/h2&gt;

&lt;p&gt;You already have your company's public page contents saved as plain text files and you want to begin by chunking these documents. &lt;br&gt;
Before we write any demo/code, let's be clear about what chunking actually is. &lt;br&gt;
Chunking is the process of breaking large documents down into smaller, manageable pieces of text before storing them in a searchable database. &lt;/p&gt;

&lt;p&gt;AI models have strict limits on how much text they can process accurately at one time, and search engines work best when matching a specific question against a focused piece of text. If you put your entire knowledge base into your database as a single block, the search system cannot accurately give out the exact paragraph the user needs when queried. &lt;/p&gt;
&lt;h3&gt;
  
  
  Why split documents carefully?
&lt;/h3&gt;

&lt;p&gt;Getting the chunk size right is a very important factor in search and context.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Too big gives blurry matches.&lt;/strong&gt; If a single chunk covers transfer limits, card fees, and account verification all at once, it loses meaning overall. When a user asks a specific question about payout times, the search match becomes blurry because that single answer is inside unrelated texts.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Too small loses context.&lt;/strong&gt; Imagine a chunk that simply reads: "fees are capped at ₦2000." on it own, that sentence is incomplete and quite useless. It loses context and the AI might be forced to guess.&lt;/p&gt;
&lt;h3&gt;
  
  
  Choosing the right LangChain splitter
&lt;/h3&gt;

&lt;p&gt;When people first build a RAG application, they often grab a splitter from a framework like LangChain without checking whether it fits their data. LangChain offers several built-in options, each built for a different kind of document:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;CharacterTextSplitter: This is the simplest option. It splits the text on a single separator, such as a line break, then merges the pieces back together up to your size limit. The catch is that it only knows one separator. If a block doesn't contain it, that block stays in one piece even when it's longer than your limit (LangChain logs a warning when this happens).
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_text_splitters&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;CharacterTextSplitter&lt;/span&gt;
&lt;span class="n"&gt;splitter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;CharacterTextSplitter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;separator&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"\n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;chunk_size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;600&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;chunk_overlap&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;0&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;MarkdownHeaderTextSplitter: This splitter is fantastic if your files are saved in markdown format. That is, documents with # and ## headings, because it groups text under its matching section title. Two things to know. First, it doesn't enforce a chunk size, so a long section stays one big chunk, and people usually pass its output to a recursive splitter afterwards. Second, by default it removes the headings from the text and stores them as metadata, so you'd have to put them back into each chunk yourself. Text extracted from PDFs rarely keeps clean markdown headings, so this splitter works best on files that we markdown to begin with.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_text_splitters&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;MarkdownHeaderTextSplitter&lt;/span&gt;
&lt;span class="n"&gt;splitter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;MarkdownHeaderTextSplitter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;headers_to_split_on&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"#"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Title"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"##"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"Section"&lt;/span&gt;&lt;span class="p"&gt;)&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;ul&gt;
&lt;li&gt;SemanticChunker: Instead of counting characters, this tool uses an embedding model to detect when the topic shifts between sentences. It works quite well, but the downside here is that every sentence has to be embedded just to decide where to cut, which is more work than well-formatted pages need. You might want to consider this for documents that are not well formatted.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_experimental&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;text_splitter&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;SemanticChunker&lt;/span&gt;

&lt;span class="n"&gt;splitter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SemanticChunker&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;embeddings_model&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;&lt;br&gt;
python&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;RecursiveCharacterTextSplitter: This works best for general text. Instead of blindly chunking at a fixed character count, it works through a hierarchy of natural separators.
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_text_splitters&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;RecursiveCharacterTextSplitter&lt;/span&gt;

&lt;span class="no"&gt;MAX_CHARS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;600&lt;/span&gt;

&lt;span class="n"&gt;splitter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;RecursiveCharacterTextSplitter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;chunk_size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;MAX_CHARS&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;chunk_overlap&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;separators&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"\n\n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"\n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;split_page&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;splitter&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;text&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;h3&gt;
  
  
  Which one to use?
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Splitter&lt;/th&gt;
&lt;th&gt;Use it when&lt;/th&gt;
&lt;th&gt;Watch out for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;CharacterTextSplitter&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Text is uniform and has one clear separator&lt;/td&gt;
&lt;td&gt;Oversized chunks when the separator is missing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;MarkdownHeaderTextSplitter&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Your files are real Markdown&lt;/td&gt;
&lt;td&gt;No size limit; headings go into metadata&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;SemanticChunker&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Text is badly formatted, with no useful structure&lt;/td&gt;
&lt;td&gt;Slower and costlier; experimental&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;RecursiveCharacterTextSplitter&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;General text, and the safe default&lt;/td&gt;
&lt;td&gt;Doesn’t add headings or metadata for you&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The examples in this guide use sample documents I generated for a fictional company called Brightlane Pay, so the fees and policies you’ll see are made up.&lt;br&gt;
Here is &lt;code&gt;RecursiveCharacterTextSplitter&lt;/code&gt; running on the refunds page from those sample documents:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;langchain_text_splitters&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;RecursiveCharacterTextSplitter&lt;/span&gt;

&lt;span class="n"&gt;splitter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;RecursiveCharacterTextSplitter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;chunk_size&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;600&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;chunk_overlap&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;50&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;separators&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"\n\n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"\n"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;pieces&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;splitter&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;split_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;body&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# body = the text of the refunds page&lt;/span&gt;

&lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{len(pieces)} chunks\n"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;pieces&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"--- chunk {i} ({len(p)} chars)"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"\n"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;2 chunks

--- chunk 0 (567 chars)
Refunds are started by the merchant, either from the dashboard (Transactions, then Refund) or through the API. You can refund the full amount or part of it.

Money returns to the customer's original payment method within 5 to 10 business days, depending on the customer's bank.

Merchants can refund a transaction up to 90 days after it was made.

The fees Brightlane charged on the original transaction are not returned when you refund.

Refunds are taken from your Brightlane balance. If your balance is not enough, the refund is deducted from your next settlement.

--- chunk 1 (297 chars)
Customers who want a refund should contact the merchant they paid. Brightlane cannot issue a refund on behalf of a merchant.

Failed transactions: if a customer was debited but the payment failed, the money is automatically reversed to the customer within 24 hours. Some banks take up to 72 hours.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two things are worth noticing. First, the splitter cuts &lt;strong&gt;between paragraphs&lt;/strong&gt;, not in the middle of one. It tried blank lines first, and since the first five paragraphs fit within 600 characters, they stayed together. Second, the two chunks have a clear topic each: how a merchant refunds, and what a customer or a failed payment should do. I set &lt;code&gt;chunk_overlap=50&lt;/code&gt;, but you can see there is no repeated text between the chunks. Overlap can only repeat whole paragraphs that are shorter than the overlap size, and every paragraph here is longer than 50 characters. &lt;/p&gt;

&lt;p&gt;A splitter only cuts text, so it doesn’t know this came from the refunds page. Chunk 1 starts with “Customers who want a refund...”, which makes sense here, but a chunk such as “Fees are capped at ₦2,000” would leave a reader guessing whose fees. The fix is to attach the page heading to every chunk before moving on:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;chunks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Refunds\n\n{p}"&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;pieces&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now every chunk starts with &lt;strong&gt;Refunds&lt;/strong&gt;, so it carries its topic wherever it ends up. On pages with similar content, like the Nigeria and Ghana pricing pages, that heading is what keeps their chunks apart.&lt;/p&gt;

&lt;p&gt;Once you have decided your chunk strategy we can move to the next step which is embedding. &lt;/p&gt;

&lt;h2&gt;
  
  
  Embedding
&lt;/h2&gt;

&lt;p&gt;Now that we have split our documents using &lt;code&gt;RecursiveCharacterTextSplitter&lt;/code&gt;, we have a clean list of text chunks. However, a plain text search matches words, not meaning. If a customer asks "&lt;em&gt;How long do payouts take?&lt;/em&gt;" and your chunk says, "&lt;em&gt;Transfers settle within two business days&lt;/em&gt;", a traditional keyword search, might miss it because the exact words don't match. &lt;/p&gt;

&lt;p&gt;Embeddings solve this. An embedding model reads a piece of text and turns it into a list of numbers that represents its meaning. Texts that mean similar things get similar numbers, whatever words they use. Searching by meaning then becomes a simple question: which stored chunks have numbers closest to the question's numbers?&lt;/p&gt;

&lt;h3&gt;
  
  
  What an embedding looks like
&lt;/h3&gt;

&lt;p&gt;Think of every chunk getting an address on a map. Chunks about similar things live close together, and chunks about different things live far apart. When a customer asks a question, the question gets an address too, and we look at which chunks are nearest. &lt;br&gt;
The model I used, &lt;code&gt;bge-small-en-v1.5&lt;/code&gt;, gives every text 384 numbers. You never need to read them. What matters is the distance between them. "How long do payouts take?" and "Transfers settle within two business days" share almost no words, but the model has learned they are about the same thing, so their addresses are close. &lt;/p&gt;

&lt;p&gt;Let’s embed three short chunks and one question, then see which chunk is closest in meaning to the question.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the library, you can skip this step if you have already done it in the prerequisite
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip install sentence-transformers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Create a file called &lt;code&gt;embed_demo.py&lt;/code&gt; and paste in this code:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;sentence_transformers&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;SentenceTransformer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;util&lt;/span&gt;

&lt;span class="n"&gt;model&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SentenceTransformer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"BAAI/bge-small-en-v1.5"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;device&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"cpu"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;chunks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;
    &lt;span class="s2"&gt;"Transfers settle within two business days."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"Fees are capped at ₦2,000 per transaction."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="s2"&gt;"Customers can raise a dispute up to 120 days after the transaction."&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;question&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"How long do payouts take?"&lt;/span&gt;

&lt;span class="n"&gt;chunk_vectors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;chunks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;normalize_embeddings&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;question_vector&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;model&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s2"&gt;"Represent this sentence for searching relevant passages: "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;question&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;normalize_embeddings&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;scores&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;util&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;cos_sim&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;question_vector&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;chunk_vectors&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;chunk&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;zip&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;chunks&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;scores&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="k"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{score:.3f}  {chunk}"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here is what the code does:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It loads the embedding model. The first run downloads it, so it takes a little longer. device="cpu" makes it run on your processor, which avoids errors on laptops with an unsupported GPU.&lt;/li&gt;
&lt;li&gt;It turns each chunk into a vector of 384 numbers.&lt;/li&gt;
&lt;li&gt;It turns the question into a vector the same way, with the prefix that BGE models expect on questions.&lt;/li&gt;
&lt;li&gt;It scores how close the question is to each chunk, using cosine similarity, and prints the scores.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Run it and read the output:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python3 embed_demo.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;0.643  Transfers settle within two business days.
0.533  Fees are capped at ₦2,000 per transaction.
0.586  Customers can raise a dispute up to 120 days after the transaction.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The "transfers" line ranks first, but the scores are close, which is normal for a small model. What matters is the ranking, not the absolute numbers. &lt;br&gt;
Higher score means closer in meaning. Notice the best match shares no keyword with the question, which is exactly what a keyword search can't do. &lt;/p&gt;

&lt;h3&gt;
  
  
  Three things to remember
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Use the same model for chunks and questions. Vectors from different models live on different maps, so comparing them is meaningless.&lt;/li&gt;
&lt;li&gt;Some models want a prefix on questions. The &lt;code&gt;bge&lt;/code&gt; models expect the line "Represent this sentence for searching relevant passages:" in front of the question, and nothing in front of the chunks. It's easy to miss, and results quietly get worse without it. &lt;/li&gt;
&lt;li&gt;Changing the model means starting again. If you switch models later, every chunk has to be embedded again. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I used the &lt;code&gt;bge-small&lt;/code&gt; local model becuase it is free and runs on a normal laptop CPU, and keeps your document on your own machine. For production, you may want a hosted embedding API such as OpenAI or Voyage AI. They need no servers of your own, but they cost money per call, and your text is sent to the provider. &lt;/p&gt;

&lt;h3&gt;
  
  
  Beyond embeddings
&lt;/h3&gt;

&lt;p&gt;Embeddings alone are not enough. These additions matter just as much:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Keep metadata with every chunk, such as the source URL, country and last-updated date. It lets you hide outdated pages and shows users only what applies to them, becuase embeddings measure similarity, not correctness.&lt;/li&gt;
&lt;li&gt;Combine keyword and vector search (hybrid search). Vector search captures overall meaning, while keyword search catches exact terms and specific details.&lt;/li&gt;
&lt;li&gt;Test continuously. Keep a set of questions with known answers, rerun it after every change, and log real customer questions so you can see what your documents are missing.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Chunking and embedding are the foundation of every RAG system. Chunking decides what each searchable piece contains, and embedding turns those pieces, and the customer’s question, into numbers that capture meaning.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Start with the simplest setup that works. The next step is to store the chunks and vectors in a vector database and attach metadata like country, so you can filter and retrieve only what applies to each user.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>vectordatabase</category>
      <category>rag</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Kubernetes Architecture Explained: The core components that run your cluster</title>
      <dc:creator>&lt;dotman/&gt;</dc:creator>
      <pubDate>Wed, 23 Sep 2026 22:15:41 +0000</pubDate>
      <link>https://dev.to/dotun2203/kubernetes-architecture-explained-the-core-components-that-run-your-cluster-3nap</link>
      <guid>https://dev.to/dotun2203/kubernetes-architecture-explained-the-core-components-that-run-your-cluster-3nap</guid>
      <description>&lt;p&gt;You have containerized your application with Docker and you need to run 100 copies across 20 servers, restart the containers when they crash, scale up or increase resources at users spike, plan updates without downtimes, doing that by hand(manually) is chaotic, that’s where kubernetes comes in.&lt;/p&gt;

&lt;h2&gt;
  
  
  Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Docker — Minikube uses it to run your cluster. Install from the official docs: &lt;a href="https://docs.docker.com/get-started/get-docker/" rel="noopener noreferrer"&gt;https://docs.docker.com/get-started/get-docker/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Minikube — runs a single-node Kubernetes cluster on your machine. Pick your operating system here: &lt;a href="https://minikube.sigs.k8s.io/docs/start/" rel="noopener noreferrer"&gt;https://minikube.sigs.k8s.io/docs/start/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;kubectl — the command-line tool you use to talk to the cluster: &lt;a href="https://kubernetes.io/docs/tasks/tools/" rel="noopener noreferrer"&gt;https://kubernetes.io/docs/tasks/tools/&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You’ll also want at least 2 CPUs, 2 GB of free RAM and 20 GB of free disk space, plus a decent internet connection for the first start, since Minikube downloads its images then.&lt;/p&gt;

&lt;p&gt;Once installed, confirm everything is ready:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;
docker - version
minikube version
kubectl version - client
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What is Kubernetes
&lt;/h2&gt;

&lt;p&gt;Kubernetes also known as k8s is an open-source software used in managing software application containers anywhere automatically. The management includes service discovery, load balancing, safe updates(rollouts and rollbacks), self healing, secret management. K8s takes care of these tasks automatically so your application stays online, secure and up to date with minimal manual intervention.&lt;/p&gt;

&lt;h2&gt;
  
  
  Core components of Kubernetes architecture
&lt;/h2&gt;

&lt;p&gt;For kubernetes to perform the way it does, a cluster is split into two major parts: the control place and the worker nodes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The control plane: The control plane manages the overall state of the cluster. They make global decisions about the cluster, detecting and responding to cluster events.&lt;/li&gt;
&lt;li&gt;Worker node: Node components run on every node, maintain every pod, and provide the Kubernetes runtime environment. This is where your underlying applications actually run, processing workloads and handling the data traffic directed to your containers.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How they work together
&lt;/h2&gt;

&lt;p&gt;Here is a simple diagram that provides a high-level overview of the essential components that make up a Kubernetes cluster&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foonzkq2ib4yl0bpvjee9.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foonzkq2ib4yl0bpvjee9.webp" alt=" " width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Control plane components
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;kube-apiserver: this is the core component server and called the API server. It exposes the kubernetes HTTP API. It is the frontend for the kubernetes control plane.&lt;/li&gt;
&lt;li&gt;etcd: this is a highly available and consistent key-value store for all cluster data.&lt;/li&gt;
&lt;li&gt;kube-scheduler: this looks for pods that are not yet bound to a node and assigns the pod to a suitable node.&lt;/li&gt;
&lt;li&gt;kube-controller-manager:runs the controller to implement k8s API behaviour&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Worker node components
&lt;/h2&gt;

&lt;p&gt;This includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;kubelet: They ensure the pods are running, also their containers&lt;/li&gt;
&lt;li&gt;kube-proxy: maintains network rules on nodes to implement services&lt;/li&gt;
&lt;li&gt;container runtime: they run the containers, manage the execution and lifecycle of containers within the Kubernetes environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  See the components in action
&lt;/h2&gt;

&lt;p&gt;You don’t need a cloud account to explore these components. Tools like minikube or kind let you run a kubernetes cluster on your own laptop. For this walkthrough, we would use minikube.&lt;/p&gt;

&lt;p&gt;After installing the necessary requirements&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start a cluster
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;minikube start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This command creates a single-node cluster where one machine plays the role of both the controller plane and the worker node.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Check your nodes
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;kubectl get nodes -o wide
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is what your result would look like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;NAME       STATUS   ROLES           AGE   VERSION   ...   CONTAINER-RUNTIME
minikube   Ready    control-plane   2m    v1.31.0   ...   docker://27.2.0
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You would notice the &lt;code&gt;ROLES&lt;/code&gt; column shows the node is running in the control plane. The &lt;code&gt;STATUS&lt;/code&gt; as &lt;code&gt;Ready&lt;/code&gt; means the kubelet on this node is healthy and reporting back to the API server. The &lt;code&gt;CONTAINER-RUNTIME&lt;/code&gt; column shows which runtime is actually running your containers.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Look inside the kube-system namespace
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;kubectl get pods &lt;span class="nt"&gt;-n&lt;/span&gt; kube-system
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;NAME                               READY   STATUS    RESTARTS   AGE
coredns-6f6b679f8f-x7k2p           1/1     Running   0          3m
etcd-minikube                      1/1     Running   0          3m
kube-apiserver-minikube            1/1     Running   0          3m
kube-controller-manager-minikube   1/1     Running   0          3m
kube-proxy-9zq4m                   1/1     Running   0          3m
kube-scheduler-minikube            1/1     Running   0          3m
storage-provisioner                1/1     Running   0          3m
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The components we discussed earlier are running as pods inside the cluster itself: &lt;code&gt;kube-apiserver-minikube, etcd-minikube, kube-scheduler-minikube and kube-controller-manager-minikube&lt;/code&gt; are the control plane components. &lt;code&gt;kube-proxy-9zq4m&lt;/code&gt; is the worker node networking component. It runs on every node in the cluster.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;coredns&lt;/code&gt; is an add-on that provides DNS so services can find eachother by name. It is not a core component, but you will see it in almost every cluster.&lt;/p&gt;

&lt;p&gt;Also note you won’t find the container runtime and the kubelet in that list, it is intentional. The kubelet is the component that starts the pods, so it won’t run as a pod itself. It runs directly on the node as a system service. You can confirm this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;minikube ssh
&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl status kubectl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You would see the kubelet as &lt;code&gt;active(running)&lt;/code&gt;. You can type &lt;code&gt;exit&lt;/code&gt; to leave the node.&lt;/p&gt;

&lt;h2&gt;
  
  
  Common misconceptions about Kubernetes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;“Kubernetes runs my containers” — Kubernetes ochestrates containers, it decides where they should run, how many should exist, and what to do when a container fails. The actual running of the container is done by the container runtime in each worker node. Kubernetes gives the instructions; the runtime does the work.&lt;/li&gt;
&lt;li&gt;“The components talk to each other directly” — They don’t. The API server is the central hub for everything. Everything goes through the server first: individual components communicate exclusively with it, while other services constantly watch the API server for changes, pulling down the specific updates they care about.&lt;/li&gt;
&lt;li&gt;“etcd is where I store my application’s data” — etcd stores the cluster’s data: what pods exist, what deployment look like, configguration and state. It is not a general purpopse database for your application. You application’s data belongs in a proper database like PostgresSQL or MongoDB, running inside or outside the cluster.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Recap
&lt;/h2&gt;

&lt;p&gt;Kubernetes can feel overwhelming at first, but its architecture comes down to a simple division of labour:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The control plane decides&lt;/strong&gt;. The API server is the front door for every request, etcd stores the cluster’s state, the scheduler assigns pods to nodes, and the controller manager keeps checking that what’s running matches what you asked for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The worker nodes execute&lt;/strong&gt;. The kubelet makes sure pods and their containers are running, kube-proxy handles networking so traffic reaches the right pods, and the container runtime actually runs the containers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Everything flows through the API server&lt;/strong&gt;. No component works in isolation; they all coordinate through this single hub.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now that you understand the core components of the kubernetes cluster, the next step is learning what the cluster manages.&lt;/p&gt;

&lt;p&gt;You should look into the three objects you’ll use most as a Kubernetes user:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pods&lt;/li&gt;
&lt;li&gt;Deployment&lt;/li&gt;
&lt;li&gt;Services&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cloud</category>
      <category>devops</category>
      <category>kubernetes</category>
    </item>
    <item>
      <title>Hey Guys, GRWM...</title>
      <dc:creator>&lt;dotman/&gt;</dc:creator>
      <pubDate>Sun, 26 Jul 2026 23:06:34 +0000</pubDate>
      <link>https://dev.to/dotun2203/hey-guys-grwm-9a0</link>
      <guid>https://dev.to/dotun2203/hey-guys-grwm-9a0</guid>
      <description>&lt;p&gt;I get it. Content creation is the order of the day. Heck, we are in the era known as the creator economy.&lt;/p&gt;

&lt;p&gt;You can hardly scroll through any social media platform without stumbling on dozens, if not hundreds, off GRWMs, OOTDs, ASMRs (I still don't know what this means, honestly 😂), "day in my life" vlogs, and everything in between. People now turn fragments of their everyday lives into what we simply call “content”&lt;/p&gt;

&lt;p&gt;I've been thinking about whether the “contentification of our lives” as an X user termed it,  is actually a good thing or a bad thing. Whenever I weigh questions like this, I try to judge them by their net effect. If the positives outweigh the negatives, then I can comfortably say it's worth it. And here's why I think the ‘contentification’ of our lives might just be one of the best things to happen to us in this era.&lt;/p&gt;

&lt;p&gt;First, I think there's something deeply human about people choosing to share little fragments of their lives with the rest of us. More than ever, I'm grateful to content creators. And I mean that sincerely.&lt;/p&gt;

&lt;p&gt;We all use the internet today. But the internet is only as valuable as what people choose to put into it. Every laugh, every lesson, every recipe you saved, every travel vlog that made you want to pack a bag, every burst of motivation after watching someone else's journey—they all exist because someone, somewhere, decided their experience was worth sharing.&lt;/p&gt;

&lt;p&gt;Picture this: You're facing a challenging situation. You head to Google, type a few keywords, and boom. There are ordinary people from all over the world sharing how they've been there and done that.&lt;/p&gt;

&lt;p&gt;They leave a trail for you to follow. They say, "I walked this path. Here's what I learned." Sometimes I imagine how less valuable the internet would be if nobody shared anything worth learning from. Just empty servers humming in the void.&lt;/p&gt;

&lt;p&gt;Now, does this mean every creator adds value? Of course not.&lt;/p&gt;

&lt;p&gt;There will always be extremes. There are creators whose content adds little or nothing to the lives of the people watching. There are creators who overshare. But that's the price of abundance. You have the freedom to decide what deserves your attention. For those of us who hardly travel, the internet has become a passport.&lt;/p&gt;

&lt;p&gt;And I'm not even talking about overseas travel. If you've spent your whole life in one village, one town, or even the same city, the internet lets you experience places you may never have the chance to visit through the eyes of someone who has.&lt;/p&gt;

&lt;p&gt;We've always ‘contentified’ our lives. We just called it different things. &lt;/p&gt;

&lt;p&gt;Early humans left cave paintings behind. We learned about distant places through books, documentaries, and movies—someone else's polished, carefully edited version of reality. Today, someone just like you can take you along as they explore a city, try a new restaurant, or visit a hidden beach.&lt;/p&gt;

&lt;p&gt;It feels less like watching a story and more like living it with them.&lt;/p&gt;

&lt;p&gt;That GRWM to a restaurant? It's an unfiltered glimpse into an experience you might have one day yourself. And when you eventually visit that place, it already feels strangely familiar because someone decided to contentify a tiny piece of their life.&lt;/p&gt;

&lt;p&gt;There's no real difference between an author writing about their travel experience in a book or on a blog and a creator documenting theirs on social media. The medium has only changed. But the instinct hasn't. They are both forms of documenting our lives. The only difference is that today, you don't just imagine it. You see it. You can almost taste it. The experience is all in your face. &lt;/p&gt;

&lt;p&gt;Content creation is hard work, and I think we should respect it a lot more. Two days ago, I saw a guy filming himself during his early morning run. How inconvenient, I thought. I recently started running myself, and I couldn't imagine how stressful that must have been. Why put yourself through all that? Why not just enjoy your run quietly without telling the internet about it?&lt;/p&gt;

&lt;p&gt;But then, another thought crossed my mind. What if someone watching that video has spent months telling themselves they'll start running "next Monday"? What if watching him struggle through those kilometres is exactly the push they need? I started my running journey because I have friends who run. Watching them made me think, Maybe I could do this too.&lt;/p&gt;

&lt;p&gt;Some people don't have friends like that. Sometimes the closest thing they have to a role model is someone they've never met; someone who simply decided to share a piece of their life online. That is the quiet power of content.&lt;br&gt;
It makes possibilities feel possible.&lt;/p&gt;

&lt;p&gt;And in a country like Nigeria, this is also how many young people make a living. Our creator economy is still growing, but it has already opened doors that didn't exist a decade ago. Creating content asks you to do something many people struggle with. It asks you to be seen. It takes consistency and it takes a lot of courage.&lt;/p&gt;

&lt;p&gt;So the next time you see someone sharing a piece of content online, pause for a second. Think about the joy it brings you. Think about the person it might inspire. Think about the opportunities it has created for the person behind the camera. Maybe that's why we should ‘’contentify’  our life&lt;/p&gt;

&lt;p&gt;One human being saying to another, "This is what my little corner of the world looks like." It could be entertaining. Or it could be educational.  Whatever it is,  it's exactly the reassurance someone else needed.&lt;/p&gt;

&lt;p&gt;And honestly, I think we're better for it.&lt;/p&gt;

&lt;p&gt;So if you're a content creator, never stop creating. You never really know whose life you're changing.&lt;/p&gt;

&lt;p&gt;P.S. If you also think there's simply too much to consume and it all starts feeling overwhelming, maybe it's time to step away from the internet for a while.&lt;/p&gt;

&lt;p&gt;Or maybe… Start creating instead of only consuming Thank you for reading.&lt;/p&gt;

&lt;p&gt;Written by - SOG &lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
