{"id":1113,"date":"2026-08-07T16:13:10","date_gmt":"2026-08-07T08:13:10","guid":{"rendered":"https:\/\/witlab.ph\/blog\/?p=1113"},"modified":"2026-08-07T16:13:12","modified_gmt":"2026-08-07T08:13:12","slug":"building-ai-features-a-simple-story-of-embeddings-vector-search-rag","status":"publish","type":"post","link":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/","title":{"rendered":"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Normal Search is Not Enough<\/h2>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-28\">Traditional SQL keyword search relies entirely on finding exact textual matches<sup><\/sup>. For example, a basic search tool might not recognize that a &#8220;phone battery issue&#8221; means the exact same thing as an &#8220;iPhone power problem&#8221;<sup><\/sup>. Vector search solves this limitation by finding similar meanings rather than just exact words<sup><\/sup>. The general rule of thumb is to use SQL for structured facts, but use vectors when the exact wording is different but the underlying meaning is close<sup><\/sup>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide2-1024x576.jpg\" alt=\"\" class=\"wp-image-1114\" srcset=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide2-1024x576.jpg 1024w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide2-300x169.jpg 300w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide2-768x432.jpg 768w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide2.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Core Concept: Embeddings<\/h2>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-29\">To make meaning searchable, we use embeddings<sup><\/sup>. An embedding simply represents meaning as a set of numbers<sup><\/sup>. Whether you are working with text, images, or code, an AI model translates that input data into a numerical vector<sup><\/sup>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide3-1024x576.jpg\" alt=\"\" class=\"wp-image-1115\" srcset=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide3-1024x576.jpg 1024w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide3-300x169.jpg 300w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide3-768x432.jpg 768w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide3.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How Vector Search Works<\/h2>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-30\">Once your data is converted into numbers, vector search takes over to find the nearest meaning to a user&#8217;s query<sup><\/sup>. Instead of matching specific keywords, the system compares the mathematical distance between vectors<sup><\/sup>. Ultimately, the nearest mathematical group wins and is returned as the search result<sup><\/sup>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Storing Vectors: Vector Databases<\/h2>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-31\">To build these features, you need a place to store these vectors alongside your standard application data<sup><\/sup>. Supabase is a great solution that combines a traditional database with vector storage<sup><\/sup>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PostgreSQL handles your normal tables and traditional SQL queries.<\/li>\n\n\n\n<li>The <code>pgvector<\/code> extension is utilized to safely store embedding columns.<\/li>\n\n\n\n<li>Similarity searches are then run within the database to find the closest chunks of information.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide5-1024x576.jpg\" alt=\"\" class=\"wp-image-1116\" srcset=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide5-1024x576.jpg 1024w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide5-300x169.jpg 300w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide5-768x432.jpg 768w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide5.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Architecture: Understanding RAG<\/h2>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-35\">RAG stands for Retrieval-Augmented Generation, and it is the architecture that allows an AI to answer questions using your own specific knowledge base. The general flow is simple: Ask, Retrieve, Add context, and generate.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6-1024x576.jpg\" alt=\"\" class=\"wp-image-1117\" srcset=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6-1024x576.jpg 1024w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6-300x169.jpg 300w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6-768x432.jpg 768w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Behind every RAG application, there are two distinct workflows you must build:<\/p>\n\n\n\n<p><strong>Workflow 1: Prepare Content<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Gather your source materials, which could include PDFs, web pages, or database records<sup><\/sup>.<\/li>\n\n\n\n<li>Break these documents down into smaller pieces, referred to as chunks<sup><\/sup>.<\/li>\n\n\n\n<li>Embed those chunks, turning the text into numbers<sup><\/sup>.<\/li>\n\n\n\n<li>Store those numbers in your database, like Supabase<sup><\/sup>.<\/li>\n<\/ul>\n\n\n\n<p><strong>Workflow 2: Answer Questions<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Capture the question the user asks<sup><\/sup>.<\/li>\n\n\n\n<li>Embed the user&#8217;s query into its own query vector<sup><\/sup>.<\/li>\n\n\n\n<li>Search the database to find the closest matching chunks of context<sup><\/sup>.<\/li>\n\n\n\n<li>Pass those chunks to the LLM so it can generate an accurate answer<sup><\/sup>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide7-1024x576.jpg\" alt=\"\" class=\"wp-image-1118\" srcset=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide7-1024x576.jpg 1024w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide7-300x169.jpg 300w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide7-768x432.jpg 768w, https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide7.jpg 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation and Real-World Use Cases<\/h2>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-45\">A standard implementation stack involves four moving parts<sup><\/sup>. You will typically see a Web App to capture user questions, an API service built on something like Laravel or Node, OpenAI to handle the Embedding and LLM generation, and Supabase (Postgres + pgvector) serving as the database<sup><\/sup>.<\/p>\n\n\n\n<p id=\"p-rc_69f7716cef39fa68-46\">Once implemented, this architecture unlocks powerful AI features<sup><\/sup>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>AI FAQ:<\/strong> Generating answers directly from your company&#8217;s uploaded documents.<\/li>\n\n\n\n<li><strong>Product Search:<\/strong> Returning meaning-based results rather than just matching product names.<\/li>\n\n\n\n<li><strong>Support Bots:<\/strong> Quickly finding similar, previously resolved support tickets.<\/li>\n\n\n\n<li><strong>Internal Knowledge:<\/strong> Allowing employees to securely search private company data.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p id=\"p-rc_07ed052c48703d4b-86\">Building intelligent AI features is fundamentally about teaching your applications to understand context and meaning, rather than just matching exact words<sup><\/sup>. By leveraging embeddings to translate information into numerical vectors and using vector databases like Supabase for similarity search, developers can create highly accurate, context-aware systems<sup><\/sup>. Implementing a Retrieval-Augmented Generation (RAG) architecture ensures that your AI remains grounded in your own trusted data, opening the door to powerful use cases like smarter FAQs, intuitive product searches, and highly efficient support bots<sup><\/sup>.<\/p>\n\n\n\n<p>Ref: <\/p>\n\n\n\n<p><a href=\"https:\/\/developers.openai.com\/api\/docs\/guides\/embeddings\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developers.openai.com\/api\/docs\/guides\/embeddings<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/cloud.google.com\/use-cases\/retrieval-augmented-generation\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/cloud.google.com\/use-cases\/retrieval-augmented-generation<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/supabase.com\/features\/vector-database\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/supabase.com\/features\/vector-database<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why Normal Search is Not Enough Traditional SQL keyword search relies entirely on finding exact textual matches. For example, a basic search tool might not recognize that a &#8220;phone battery issue&#8221; means the exact same thing as an &#8220;iPhone power problem&#8221;. Vector search solves this limitation by finding similar meanings rather than just exact words. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1117,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1113","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG - WIT LAB %<\/title>\n<meta name=\"description\" content=\"We excel in utilizing cutting-edge technology, programming languages, and frameworks to deliver high-quality digital solutions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG - WIT LAB %\" \/>\n<meta property=\"og:description\" content=\"We excel in utilizing cutting-edge technology, programming languages, and frameworks to deliver high-quality digital solutions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\" \/>\n<meta property=\"og:site_name\" content=\"WIT LAB\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/people\/WIT-LAB\/61567795364273\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-07T08:13:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-07T08:13:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Aung Nyi Thit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aung Nyi Thit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\"},\"author\":{\"name\":\"Aung Nyi Thit\",\"@id\":\"https:\/\/witlab.ph\/blog\/#\/schema\/person\/4df708bd91fad188e81ec5addf45b5c3\"},\"headline\":\"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG\",\"datePublished\":\"2026-08-07T08:13:10+00:00\",\"dateModified\":\"2026-08-07T08:13:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\"},\"wordCount\":586,\"publisher\":{\"@id\":\"https:\/\/witlab.ph\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg\",\"articleSection\":[\"System\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\",\"url\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\",\"name\":\"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG - WIT LAB %\",\"isPartOf\":{\"@id\":\"https:\/\/witlab.ph\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg\",\"datePublished\":\"2026-08-07T08:13:10+00:00\",\"dateModified\":\"2026-08-07T08:13:12+00:00\",\"description\":\"We excel in utilizing cutting-edge technology, programming languages, and frameworks to deliver high-quality digital solutions.\",\"breadcrumb\":{\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage\",\"url\":\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg\",\"contentUrl\":\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/witlab.ph\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/witlab.ph\/blog\/#website\",\"url\":\"https:\/\/witlab.ph\/blog\/\",\"name\":\"WIT LAB\",\"description\":\"Web Development\",\"publisher\":{\"@id\":\"https:\/\/witlab.ph\/blog\/#organization\"},\"alternateName\":\"WIT LAB INC\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/witlab.ph\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/witlab.ph\/blog\/#organization\",\"name\":\"WIT LAB INC\",\"alternateName\":\"Spiceworks (Japan)\",\"url\":\"https:\/\/witlab.ph\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/witlab.ph\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2024\/09\/logo_witlab-Copy-Copy.png\",\"contentUrl\":\"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2024\/09\/logo_witlab-Copy-Copy.png\",\"width\":681,\"height\":616,\"caption\":\"WIT LAB INC\"},\"image\":{\"@id\":\"https:\/\/witlab.ph\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/people\/WIT-LAB\/61567795364273\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/witlab.ph\/blog\/#\/schema\/person\/4df708bd91fad188e81ec5addf45b5c3\",\"name\":\"Aung Nyi Thit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/witlab.ph\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56095dd9b0cc972b21cc50c6ae98ce92?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56095dd9b0cc972b21cc50c6ae98ce92?s=96&d=mm&r=g\",\"caption\":\"Aung Nyi Thit\"},\"sameAs\":[\"http:\/\/rapidspice-wp.local\/blog\"],\"url\":\"https:\/\/witlab.ph\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG - WIT LAB %","description":"We excel in utilizing cutting-edge technology, programming languages, and frameworks to deliver high-quality digital solutions.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/","og_locale":"en_US","og_type":"article","og_title":"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG - WIT LAB %","og_description":"We excel in utilizing cutting-edge technology, programming languages, and frameworks to deliver high-quality digital solutions.","og_url":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/","og_site_name":"WIT LAB","article_publisher":"https:\/\/www.facebook.com\/people\/WIT-LAB\/61567795364273\/","article_published_time":"2026-08-07T08:13:10+00:00","article_modified_time":"2026-08-07T08:13:12+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg","type":"image\/jpeg"}],"author":"Aung Nyi Thit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Aung Nyi Thit","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#article","isPartOf":{"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/"},"author":{"name":"Aung Nyi Thit","@id":"https:\/\/witlab.ph\/blog\/#\/schema\/person\/4df708bd91fad188e81ec5addf45b5c3"},"headline":"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG","datePublished":"2026-08-07T08:13:10+00:00","dateModified":"2026-08-07T08:13:12+00:00","mainEntityOfPage":{"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/"},"wordCount":586,"publisher":{"@id":"https:\/\/witlab.ph\/blog\/#organization"},"image":{"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage"},"thumbnailUrl":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg","articleSection":["System"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/","url":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/","name":"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG - WIT LAB %","isPartOf":{"@id":"https:\/\/witlab.ph\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage"},"image":{"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage"},"thumbnailUrl":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg","datePublished":"2026-08-07T08:13:10+00:00","dateModified":"2026-08-07T08:13:12+00:00","description":"We excel in utilizing cutting-edge technology, programming languages, and frameworks to deliver high-quality digital solutions.","breadcrumb":{"@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#primaryimage","url":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg","contentUrl":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2026\/08\/Slide6.jpg","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/witlab.ph\/blog\/building-ai-features-a-simple-story-of-embeddings-vector-search-rag\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/witlab.ph\/blog\/"},{"@type":"ListItem","position":2,"name":"Building AI Features: A Simple Story of Embeddings, Vector Search &amp; RAG"}]},{"@type":"WebSite","@id":"https:\/\/witlab.ph\/blog\/#website","url":"https:\/\/witlab.ph\/blog\/","name":"WIT LAB","description":"Web Development","publisher":{"@id":"https:\/\/witlab.ph\/blog\/#organization"},"alternateName":"WIT LAB INC","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/witlab.ph\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/witlab.ph\/blog\/#organization","name":"WIT LAB INC","alternateName":"Spiceworks (Japan)","url":"https:\/\/witlab.ph\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/witlab.ph\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2024\/09\/logo_witlab-Copy-Copy.png","contentUrl":"https:\/\/witlab.ph\/blog\/wp-content\/uploads\/2024\/09\/logo_witlab-Copy-Copy.png","width":681,"height":616,"caption":"WIT LAB INC"},"image":{"@id":"https:\/\/witlab.ph\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/people\/WIT-LAB\/61567795364273\/"]},{"@type":"Person","@id":"https:\/\/witlab.ph\/blog\/#\/schema\/person\/4df708bd91fad188e81ec5addf45b5c3","name":"Aung Nyi Thit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/witlab.ph\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56095dd9b0cc972b21cc50c6ae98ce92?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56095dd9b0cc972b21cc50c6ae98ce92?s=96&d=mm&r=g","caption":"Aung Nyi Thit"},"sameAs":["http:\/\/rapidspice-wp.local\/blog"],"url":"https:\/\/witlab.ph\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/posts\/1113"}],"collection":[{"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/comments?post=1113"}],"version-history":[{"count":1,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/posts\/1113\/revisions"}],"predecessor-version":[{"id":1119,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/posts\/1113\/revisions\/1119"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/media\/1117"}],"wp:attachment":[{"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/media?parent=1113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/categories?post=1113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/witlab.ph\/blog\/wp-json\/wp\/v2\/tags?post=1113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}