<?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[Source of truth - Medium]]></title>
        <description><![CDATA[Mastering AI data governance, content certification, and immutable pipelines. Build trust and compliance into your generative AI strategy. - Medium]]></description>
        <link>https://medium.com/source-of-truth?source=rss----30dc998701e5---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Source of truth - Medium</title>
            <link>https://medium.com/source-of-truth?source=rss----30dc998701e5---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 02:44:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/source-of-truth" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Allocating responsibilities for secure output]]></title>
            <link>https://medium.com/source-of-truth/allocating-responsibilities-for-secure-output-ca838a0f6258?source=rss----30dc998701e5---4</link>
            <guid isPermaLink="false">https://medium.com/p/ca838a0f6258</guid>
            <category><![CDATA[modern-data-architecture]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[ai-risk-mitigation]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <dc:creator><![CDATA[Parth Upadhye]]></dc:creator>
            <pubDate>Fri, 14 Nov 2025 14:10:59 GMT</pubDate>
            <atom:updated>2025-11-14T19:22:16.718Z</atom:updated>
            <content:encoded><![CDATA[<p>Who is in charge: the AI or the rules?</p><p>This is <strong>Article 2 of 9</strong> in our series, <em>From Ambiguity to Assurance: Governing the AI-Powered Business</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TWRft9yHKIqGpFsRmwIYAA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@bbsody?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Maxim Melnikov</a> on <a href="https://unsplash.com/photos/white-train-lot-on-railway-during-day-time-7oh6dJVhurM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In our first article, we established that a reliable AI system requires an <strong>immutable source of truth</strong> — a version-controlled, auditable stream of data. The next critical step is defining how the AI system interacts with that data. Incorrect or non-compliant content generation is usually due to <strong>misaligned responsibility</strong>: the language model (LLM) was asked to do a job that should have belonged to the AI model.</p><p>As previously explored, items in a knowledge base are not always foundational. There can be domain specific and even client content.</p><p>The Retrieval-Augmented Generation (RAG) architecture inherently imposes a clear separation of content and duties. The principle is simple: let the LLM determine <strong>how </strong>the content is written; and have the RAG system determine <strong>what </strong>facts are used and <strong>who </strong>can access them.</p><h3>Why some models fail</h3><p>In a traditional AI model — the core model, comprising the language model and its foundational knowledge — is unsuitable for delivering specific, live answers. When asked, “What is the procedure for new client onboarding?” the core model will most likely:</p><ol><li>Hallucinate or invent a plausible-sounding but entirely false procedure.</li><li>Use stale data or rely on a policy absorbed during its training phase that was superseded last year.</li><li>Produce unverifiable content without having any basis in its knowledge base. Even if the answer is correct, it is unable to provide a reason for it.</li></ol><p>The only way to mitigate these risks is to train your model with an immense amount of data including every task and its variants. It is fair to assume that such an endeavour is not viable.</p><h3>How RAG architecture works</h3><p>Think of RAG as the interface or entry to an AI engine. It receives a user prompt, adds context to it, and redefines the prompt for the LLM. The name is more daunting than understanding what it does.</p><p>Basically, RAG retrieves contextual information and augments the user prompt which it then sends to a content generator.</p><p>A chatbot that learns from your interactions is built to store your data and use it as context for future interactions or in future chats. Given the extra cost of storage and processing cost, Gemini, OpenAI, Copilot among others do not include these features.</p><p>Before we look at an example, let me clarify that most AI deployments today do not autonomously learn. The risks involved are costs, data, governance, among others. Future articles will cover these issues to explain the current state of AI architecture.</p><h3>Example: Translating unstructured input</h3><h4>Use case</h4><p>Convert a designer’s notes on how users can update their username and password into a procedure.</p><h4><strong>Solution</strong></h4><p>Here is how data flows in the system</p><h4><strong>RAG, the entry point</strong></h4><p>As soon as the data is received, the retrieval system fetches three things from its knowledge base:</p><ol><li>A <strong>schema</strong> or template describing how to create or write a procedure (the template).</li><li>The <strong>glossary</strong> or vocabulary (e.g., mapping “database” to the internal system name “AlloyDB-Prod”).</li><li>Design, brand and editorial <strong>guidelines.</strong></li></ol><p>Then it follows instructions to convert the raw text into an augmented instruction: “Use the attached schema, glossary, and guideline to transform the user’s unstructured input into a populated JSON object.”</p><h4><strong>LLM</strong></h4><p>How successfully an LLM generates depends on both the LLM and the clarity of the instruction. That is why newer releases carry a premium price. Here, the LLM is tasked with structural transformation and not creative content generation. As with most cases, this is desired for predictability and security</p><h3><strong>Role of a LLM within RAG</strong></h3><p>The role of an LLM, as described in the above example, is highly restricted.</p><p><strong>Data: </strong>It only knows what has been supplied to it and is expected to follow the instructions.</p><p><strong>Content:</strong> It must generate content using the supplied editorial guidelines and vocabulary wherever applicable.</p><p><strong>Fact verification: </strong>Unless requested, the LLM only weaves provided facts into a coherent narrative</p><h3>Assurance through control</h3><p>Ultimately, allocating responsibilities within the RAG pipeline is a strategic decision that shifts control from unpredictable AI generation to deterministic data.</p><p>RAG eliminates the most common point of failure — the reliance on the core model’s general memory — and replaces it with an enforceable, two-part security model.</p><p>This architectural control is the basis for proving to auditors, regulators, and customers that your AI is operating with <strong>assurance</strong>, making the output as trustworthy as the data source itself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca838a0f6258" width="1" height="1" alt=""><hr><p><a href="https://medium.com/source-of-truth/allocating-responsibilities-for-secure-output-ca838a0f6258">Allocating responsibilities for secure output</a> was originally published in <a href="https://medium.com/source-of-truth">Source of truth</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The immutable source of truth]]></title>
            <link>https://medium.com/source-of-truth/the-immutable-source-of-truth-fa54106a4ceb?source=rss----30dc998701e5---4</link>
            <guid isPermaLink="false">https://medium.com/p/fa54106a4ceb</guid>
            <category><![CDATA[data-integrity]]></category>
            <category><![CDATA[generative-ai-use-cases]]></category>
            <category><![CDATA[modern-data-architecture]]></category>
            <category><![CDATA[content-strategy]]></category>
            <dc:creator><![CDATA[Parth Upadhye]]></dc:creator>
            <pubDate>Wed, 29 Oct 2025 20:22:11 GMT</pubDate>
            <atom:updated>2025-10-29T20:43:50.462Z</atom:updated>
            <content:encoded><![CDATA[<p>Audit trails for AI data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5zPqJbfZoPB5ubj0sVq6A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@vinu_el?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">vinuel</a> on <a href="https://unsplash.com/photos/a-person-holding-a-laptop-lZalBc3OZTg?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>This is <strong>Article 1 of 9</strong> in the series, <em>From ambiguity to assurance: Governing the AI-powered business</em>.</p><p>The promise of generative AI is speed, but the immediate <strong>risk</strong> is unverified content. For business leaders, the most fundamental question is: How do we know the AI is generating content from the correct, most recent, and most secure set of facts?</p><p>The answer lies not in the model itself, but in the data pipeline that feeds it.</p><p>Before any AI system can be trusted, its data source must be transformed into an <strong>immutable source of truth</strong>. This means removing content volatility and establishing a single, verifiable foundation for all corporate knowledge.</p><h3>What is a model?</h3><p>The core foundation is the <strong>Large Language Model (LLM)</strong> that the system is built on. For example, it might be OpenAI, Meta, or Gemini among others. These models have been trained to understand and interpret plain language prompts and answer them contextually.</p><p>The language model is the base of a functional model that serves business needs. This is because every business, industry, and community has its own jargon, knowledge base, and editorial mandates.</p><p>A system’s <strong>core model </strong>includes a language model and a foundational knowledge base. For example, an AI system built to work for accountants would need to be aware of accounting and auditing practices. This can include federal, state, provincial and even local level rules and codes. It is also important to note that the knowledge contained in a core model, does not change frequently. The frequency we are talking about is relative to the system’s <strong>AI model</strong>.</p><p>The <strong>AI model </strong>builds upon the <strong>core model</strong> with content that changes frequently or is live. For an accounting software, this would be affected by income and expense accounts, stock prices, and other values that are constantly changing. If the system is built for multiple clients, client-specific data is included here. Think of it as the knowledge base at a particular moment in time.</p><h3>Content volatility and knowledge layers</h3><p>In any high-velocity environment, source material is constantly changing. A procedure is updated, a compliance rule is modified, or code is merged. If the AI system is not instantly aware of these changes, it becomes a risk. An answer based on a policy that was deprecated last week is a compliance failure waiting to happen.</p><p>It is crucial to understand knowledge or information volatility when defining your models and data.</p><p><strong>General intelligence</strong>, linguistic capability, vast but static world knowledge (e.g., Gemini, Llama) change only when the core model is updated, e.g., annually.</p><p><strong>Foundational knowledge, </strong>stable corporate data, such as brand guidelines, high-level policies, or corporate history, change perhaps quarterly or semi-annually.</p><p><strong>Live knowledge, </strong>procedural manuals, technical specifications, legal updates, and operational documents, market rates, often change multiple times a month, day or hour.</p><p>To mitigate risk created by content volatility:</p><ol><li>Have a clear understanding of every piece of data in your system.</li><li>Classify your data into knowledge layers by type and volatility.</li></ol><h3>Example: AI Squash coach</h3><p>Avid players in squash clubs are always looking for ways to improve their game. There are plenty of tools, videos, training programs, and coaches, but let’s assume there is a valid business case for an AI-powered application.</p><h4>Use case</h4><p>The application records video of game play and provides live feedback or summarizes feedback at end of game.</p><h4>Data or knowledge requirements</h4><p>Without going into too much detail, to analyze game play, the system needs to know at least the following. You can break down each layer further to identify which data is more volatile than others.</p><p>Foundational knowledge</p><ul><li>General coaching; amateur sports training; history of sport; rule book; videos and analysis of game play; tips and techniques</li><li>Changes infrequently</li></ul><p>Live knowledge</p><ul><li>Basic user profile, user game history, recent training and assessments, recent games and opponents, and current game, opponent profile and rally, among others.</li><li>Changes relatively more frequent to very frequent</li></ul><h4>Solution</h4><p>Make sure the AI coach is a trained coach first, then one knowledgeable in the sport, then one able to analyze players to make recommendations.</p><p><strong>General intelligence<br></strong>- Coaching knowledge, sports psychology, human behavior, human anatomy, kinesiology.</p><p><strong>Foundational knowledge<br>- </strong>Sport specific knowledge, rules, playbooks, and history.</p><p><strong>Live knowledge<br></strong>- Player profiles, recent games, player goals and objectives, training history, and current game history.</p><p>To make recommendations between or during rallies or games (using ear buds), the AI coach needs all the three layers of knowledge.</p><h3>Architecture of immutability</h3><p>To achieve reliability, the volatile, critical source data must be placed under the same rigorous controls used for mission-critical software. We must therefore treat our corporate knowledge base, whether documents, code, or policies, with <strong>version control</strong>. This is why the foundational architecture for the AI data pipeline must use a Git-based system (such as <strong>GitHub</strong>) as the primary engine for content ingestion.</p><p>By linking an <strong>AI data pipeline</strong> to a version control system, it has the following advantages:</p><h4>Synchronization is automatic</h4><p>The completion of a content merge or policy update automatically triggers the AI pipeline. This ensures the AI’s knowledge base is updated instantly, eliminating the operational lag between content approval and AI responsiveness.</p><h4>Volatility is eliminated</h4><p>The system only processes data that has been officially approved and merged into the main content repository, removing the risk of indexing temporary or unapproved drafts.</p><h4>From commit to compliance</h4><p>‘Integrating the data source with version control instantly transforms the ingestion process into a fully auditable workflow. Every piece of information that the AI will ever use is tied to an immutable record.</p><h3>How such a data pipeline works</h3><h4>1. Trigger</h4><p>Typically, human actions— the merge of content into the main repository — scheduled or unscheduled data uploads or transfers.</p><h4>2. Data preparation</h4><p>A dedicated service instantly activates and reads the new documents, data or code. The service breaks the new content into small, manageable units and prepares them for a model update.</p><h4>3. Audit Stamp</h4><p>Crucially, during this process, the service attaches the Git commit hash — the unique, immutable identifier for that version of the content — to every single unit of data, or an ID associated with the data upload or transfer. This commit hash or ID — the audit stamp — is the <strong>critical link</strong> to the source of truth. When the AI model is updated, every data point carries awareness and proof of its origin, approval status, and exact date-time of validation.</p><h3>Strategic value of verification</h3><p>For a business leader, this immutable data foundation is essential. It moves the system from guessing to verification. When the AI generates an output, the system can instantly look up the source data and confirm its validity by referencing the audit trail ID. This architectural choice is not just about development speed; it is the fundamental assurance that your AI is operating on facts, not assumptions, providing the necessary basis for the <strong>audit trails</strong> that future generations will certainly require.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa54106a4ceb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/source-of-truth/the-immutable-source-of-truth-fa54106a4ceb">The immutable source of truth</a> was originally published in <a href="https://medium.com/source-of-truth">Source of truth</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>