<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Vinod Manickam on Medium]]></title>
        <description><![CDATA[Stories by Vinod Manickam on Medium]]></description>
        <link>https://medium.com/@vinodmanickam?source=rss-c4f36069acc2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*P8zVFm7cBVV3I4Wf</url>
            <title>Stories by Vinod Manickam on Medium</title>
            <link>https://medium.com/@vinodmanickam?source=rss-c4f36069acc2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:40:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vinodmanickam/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Knowing AI Memory Is Not Enough: The 3 Data Layers Every Architect Must Master]]></title>
            <link>https://medium.com/@vinodmanickam/knowing-ai-memory-is-not-enough-the-3-data-layers-every-architect-must-master-96a0739405fa?source=rss-c4f36069acc2------2</link>
            <guid isPermaLink="false">https://medium.com/p/96a0739405fa</guid>
            <category><![CDATA[gen-ai-for-business]]></category>
            <category><![CDATA[ai-memory-optimization]]></category>
            <category><![CDATA[ai-memory]]></category>
            <dc:creator><![CDATA[Vinod Manickam]]></dc:creator>
            <pubDate>Thu, 06 Aug 2026 07:23:21 GMT</pubDate>
            <atom:updated>2026-08-07T04:49:14.636Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="As an AI Architect, There is a dilemma on what data type should be used for a AI solution." src="https://cdn-images-1.medium.com/max/1024/1*795xsEbk5qvVW7MovA3Eyg.png" /></figure><blockquote>Everytime i start a new AI solution, typical questions I get asked is “what is the RAG that you are using”. We need to go beyond RAG to understand what is best memory suited for your solution.</blockquote><p>Most AI articles discuss concepts such as <strong>short term memory</strong>, <strong>episodic memory</strong>, <strong>semantic memory</strong>, and <strong>procedural memory</strong>. While these concepts are useful for understanding how humans think, they are often too abstract for architects and developers building enterprise AI systems.</p><p>When building an AI Copilot, Agent, or Assistant, the real question is not:</p><blockquote>“Which memory type am I using?”</blockquote><p>The real question is:</p><blockquote>“Where is the data stored, and how can the AI retrieve it efficiently?”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qYNtz4i67AiwhsLzvxQa_Q.png" /></figure><h3>The First data layer — AI Memory Layer</h3><p>This is usually where most articles and tutorials concentrate. They give you the shallow defintions of the terms and let you guess the next two important layers.</p><ol><li><strong>Working(Short-Term) Memory — </strong>This is a Temporary memory used to retain information only for the duration of a task or conversation. It is continuously updated and discarded when no longer needed.</li><li><strong>Long-Term Memory</strong> — This is Persistent memory that survives across conversations or executions, allowing the AI to retain knowledge over time. It is an umbrella term that includes<strong> Semantic, Episodic and Procedural memory</strong>.</li></ol><p><strong>Semantic Memory</strong> — This memory Stores factual knowledge, concepts and meanings independent of when or how they were learned. Focuses on “what is true.”</p><p><strong>Episodic Memory — </strong>This memory Stores experiences, events and interactions that occurred at a specific point in time. Focuses on “what happened.”</p><p><strong>Procedural Memory</strong> — This memory is optional in many usecases but is increasingly relevant. It Stores instructions, rules and processes describing how to perform a task.</p><h3>The Second data layer — Enterprise Data Mgmt Layer</h3><p>This layer is where you make the actual decision. You need more than one of them in a typical AI solution. We need to store conversations, logs, activities, configurations and so on.</p><h4><strong>Key-Value Stores and Caches</strong></h4><p>Cache is widely used for short term memory store. We used to call it as session data in deterministric solutions. It is also quite popular in AI solutions. This is where most “AI memory” actually lives. Key-value stores provide extremely fast access to runtime information and conversation context.</p><pre>+----------------------+--------------------------------------------------+<br>|                      Key-Value Stores / Cache                           |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | Redis, Memcached, Amazon ElastiCache,            |<br>|                      | Azure Cache for Redis                            |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | Session state, agent memory,                     |<br>|                      | conversation context, caching                    |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Extremely fast, low latency                      |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Not suitable for long-term persistence           |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>Structured Data</strong></h4><p>Structured data contains transactional business information stored in relational or operational databases. This is the system of record for enterprise operations.</p><pre>+----------------------+--------------------------------------------------+<br>|                              Structured Data                            |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | PostgreSQL, SQL Server, Oracle, MySQL,           |<br>|                      | Snowflake, MongoDB, DynamoDB                     |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | ERP, CRM, HR, Finance, Orders,                   |<br>|                      | Customer &amp; Inventory Management                  |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | ACID compliance, rich querying,                  |<br>|                      | governance and consistency                       |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Schema dependent (RDBMS), poor for               |<br>|                      | document understanding                           |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>Configuration Stores</strong></h4><p>This is probably one of the most under-rated data stores. Simpler and efficient. Configuration stores contain business rules, policies, workflows, prompts, application settings, and feature flags. These are typically stored in YAML, JSON, Git repositories, or configuration management systems. They provide deterministic behavior and are ideal for storing instructions that rarely change.</p><pre>+----------------------+--------------------------------------------------+<br>|                           Configuration Stores                          |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | YAML, JSON, XML, Git, Consul,                    |<br>|                      | Kubernetes ConfigMaps                            |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | Business rules, application configuration,       |<br>|                      | Agemt Instructions, Prompt templates             |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Fast, deterministic, version controlled,         |<br>|                      | human-readable                                   |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Not suitable for large datasets or               |<br>|                      | semantic querying                                |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>APIs and Compute Services</strong></h4><p>Not all knowledge should be stored. Sometimes the best answer comes from computing it in real time. APIs and compute services provide live and authoritative information. This is now slowly giving way to MCP. I will write a detailed article on MCP in the coming days. But i am still yet to convinced on the concept of MCP.</p><pre>+----------------------+--------------------------------------------------+<br>|                        APIs / Compute Services                          |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | REST APIs, GraphQL, SAP APIs, Salesforce APIs,   |<br>|                      | Microsoft Graph                                  |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | Live enterprise data, business calculations      |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Always current, deterministic                    |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Network dependency, authentication,              |<br>|                      | rate limits                                      |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>Unstructured Knowledge</strong></h4><p>Most enterprise knowledge exists in documents, PDFs, emails, policies, manuals, and reports. These do not have a structured way of sorting the information. Unfortuantely, Most of our need is to get information from this unstructured sources. This is one of the reasons that AI is very popular. In AI, Different retrieval techniques serve different purposes. The third Layer below describes the unstructured knowledge in more detail.</p><h3>The Third data layer — Knowledge Retrieval Layer</h3><p>The third layer talks in detail about the retrieval of data from the unstructured knowledge base. We have multiple types and the one you choose completely depends on your usecase.</p><h4><strong>Knowledge Graphs</strong></h4><p>This is also a type of logical data model that represents the relationship between the data. In broader terms, It represent relationships between people, systems, processes, and concepts.</p><pre>+----------------------+--------------------------------------------------+<br>|                  Unstructured Data → Knowledge Graph                    |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | Neo4j, Amazon Neptune, Stardog,                  |<br>|                      | TigerGraph, GraphDB                              |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | Dependency analysis, Enterprise Architecture,    |<br>|                      | Digital Twins                                    |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Excellent relationship traversal and             |<br>|                      | explainability                                   |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Higher implementation complexity                 |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>Semantic Search (Vector/RAG)</strong></h4><p>The most used technique today in AI solutions. It Retrieves information based on meaning rather than keywords. All our RAG solutions use this technique.</p><pre>+----------------------+--------------------------------------------------+<br>|           Unstructured Data → Semantic Search (Vector / RAG)            |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | Pinecone, Qdrant, Weaviate, pgvector,            |<br>|                      | Azure AI Search, S3 Vectors                      |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | RAG, AI Assistants, Enterprise Copilots          |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Understands meaning, natural language search     |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Embedding cost, tuning, higher latency           |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>Metadata Search</strong></h4><p>This is like the most under-rated search technique in the unstructured knowledge base. It Retrieves documents using tags and attributes. If you remember the initial version of youtube, It relied a lot on the meta information provided by content creators. we can do a simple search using the meta data that we configure in our Vector store or in document stores like S3, Blob store, etc.</p><pre>+----------------------+--------------------------------------------------+<br>|                   Unstructured Data → Metadata Search                   |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | SharePoint Metadata Search, Amazon S3 Tags,      |<br>|                      | Azure Blob Tags, FileNet                         |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | Document management, compliance,                 |<br>|                      | legal archives                                   |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Very fast, deterministic, inexpensive            |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Depends on accurate metadata                     |<br>+----------------------+--------------------------------------------------+</pre><h4><strong>Full-Text Search</strong></h4><p>This is a keyword search solution which pretty much looks for the exact keyword match in the unstructured knowledge base. The semantic meaning is not taken into account here. Keyword search is useful in many places which requires content around the exact phrase. Thus a lot of our AI Search now provides the hybrid search option which does a keyword and also semantic searches on the data stores.</p><pre>+----------------------+--------------------------------------------------+<br>|                  Unstructured Data → Full-Text Search                   |<br>+----------------------+--------------------------------------------------+<br>| Popular Offerings    | Elasticsearch, OpenSearch, Solr,                 |<br>|                      | Azure AI Search, Lucene                          |<br>+----------------------+--------------------------------------------------+<br>| Best Used For        | Enterprise search, policy lookup,                |<br>|                      | technical documentation                          |<br>+----------------------+--------------------------------------------------+<br>| Strengths            | Mature technology, fast and accurate             |<br>+----------------------+--------------------------------------------------+<br>| Limitations          | Cannot understand meaning or intent              |<br>+----------------------+--------------------------------------------------+</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96a0739405fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>