<?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 Sajesh on Medium]]></title>
        <description><![CDATA[Stories by Sajesh on Medium]]></description>
        <link>https://medium.com/@sajesh1683?source=rss-3d9c2127ebf5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2jm0ChxJLsIODnfw.jpg</url>
            <title>Stories by Sajesh on Medium</title>
            <link>https://medium.com/@sajesh1683?source=rss-3d9c2127ebf5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:44:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sajesh1683/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[From OLTP to Insights: A Practical Blueprint for Infusing Analytics into SaaS Products and Services…]]></title>
            <link>https://medium.com/@sajesh1683/from-oltp-to-insights-a-practical-blueprint-for-infusing-analytics-into-saas-products-and-services-9c733898eaa9?source=rss-3d9c2127ebf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c733898eaa9</guid>
            <category><![CDATA[what-is-microsoft-fabric]]></category>
            <category><![CDATA[microsoft-fabric]]></category>
            <dc:creator><![CDATA[Sajesh]]></dc:creator>
            <pubDate>Mon, 25 Aug 2025 18:35:34 GMT</pubDate>
            <atom:updated>2025-08-25T18:35:34.999Z</atom:updated>
            <content:encoded><![CDATA[<h3>From OLTP to Insights: A Practical Blueprint for Infusing Analytics into SaaS Products and Services with Microsoft Fabric</h3><p>Modern SaaS platforms run on fast, transactional (OLTP) back-ends: subscription management, billing, learning flows, case tracking, CRM events…the works. What they often lack is <strong>native, trustworthy analytics</strong> — the kind that blends product exhaust with finance/ERP data and lights up decisions in real time.</p><p>Here’s the architecture that we introduced to bridge that gap — <strong>without re-platforming the apps</strong> — by standing up a unified analytics layer on <strong>Microsoft Fabric</strong>.</p><p><strong>The problem we set out to solve</strong><br>&gt; Product teams needed customer-level telemetry and feature adoption insights.<br>&gt; Operations wanted SLA, backlog, and health dashboards in near-real time.<br>&gt; Finance demanded single-source-of-truth revenue and cost views across external ERPs and our own apps.<br>&gt; Executives expected governed self-service without creating a copy-paste nightmare of spreadsheets and shadow SQL servers.<br><strong>The constraint:</strong> keep SaaS applications focused on OLTP while layering analytics alongside, not inside, the app code.</p><h3>Design principles</h3><ol><li><strong>One lake, one copy</strong> — store data once in open formats (Delta/Parquet) and serve many use cases.</li><li><strong>ELT, not ETL-first</strong> — land raw, transform in-place with Spark/SQL/Dataflows.</li><li><strong>Real-time where it matters</strong> — streams and triggers for operational decisions.</li><li><strong>Productized data</strong> — ship “data products” (well-documented, owner-backed models) instead of ad hoc tables.</li><li><strong>Governance by default</strong> — lineage, access, and policy travel with the data.</li></ol><h3>Reference architecture at a glance</h3><p>(Think of the diagram as three neighborhoods feeding one city.)</p><ul><li><strong>External systems</strong>: ERP/Finance/CRM stacks (e.g., well-known ERPs and accounting platforms).</li><li><strong>Internal SaaS apps</strong>: multiple OLTP products generating domain data.</li><li><strong>Fabric landing zone</strong>: the city — <strong>OneLake</strong> as a single data foundation with Fabric workloads wrapped around it.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_II5N_EDdru6UDSBhwncew.png" /><figcaption>Architecture Diagram</figcaption></figure><h3>1) Ingestion: Fabric Data Factory</h3><ul><li><strong>Pipelines &amp; Dataflows Gen2</strong> pull from SaaS APIs, app databases, and external ERPs.</li><li><strong>CDC patterns</strong> (where supported) reduce load and keep tables fresh.</li><li><strong>Schema drift handling</strong> and <strong>metadata capture</strong> are standardized in reusable pipeline templates.</li></ul><h3>2) The single data foundation: OneLake</h3><ul><li>Bronze/Silver/Gold (a pragmatic Medallion pattern):</li><li><strong>Bronze</strong>: raw, append-only, partitioned by date/tenant.</li><li><strong>Silver</strong>: conformed entities (Customers, Accounts, Subscriptions, Invoices, Usage).</li><li><strong>Gold</strong>: star models for finance, product analytics, support ops.</li><li>Everything is <strong>Delta format</strong> so time travel, merges, and upserts are first-class.</li></ul><h3>3) Transformation &amp; modeling: Data Engineering + Data Warehouse</h3><ul><li><strong>Spark notebooks</strong> for heavy lifting and cross-source harmonization.</li><li><strong>Warehouse &amp; SQL endpoints</strong> expose curated models with standard dimensions/facts.</li><li><strong>Semantic models</strong> define business logic (measures, KPIs, RLS) once for all reports.</li></ul><h3>4) Real-time intelligence and activation</h3><ul><li><strong>Real-Time Analytics</strong> ingests clickstream, events, and logs for low-latency queries.</li><li><strong>D</strong>ata Activator watches conditions (e.g., churn risk score &gt; threshold, SLA breach) and triggers actions:<br> &gt; Notify a success manager<br> &gt; Create a ticket<br> &gt; Write back to an operational table (reverse ETL)</li><li>This closes the loop so analytics <strong>drives</strong> the product, not just reports on it.</li></ul><h3>5) Serving layer: Power BI with Direct Lake</h3><ul><li><strong>Direct Lake</strong> hits Delta tables in OneLake without import overhead.</li><li>Executive scorecards, ops command centers, and self-service exploration live side-by-side.</li><li><strong>Row-level security</strong> supports multi-tenant views with zero data duplication.</li></ul><h3>6) Data science &amp; forecasting (optional but powerful)</h3><ul><li>Feature engineering in <strong>Data Science</strong> (Spark/Python), model training and scoring back into Gold.</li><li>Use cases: revenue forecasting, anomaly detection on usage, lead scoring, return-to-service predictions.</li></ul><h3>7) Governance &amp; observability</h3><ul><li>End-to-end <strong>lineage</strong> from source to KPI.</li><li>Centralized <strong>access policies</strong>; audit trails across pipelines and queries.</li><li>Cost and performance monitoring with agreed <strong>SLOs for freshness</strong>.</li></ul><h3>How data flows, end to end</h3><ol><li><strong>Capture</strong><br> Pipelines land raw SaaS/ERP data into <strong>Bronze</strong> (incremental where possible).</li><li><strong>Conform</strong><br> Spark/SQL standardize IDs, currencies, and time zones; denormalize to <strong>Silver</strong> entities.</li><li><strong>Model</strong><br> Business-ready <strong>Gold</strong> marts: e.g., FactSubscription, FactInvoice, FactEngagement, DimCustomer, DimProduct.</li><li><strong>Serve</strong><br> Power BI models point to Gold via Direct Lake; semantic definitions encode business rules once.</li><li><strong>Activate</strong><br> Signals (declining usage, unpaid invoice, error spikes) raise <strong>Data Activator</strong> alerts or write back to apps.</li></ol><h3>Concrete outcomes we achieved</h3><ul><li><strong>Time-to-insight</strong>: from weeks to <strong>hours</strong> for cross-system metrics (MRR, NRR, churn, cohort retention).</li><li><strong>Operational agility</strong>: support teams get <strong>near real-time</strong> SLA and backlog views.</li><li><strong>Single source of truth</strong>: finance and product now speak the <strong>same numbers</strong> in exec reviews.</li><li><strong>Zero duplication</strong>: one Delta copy feeds BI, ML, and ad-hoc exploration.</li><li><strong>Lower TCO</strong>: retired bespoke marts and script farms; Fabric consolidated the stack.</li></ul><h3>Multi-tenant considerations</h3><ul><li><strong>Tenant isolation</strong> via workspace and folder hierarchy; RLS on semantic models.</li><li><strong>Ingestion throttling</strong> to protect OLTP systems (windowed pulls, API backoff).</li><li><strong>Schema versioning</strong> so app teams can evolve independently of analytics release cycles.</li></ul><h3>Implementation playbook (what works in practice)</h3><p><strong>Phase 0 — Align &amp; name the KPIs</strong><br> Define the five numbers leadership will defend in QBRs. Everything else is a by-product.</p><p><strong>Phase 1 — Land fast</strong><br> Stand up OneLake, create standard ingestion templates, and light up a “bronze catalog.”</p><p><strong>Phase 2 — Conform the core entities</strong><br> Stitch identity across sources (customer, subscription, invoice). This unlocks 80% of executive reporting.</p><p><strong>Phase 3 — Model for decisions</strong><br> Publish Gold marts + semantic models; enable Direct Lake reports; deploy RLS.</p><p><strong>Phase 4 — Activate and automate</strong><br> Add real-time streams and <strong>Data Activator</strong> rules; integrate alerts with ticketing/CRM.</p><p><strong>Phase 5 — Expand to ML</strong><br> Introduce churn propensity, ARR forecasting, SLA breach prediction; operationalize scoring jobs.</p><h3>Anti-patterns to avoid</h3><ul><li><strong>Import-only BI on big tables</strong> — it won’t scale; prefer <strong>Direct Lake</strong>.</li><li><strong>Copying data into side warehouses</strong> — defeats “one lake, one copy.”</li><li><strong>Hand-rolled CDC for everything</strong> — use native connectors or log-based CDC where available.</li><li><strong>Ungoverned UDF jungles</strong> — centralize business logic in semantic models and shared libraries.</li><li><strong>Dashboards before models</strong> — models first, visuals second.</li></ul><h3>Final thought</h3><p>You don’t have to rip apart your OLTP applications to get serious analytics. By standing up a <strong>Fabric-native lakehouse with activation</strong>, you turn the data you already own into a <strong>decision system</strong>: fresh, governed, and wired back into operations. That’s how analytics stops being a rear-view mirror and starts steering the car.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c733898eaa9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Power of the Collective]]></title>
            <link>https://medium.com/@sajesh1683/the-power-of-the-collective-ebdcb8680f80?source=rss-3d9c2127ebf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebdcb8680f80</guid>
            <dc:creator><![CDATA[Sajesh]]></dc:creator>
            <pubDate>Mon, 21 Jul 2025 17:27:30 GMT</pubDate>
            <atom:updated>2025-07-21T17:27:30.643Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why No Great Idea should thrive Alone:</h3><p>At the very root of human progress lies an interesting paradox: while we instinctively idolize individuals, true greatness is almost always the result of collective effort. Humans are wired to look up to icons — be it a sporting legend, a political visionary, or a spiritual leader. We find comfort and inspiration in attributing success to a single figurehead. But in doing so, we often overlook the silent force that makes such success possible: the power of the collective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ay431d1iGOhmR39nwF4AeA.jpeg" /></figure><p>Think of any revolutionary product or idea that has changed the world. Not one — not a single one — was the sole creation of a lone genius. Take Apple, for instance. Steve Jobs, rightfully celebrated for his vision and relentless pursuit of excellence, has become the symbol of Apple’s success. Yet behind the sleek iPhones, the Mac, and the iPad was a collective of extraordinary minds — designers, engineers, marketers, and countless others — whose combined talent, sacrifices, and relentless work brought those innovations to life. Jobs was the spark, but the fire was built and sustained by many hands.</p><h4><strong>Why the Myth of the Lone Genius Persists</strong></h4><p>We, as a society, love stories of lone geniuses. They are easy to narrate and easier to idolize. A single hero gives us someone to look up to, someone whose journey we can romanticize. But this narrative unintentionally diminishes the contributions of the many people who work tirelessly behind the scenes. It leads to what I call the “silent death of the collective” — a failure to acknowledge that progress is, and has always been, a team sport.</p><p><strong>The Challenge of Turning Ideas Into Reality<br></strong>Imagine this: you stumble upon a world-changing idea — something so revolutionary that no one has ever thought of it before. You are convinced of its potential, and you are ready to dedicate your life to it. But here’s the hard truth: no matter how brilliant the idea, it will remain just an idea unless you have a committed group of people — minds, bodies, and souls — working alongside you to bring it to life. This is the essence of the power of the collective. The best ideas in history have succeeded not because of solitary brilliance but because a group of passionate individuals chose to believe in them, build on them, and refine them together.</p><p><strong>Celebrating the Collective</strong><br>If we truly want to progress as a society, we need to start celebrating the power of the collective as much as we celebrate visionary leaders. Leadership matters, yes — but leadership is as much about enabling others as it is about inspiring them. Every product we use, every technology we rely on, and every scientific breakthrough we marvel at is the result of many unseen hands working in harmony.</p><p><strong>Lessons from the Bees<br></strong>If you want to truly understand the power of the collective, look no further than a beehive. A single bee, no matter how industrious, cannot build a hive, produce honey, or sustain a colony. But when thousands of bees work together, each performing its specific role with precision, the results are extraordinary.<br>Inside a hive, every bee has a purpose:<br><strong>Worker bees</strong> tirelessly forage for nectar, pollinate plants, and build honeycombs.<br><strong>Nurse bees</strong> care for the larvae, ensuring the next generation thrives.<br><strong>Guard bees</strong> protect the hive from intruders.<br>And at the center, the <strong>queen bee</strong>, often credited as the “leader,” does only one critical thing — laying eggs to ensure the hive’s continuity.<br>The queen may symbolize leadership, but she does not build the hive, gather nectar, or make honey. The survival and success of the entire colony depend on the coordinated efforts of thousands of worker bees, all working towards a shared goal. Much like the myth of the lone genius in human society, people often think of the queen bee as the ruler who “controls everything.” In reality, the hive thrives because of distributed intelligence and selfless collaboration. Every bee’s tiny contribution — insignificant on its own — becomes monumental when multiplied by thousands of others.</p><p>This is exactly how great human innovations are born. An idea might start with one mind, just as the hive starts with a single queen, but it takes a collective of dedicated individuals to turn that idea into something extraordinary.</p><p><strong>The Steam Engine and the Forgotten Collective</strong><br>In schools, children are taught that James Watt “invented” the steam engine. And yes, Watt deserves credit — his improvements changed the course of history. But why do we leave out the power of the collective?</p><p>Watt’s breakthrough was built on Thomas Savery’s and Thomas Newcomen’s earlier designs. His success depended on Matthew Boulton’s funding, skilled machinists, and hundreds of workers who built and installed these engines.</p><p>One man sparked the idea, but it took a collective of brilliant minds and tireless hands to turn it into the engine that powered the Industrial Revolution.</p><p><strong>Tesla and the Myth of Elon Musk as the Lone Genius<br></strong>When people think of Tesla, they immediately think of Elon Musk. He’s credited as the visionary who revolutionized electric cars — and rightly so for his leadership and relentless push for innovation. But the truth is, Tesla’s success is the result of a collective effort: The company was originally founded by Martin Eberhard and Marc Tarpenning, who developed the first Tesla Roadster concept. JB Straubel, Tesla’s Chief Technical Officer, played a crucial role in developing battery technology and powertrains.<br>Thousands of engineers, designers, and factory workers worked tirelessly to turn prototypes into mass-produced vehicles. <br>Elon Musk brought vision, funding, and bold execution, but Tesla exists because of the collective genius and hard work of many unnamed contributors. <br>Just like with the steam engine or ChatGPT, no great innovation is ever a one-man show — it’s always the power of the collective.</p><p><strong>The Billion Dollar Code — When Collective Innovation Was Overshadowed</strong><br>The Netflix documentary “The Billion Dollar Code” tells the story of a group of German innovators from the Berlin-based art and tech collective ART+COM. In the mid-1990s, this team — including Artur Fischer, Carsten Schlütter, Pavel Mayer, Axel Schmidt, and others — developed TerraVision, a groundbreaking program that allowed users to navigate a 3D model of the Earth using satellite and aerial imagery.</p><p>Years later, Google launched Google Earth, which bore striking similarities to TerraVision. The ART+COM team filed a patent infringement lawsuit against Google in the U.S., claiming their collective innovation was essentially taken without credit. Although they lost the case, the story is a powerful reminder of how history and media often credit big corporations or single “genius” figures, while entire teams of innovators remain forgotten.</p><p>While we naturally look for heroes and idols to admire, we must also recognize and celebrate the true driving force behind every great achievement — <strong>THE POWER OF THE COLLECTIVE.</strong></p><p><strong>Co-Written by Sajesh TK/GPT40</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebdcb8680f80" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Prompt to Plugin: Building an Agentic AI Using Semantic Kernel and Azure OpenAI]]></title>
            <link>https://medium.com/@sajesh1683/from-prompt-to-plugin-building-an-agentic-ai-using-semantic-kernel-and-azure-openai-34b90df6d4ca?source=rss-3d9c2127ebf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/34b90df6d4ca</guid>
            <dc:creator><![CDATA[Sajesh]]></dc:creator>
            <pubDate>Wed, 09 Jul 2025 14:01:33 GMT</pubDate>
            <atom:updated>2025-07-25T06:42:32.677Z</atom:updated>
            <content:encoded><![CDATA[<h3>We Built an Agentic AI with Semantic Kernel &amp; Azure OpenAI — Here’s the Full Playbook</h3><p>In a typical enterprise setup, AI is used to answer questions. But what if it could do more?<br> What if it could reason, select tools, and trigger the right business logic?</p><p>In this post, we’ll break down how we built an <strong>agentic AI interface</strong> — one that connects natural language prompts with SQL-based business logic via plugins, powered by <a href="https://github.com/microsoft/semantic-kernel">Microsoft Semantic Kernel</a> and Azure OpenAI.</p><p>We’ll walk through the core design and code that lets the AI:</p><ul><li>Interpret prompts with intention</li><li>Select the right plugin/tool automatically</li><li>Return structured, real-time answers from enterprise databases</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pJ-n3fulmBDjfIQz0e0Rlg.png" /><figcaption>Agenda &amp; Approach</figcaption></figure><h3><strong>Process Overview</strong></h3><p>At a high level, we built:</p><ul><li>A .NET Web API backend</li><li>Azure OpenAI integration (for GPT chat)</li><li>Semantic Kernel with plugin binding</li><li>SQL Server with structured business logic</li><li>Auto tool invocation through ToolCallBehavior.AutoInvokeKernelFunctions</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*334XmIPDvUmohMCpQRkcLg.png" /><figcaption><strong>Process Flow Diagram</strong></figcaption></figure><h3><strong>Step 1: Kernel Initialization with Plugins</strong></h3><p>The AI agent needs access to both LLM reasoning <em>and</em> structured enterprise knowledge. We started with this in AgenticRagService.cs:</p><pre>var builder = Kernel.CreateBuilder();<br><br>builder.AddAzureOpenAIChatCompletion(<br>    deploymentName: Environment.GetEnvironmentVariable(&quot;AZURE_OPENAI_DEPLOYMENT&quot;),<br>    endpoint: Environment.GetEnvironmentVariable(&quot;AZURE_OPENAI_ENDPOINT&quot;),<br>    apiKey: Environment.GetEnvironmentVariable(&quot;AZURE_OPENAI_KEY&quot;)<br>);<br><br>_kernel = builder.Build();<br><br>// Add plugin logic from .NET classes<br>_kernel.Plugins.AddFromObject(new ContractSearchPlugin(connectionString));<br>_kernel.Plugins.AddFromObject(new DeliverablesPlugin(connectionString));<br>_kernel.Plugins.AddFromObject(new ActionPlansPlugin(connectionString));<br>_kernel.Plugins.AddFromObject(new DepartmentPlugin(connectionString));</pre><p>These plugins are simple classes with [KernelFunction] methods that connect to a SQL Server DB and return JSON-formatted responses.</p><h3><strong>Step 2: Writing a Plugin</strong></h3><p>Here’s a sample plugin from AgenticRagPlugins.cs that fetches deliverables:</p><pre>[KernelFunction]<br>public string GetDeliverableDetails(string contractId)<br>{<br>    using var connection = new SqlConnection(_connectionString);<br>    connection.Open();<br><br>    var query = &quot;SELECT DeliverableName, DueDate FROM Deliverables WHERE ContractId = @ContractId&quot;;<br>    using var command = new SqlCommand(query, connection);<br>    command.Parameters.AddWithValue(&quot;@ContractId&quot;, contractId);<br><br>    using var reader = command.ExecuteReader();<br>    var results = new List&lt;object&gt;();<br><br>    while (reader.Read())<br>    {<br>        results.Add(new<br>        {<br>            DeliverableName = reader[&quot;DeliverableName&quot;].ToString(),<br>            DueDate = Convert.ToDateTime(reader[&quot;DueDate&quot;]).ToString(&quot;yyyy-MM-dd&quot;)<br>        });<br>    }<br><br>    return JsonSerializer.Serialize(new<br>    {<br>        Plugin = &quot;DeliverablesPlugin&quot;,<br>        ContractId = contractId,<br>        Results = results<br>    });<br>}</pre><p>Each plugin function can be auto-invoked by the LLM based on the prompt context.</p><h3><strong>Step 3: Enabling Auto Tool Invocation</strong></h3><p>We used Semantic Kernel’s <strong>auto tool call behavior</strong> to empower the LLM to choose and invoke the right function:</p><pre>var executionSettings = new OpenAIPromptExecutionSettings<br>{<br>    ToolCallBehavior = ToolCallBehavior.AutoInvokeKernelFunctions<br>};<br><br>var result = await _kernel.InvokePromptAsync&lt;string&gt;(<br>    prompt,<br>    new KernelArguments(executionSettings)<br>);</pre><p>This means if the user says:</p><blockquote><em>“What deliverables are due for contract Alpha?”</em></blockquote><p>…then the AI automatically maps this to GetDeliverableDetails() with the right argument pulled from the LLM context.</p><h3><strong>Step 4: Exposing It via Web API</strong></h3><p>In AgenticRagController.cs, we expose a POST endpoint:</p><pre>[HttpPost]<br>[Route(&quot;/agenticRag&quot;)]<br>public async Task&lt;ActionResult&lt;PromptResponse&gt;&gt; RunAgenticRagAsync([FromBody] PromptRequest request)<br>{<br>    if (string.IsNullOrWhiteSpace(request.Prompt))<br>        return BadRequest(&quot;Prompt cannot be empty.&quot;);<br><br>    var response = await _agenticRagService.GenerateResponseWithPlanning(request.Prompt);<br><br>    return Ok(new PromptResponse { Content = response });<br>}</pre><p>You can now POST a natural language query to /agenticRag and get a structured response back.</p><h3><strong>Step 5: Secure Config and Setup</strong></h3><p>Use appsettings.json to store your SQL connection string:</p><pre>&quot;ConnectionStrings&quot;: {<br>  &quot;DefaultConnection&quot;: &quot;Server=...;Database=...;User Id=...;Password=...;&quot;<br>}</pre><p>And keep OpenAI credentials in environment variables:</p><pre>AZURE_OPENAI_KEY=xxxx<br>AZURE_OPENAI_ENDPOINT=https://xxx.openai.azure.com/<br>AZURE_OPENAI_DEPLOYMENT=chat-model</pre><h3>Real Benefits</h3><p>This architecture delivers:</p><ul><li><strong>Actionable AI</strong>: The LLM doesn’t just talk — it does.</li><li><strong>Composable Plugins</strong>: Easy to extend with more SQL-backed or API-backed logic.</li><li><strong>Real-time Grounding</strong>: All answers are backed by live data — not hallucinated.</li></ul><p>If you’re building smart agents in enterprise workflows, give this hybrid approach a try.</p><p><strong>GITHUB :</strong> <a href="https://github.com/sajesh1683new/AgenticRAG/tree/main">https://github.com/sajesh1683new/AgenticRAG/tree/main</a></p><h3>What’s Next?</h3><p>We’re now exploring: Adding plugin chaining (multi-step plans)</p><p>If you’re already building with Semantic Kernel, drop your use case in the comments — I’d love to see how others are pushing Agentic AI forward!</p><h3>Promo Video</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F1104380930%3Fapp_id%3D122963&amp;dntp=1&amp;display_name=Vimeo&amp;url=https%3A%2F%2Fvimeo.com%2F1104380930&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F2040613352-34c9c57b78de7572ff1a34958065299eb21450f44b08d5018f317c3ffcd1165a-d_1280%3Fregion%3Dus&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/74664bc62d6e679c9d668daf05af06aa/href">https://medium.com/media/74664bc62d6e679c9d668daf05af06aa/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=34b90df6d4ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Allocations in Oracle PCMCS (Rates & Driver Based methods)]]></title>
            <link>https://medium.com/@sajesh1683/allocations-in-oracle-pcmcs-rates-driver-based-methods-96d53b340579?source=rss-3d9c2127ebf5------2</link>
            <guid isPermaLink="false">https://medium.com/p/96d53b340579</guid>
            <dc:creator><![CDATA[Sajesh]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 19:07:46 GMT</pubDate>
            <atom:updated>2023-03-03T19:07:46.625Z</atom:updated>
            <content:encoded><![CDATA[<p>Let us look at how an allocation process can be setup in Oracle PCMCS. From a layman’s perspective, Allocation refers to the act of distributing or assigning resources, such as personnel, funds, or materials, to different tasks or activities in order to achieve a specific goal or objective.</p><p>In this example, the focus is on Rate based and Driver based allocation on the Oracle PCMCS platform. In the below pictorial representation, I have tried to lay down a typical data flow. To set the ball rolling, pre-Allocated data originates from EPBCS and Data warehouse systems and it is channeled into a PCMCS platform for allocations. Once allocated, Data Management within PCMCS pushes the data back to an EPBCS system for the end business users to analyze.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*a6odyIleu5lP3eaB_TaQsg.jpeg" /><figcaption>Data flow during the allocation process.</figcaption></figure><p><strong>Rate Based Allocation: </strong>In this method, the Allocation is driven by a defined rate. The rate is then applied to the Revenue of a specific Entity to find the allocation amount for that entity. To keep it simple, lets assume that we are looking to allocate monthly Overheads which is a type of SG&amp;A expense to various Entities/Cost Centres of the organization. The two Overheads are HeadQuarter (HQ) Overhead and Regional Overhead. The mathematical formula to calculate this for a specific entity/cost Centre is as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*DzEU2UfXh7CKPb-dUAL18w.jpeg" /></figure><p>In PCMCS create a Ruleset that has two rules. These two rules should be of type “Custom Calculation”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*syKcBKH6y5JjxjUwFIy8bw.jpeg" /></figure><p><strong>Definition of “Custom Calculation” Ruletype: </strong>This rule has tabs for “Description, “Target”, “Formula” and the “Rule Context”. As in the screenshot below the objective is to create a Rule for computing the HQ overhead amount. The 4 sections are filled in with appropriate information as in the below screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*06VIDvjfPdVy5arneIXfog.jpeg" /><figcaption>Rule Definition for Rate based method.</figcaption></figure><p>Formula: The below formula will compute the Allocation amount and it will assign it to the Level 0 members that are defined on the Target tab</p><pre>[Allocation In]:= ([Input],[NoRule],[ACTUAL],[FINAL],[REVENUE]) * ([Input],[NoRule],[ACTUAL],[FINAL],[NO_ENTITY][HQ_RATE]);</pre><p>Follow a similar process to create a “Custom Calculation” ruletype for the second account named as “Regional Overhead amount”. Once these two rules run successfully, you should be able to retrieve the data via Smartview and check it out in an excel as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EesEal-28VoTKqvlc1qpWw.jpeg" /></figure><p><strong>Driver Based Allocation: </strong>Driver-based allocation in Oracle Profitability and Cost Management Cloud Service (PCMCS) is a method of allocating indirect costs to various products or services based on certain drivers or factors. In this example, we allocate the SG&amp;A cost of a specific Source Entity (Admin Entity) to All entities of the organization based on the Revenue Driver. That is the Revenue of the Entity is the driver to allocate the SG&amp;A costs. The following pictorial representation will lay down the math of the computation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vie0U9G1QULTkNY4VnLH_w.jpeg" /></figure><p>In PCMCS create a Ruleset that has this rule. This rule should be of type “Allocation”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1T7yPSGCeCBXnHE72lfHmg.jpeg" /></figure><p><strong>Definition of “Allocation” Ruletype: </strong>This rule has 6 tabs and they are “Description, “Source”, “Destination”, “Driver Basis”, “Offset”and the “Rule Context”. As in the screenshot below the objective is to create a Rule for allocating the Admin expense incurred at a Centralized entity to all the respective entities of the Organization that has revenue for that year. The 6 sections are filled in with appropriate information as in the below screenshot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sIABzj5xEdqXHZcnX1A47Q.jpeg" /><figcaption>Tabs 1 to 3</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hfR0_K5pL1Ms9xdEVnvqqA.jpeg" /><figcaption>Tabs 4 to 6</figcaption></figure><p>Once Driver based rules run successfully, you should be able to retrieve the data via Smartview and check it out in an excel as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*ff7kJ5PWN9m7-B2lHXNcIA.jpeg" /></figure><p><strong>Running Rules: </strong>Once defined the rules can be run from the “Manage” “Calculations” section.</p><p>PS: Some of the texts in this blog are powered by ChatGPT :-) Hope its helpful!</p><p>PCMCS other capabilities video : <a href="https://youtu.be/soKjn_-HNIg">https://youtu.be/soKjn_-HNIg</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96d53b340579" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>