<?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 Aryan Verma on Medium]]></title>
        <description><![CDATA[Stories by Aryan Verma on Medium]]></description>
        <link>https://medium.com/@aryanverma4523?source=rss-260413334460------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*P7dhCIbNisexbwpQ</url>
            <title>Stories by Aryan Verma on Medium</title>
            <link>https://medium.com/@aryanverma4523?source=rss-260413334460------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:13:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aryanverma4523/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[Azure AI Foundry vs Copilot Studio: When Should You Use Which?]]></title>
            <link>https://medium.com/@aryanverma4523/azure-ai-foundry-vs-copilot-studio-when-should-you-use-which-9c179c691eaa?source=rss-260413334460------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c179c691eaa</guid>
            <category><![CDATA[azureaifoundry]]></category>
            <category><![CDATA[copilot-studio]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[microsoft-azure]]></category>
            <category><![CDATA[generative-ai]]></category>
            <dc:creator><![CDATA[Aryan Verma]]></dc:creator>
            <pubDate>Wed, 10 Jun 2026 06:45:52 GMT</pubDate>
            <atom:updated>2026-06-10T06:45:52.087Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p9TyNOSdB25GfArrc2nPsg.jpeg" /></figure><h3>As organizations adopt AI, one question comes up repeatedly:</h3><blockquote><strong><em>Should I use Copilot Studio or Azure AI Foundry?</em></strong></blockquote><p>The answer is simple:</p><p><strong>It depends on what you’re trying to build.</strong></p><p>Although both platforms are part of Microsoft’s AI ecosystem, they are designed for different users and different scenarios.</p><p>Let’s break it down.</p><h3>The Simple Explanation</h3><p>Think of them like this:</p><ul><li><strong>Copilot Studio</strong> helps you build AI assistants quickly with little or no code.</li><li><strong>Azure AI Foundry</strong> helps developers and AI engineers build advanced, enterprise-grade AI applications.</li></ul><p>If speed and simplicity matter most, go with <strong>Copilot Studio</strong>.</p><p>If flexibility and customization are important, <strong>Azure AI Foundry</strong> is the better choice.</p><h3>What is Copilot Studio?</h3><p>Copilot Studio is a low-code platform that makes it easy to create AI assistants and chatbots.</p><p>You don’t need deep AI expertise to get started.</p><p>With Copilot Studio, you can:</p><ul><li>Build conversational assistants</li><li>Connect to Microsoft 365 and Power Platform</li><li>Automate business processes</li><li>Extend Microsoft Copilot</li><li>Integrate with hundreds of existing connectors</li></ul><h3>Typical Use Cases</h3><ul><li>HR assistants</li><li>IT support bots</li><li>Employee onboarding assistants</li><li>FAQ chatbots</li><li>Customer support solutions</li></ul><h3>Who Is It For?</h3><ul><li>Business users</li><li>Functional consultants</li><li>Power Platform developers</li><li>Citizen developers</li></ul><h3>What is Azure AI Foundry?</h3><p>Azure AI Foundry is designed for developers and AI engineers who need greater control and flexibility.</p><p>It provides tools for building sophisticated AI solutions and supports a wide range of models and frameworks.</p><p>With Azure AI Foundry, you can:</p><ul><li>Build custom AI applications</li><li>Create agent-based solutions</li><li>Implement Retrieval-Augmented Generation (RAG)</li><li>Fine-tune models</li><li>Evaluate and monitor AI applications</li><li>Connect AI solutions to enterprise data</li></ul><h3>Typical Use Cases</h3><ul><li>Enterprise knowledge assistants</li><li>Document processing solutions</li><li>Financial and insurance applications</li><li>Industry-specific AI systems</li><li>Multi-agent architectures</li></ul><h3>Who Is It For?</h3><ul><li>Developers</li><li>Solution architects</li><li>AI engineers</li><li>Data scientists</li></ul><h3>When Should You Choose Copilot Studio?</h3><p>Choose Copilot Studio if:</p><ul><li>You need a solution quickly.</li><li>Business teams are leading development.</li><li>Your use case is straightforward.</li><li>You want to extend Microsoft Copilot.</li><li>Low-code development is important.</li></ul><h3>Examples</h3><ul><li>Leave management assistant</li><li>Employee self-service chatbot</li><li>IT help desk assistant</li><li>Internal FAQ bot</li></ul><h3>When Should You Choose Azure AI Foundry?</h3><p>Choose Azure AI Foundry if:</p><ul><li>You need complete control over the AI solution.</li><li>You’re building complex applications.</li><li>Multiple AI agents are involved.</li><li>You require RAG or model fine-tuning.</li><li>Developers are responsible for implementation.</li></ul><h3>Examples</h3><ul><li>Contract analysis solutions</li><li>Insurance claim processing</li><li>Healthcare assistants</li><li>Enterprise search applications</li><li>Document intelligence systems</li></ul><h3>Can They Work Together?</h3><p>Yes.</p><p>In fact, many organizations use both.</p><p>A common approach looks like this:</p><pre>User<br>   ↓<br>Copilot Studio<br>   ↓<br>Azure AI Foundry<br>   ↓<br>AI Agents and Models<br>   ↓<br>Enterprise Data</pre><p>In this architecture:</p><ul><li><strong>Copilot Studio provides the user experience.</strong></li><li><strong>Azure AI Foundry provides the intelligence behind the scenes.</strong></li></ul><p>Together, they enable organizations to build powerful and scalable AI solutions.</p><h3>Quick Decision Guide</h3><h3>Choose Copilot Studio when:</h3><ul><li>Speed matters.</li><li>Low-code development is preferred.</li><li>Business users are involved.</li><li>You need chatbots or copilots quickly.</li></ul><h3>Choose Azure AI Foundry when:</h3><ul><li>Flexibility matters.</li><li>Advanced AI capabilities are required.</li><li>Developers need complete control.</li><li>Your solution involves RAG, fine-tuning, or multiple AI agents.</li></ul><h3>Final Thoughts</h3><p>There is no “better” platform.</p><p>They serve different purposes.</p><p><strong>Copilot Studio focuses on simplicity and speed.</strong></p><p><strong>Azure AI Foundry focuses on flexibility and advanced AI development.</strong></p><p>And in many real-world scenarios, the best answer isn’t choosing one over the other — it’s using both together.</p><blockquote><strong><em>Copilot Studio helps you build AI experiences quickly. Azure AI Foundry helps you build intelligent systems at scale.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c179c691eaa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Using RAG for Structured Data: Let PostgreSQL Do the Retrieval]]></title>
            <link>https://medium.com/@aryanverma4523/stop-using-rag-for-structured-data-let-postgresql-do-the-retrieval-50f8376e6a9c?source=rss-260413334460------2</link>
            <guid isPermaLink="false">https://medium.com/p/50f8376e6a9c</guid>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Aryan Verma]]></dc:creator>
            <pubDate>Fri, 05 Jun 2026 08:11:16 GMT</pubDate>
            <atom:updated>2026-06-05T08:11:16.192Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TSkSV_esU5B2sfTxa5ojaw.jpeg" /></figure><p><em>How we improved answer accuracy by letting the database find the facts and the LLM explain them.</em></p><p>Everyone building AI applications eventually runs into the same question:</p><blockquote><em>“How do I connect my LLM to business data?”</em></blockquote><p>The default answer today is usually RAG.</p><p>Store data in a vector database.<br>Retrieve relevant chunks.<br>Send them to the LLM.<br>Generate an answer.</p><p>For documents, PDFs, knowledge bases, and support articles, this works extremely well.</p><p>But when the data already lives in PostgreSQL, we found ourselves asking a different question:</p><p><strong>Why are we using semantic retrieval for data that already has a query language?</strong></p><p>That question led us to a much simpler architecture.</p><h3>The Problem with Structured Data and RAG</h3><p>Imagine a user asks:</p><blockquote><em>Which customers generated the highest revenue last quarter?</em></blockquote><p>A traditional RAG pipeline would try to:</p><ol><li>Convert records into embeddings.</li><li>Retrieve similar chunks.</li><li>Send those chunks to the model.</li><li>Ask the model to calculate the answer.</li></ol><p>The problem is that databases are already designed to answer questions like this.</p><p>Revenue calculations, aggregations, filtering, sorting, and joins are what SQL was built for.</p><p>Using embeddings to approximate a database query often introduces an unnecessary layer between the question and the source of truth.</p><h3>A Simpler Approach</h3><p>Instead of asking the LLM to answer directly, we changed its role.</p><p>The LLM became a translator.</p><p>The database remained the source of truth.</p><p>The flow became:</p><pre>User Question<br>      │<br>      ▼<br>Dynamic Context<br>      │<br>      ▼<br>LLM Generates SQL<br>      │<br>      ▼<br>Execute SQL in PostgreSQL<br>      │<br>      ▼<br>Return Results to LLM<br>      │<br>      ▼<br>Final Answer</pre><p>That’s it.</p><p>No vector search.</p><p>No chunk retrieval.</p><p>No embedding similarity.</p><p>Just natural language transformed into SQL.</p><h3>Step 1: Understanding the Question</h3><p>Suppose a user asks:</p><blockquote><em>Show me premium customers acquired this year.</em></blockquote><p>The first job of the model isn’t answering.</p><p>It’s understanding intent.</p><p>Using schema information and business definitions, the model determines:</p><ul><li>Which tables are relevant</li><li>Which filters are required</li><li>Which columns matter</li></ul><p>The prompt might contain simplified context like:</p><pre>customers<br>- id<br>- name<br>- segment<br>- created_at</pre><pre>Business Rules:<br>premium customers =&gt; segment=&#39;premium&#39;</pre><p>Now the model has enough context to generate a query.</p><h3>Step 2: Generating SQL</h3><p>The LLM converts the question into SQL:</p><pre>SELECT name<br>FROM customers<br>WHERE segment = &#39;premium&#39;<br>AND created_at &gt;= &#39;2026-01-01&#39;;</pre><p>Notice what’s happening here.</p><p>The model is not generating an answer.</p><p>It’s generating a request for data.</p><p>That’s a much safer task.</p><h3>Step 3: Let PostgreSQL Do Its Job</h3><p>Once the SQL is generated, PostgreSQL takes over.</p><p>The database executes the query and returns actual rows.</p><pre>[<br>  {<br>    &quot;name&quot;: &quot;Acme Corp&quot;<br>  },<br>  {<br>    &quot;name&quot;: &quot;Northwind&quot;<br>  }<br>]</pre><p>At this point, accuracy no longer depends on the model.</p><p>The data comes directly from the source of truth.</p><h3>Step 4: Give the Results Back to the LLM</h3><p>Now the LLM gets something very different.</p><p>Instead of receiving a vague question, it receives verified data.</p><p>The prompt becomes:</p><pre>User Question:<br>Show me premium customers acquired this year.</pre><pre>Database Results:<br>Acme Corp<br>Northwind</pre><pre>Answer using only the provided results.</pre><p>The model’s responsibility is now simple:</p><p>Turn data into language.</p><p>A response might look like:</p><blockquote><em>I found two premium customers acquired this year: Acme Corp and Northwind.</em></blockquote><p>The model isn’t inventing facts.</p><p>It’s explaining facts.</p><h3>Why Accuracy Improves</h3><p>The biggest improvement comes from separating responsibilities.</p><h3>The LLM understands intent</h3><p>Humans don’t speak SQL.</p><p>The model bridges that gap.</p><h3>PostgreSQL retrieves facts</h3><p>Databases are optimized for filtering, joins, aggregations, and counting.</p><h3>The LLM explains results</h3><p>Humans don’t want raw rows.</p><p>They want answers.</p><p>Each component focuses on what it does best.</p><h3>Why This Matters for Analytics</h3><p>Consider questions like:</p><ul><li>What was total revenue last month?</li><li>Which region had the highest growth?</li><li>How many active customers do we have?</li><li>What are the top-selling products?</li></ul><p>These are fundamentally database questions.</p><p>Trying to answer them through semantic retrieval often introduces unnecessary complexity.</p><p>A single SQL query can answer them exactly.</p><h3>Dynamic Context Makes It Work</h3><p>The key enabler is dynamic context.</p><p>The model doesn’t need to know your schema beforehand.</p><p>For each request, we provide:</p><ul><li>Table names</li><li>Column descriptions</li><li>Relationships</li><li>Business definitions</li></ul><p>That gives the model enough information to generate useful SQL without hardcoding every possible query.</p><p>As the schema evolves, the context evolves with it.</p><p>The workflow stays the same.</p><h3>The Real Shift</h3><p>Most AI systems are built around the idea that:</p><blockquote><em>The model should find the answer.</em></blockquote><p>We found better results with a different mindset:</p><blockquote><em>The model should find the question that the database needs answered.</em></blockquote><p>That’s a subtle difference, but it changes everything.</p><p>The database becomes responsible for truth.</p><p>The model becomes responsible for translation.</p><h3>Final Thoughts</h3><p>RAG is an incredible pattern for unstructured information.</p><p>But structured data already has a retrieval engine:</p><p>SQL.</p><p>Instead of embedding every row and hoping semantic search returns the right records, we let PostgreSQL retrieve the facts directly.</p><p>The architecture became surprisingly simple:</p><pre>Natural Language<br>       ↓<br>SQL<br>       ↓<br>PostgreSQL<br>       ↓<br>Verified Results<br>       ↓<br>LLM Explanation</pre><p>Sometimes the most effective AI architecture isn’t adding another layer.</p><p>It’s letting each system do the job it was originally designed to do.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50f8376e6a9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building AI Solutions Is Not About Choosing a Model: Lessons From My Journey with RAG, Copilot…]]></title>
            <link>https://medium.com/@aryanverma4523/building-ai-solutions-is-not-about-choosing-a-model-lessons-from-my-journey-with-rag-copilot-5cf0b6224431?source=rss-260413334460------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cf0b6224431</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[rags]]></category>
            <category><![CDATA[microsoft-copilot-studio]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Aryan Verma]]></dc:creator>
            <pubDate>Fri, 29 May 2026 07:19:20 GMT</pubDate>
            <atom:updated>2026-05-29T07:19:20.116Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building AI Solutions Is Not About Choosing a Model: Lessons From My Journey with RAG, Copilot Studio, Power Automate, and Azure AI Foundry</h3><p>Over the last few months, I’ve spent a significant amount of time exploring Microsoft’s AI ecosystem — from Retrieval-Augmented Generation (RAG) and Azure AI Foundry to Copilot Studio, Power Automate, and Azure OpenAI.</p><p>As a Software Engineer with 3 years of experience, I initially approached AI the same way many developers do:</p><p>“Which model should I use?”</p><p>GPT-4?<br>GPT-4o?<br>A smaller model?<br>An open-source model?</p><p>But after working on different AI solutions, I realized I was asking the wrong question.</p><p>The real challenge isn’t selecting a model.</p><p>The real challenge is designing an end-to-end solution that solves a business problem.</p><p>And that’s where things become interesting.</p><h3>The Biggest Misconception About AI</h3><p>When people first explore AI, they often focus on prompts, models, and chat interfaces.</p><p>But in real-world applications, AI is only one piece of the puzzle.</p><p>A successful AI solution requires:</p><ul><li>Reliable data</li><li>Context retrieval</li><li>Workflow automation</li><li>Security and governance</li><li>User experience</li><li>Monitoring and evaluation</li></ul><p>Without these pieces, even the most powerful model can produce poor results.</p><p>This realization completely changed how I approach AI projects.</p><h3>Problem #1: AI Doesn’t Know Your Organization’s Knowledge</h3><p>One of the first challenges I encountered was something many teams face.</p><p>Large Language Models are incredibly capable, but they don’t automatically know:</p><ul><li>Internal documentation</li><li>Company policies</li><li>Business processes</li><li>Product information</li><li>Knowledge base articles</li></ul><p>This creates a gap between what the model knows and what users expect it to know.</p><p>That’s when I started exploring Retrieval-Augmented Generation (RAG).</p><p>Instead of relying solely on model training data, RAG allows applications to retrieve relevant information from trusted sources before generating a response.</p><p>Suddenly, AI responses became grounded in actual business knowledge rather than assumptions.</p><p>This was one of the first moments where AI started feeling practical instead of experimental.</p><p>In a future article, I’ll walk through how I built and evaluated RAG solutions, including some mistakes I made along the way.</p><h3>Problem #2: Building a Chatbot Is Easier Than Building a Useful Copilot</h3><p>At first glance, creating a chatbot seems straightforward.</p><p>Connect a model.</p><p>Write a prompt.</p><p>Deploy.</p><p>Done.</p><p>Or so I thought.</p><p>What I quickly discovered was that users don’t just ask perfect questions.</p><p>They:</p><ul><li>Change topics unexpectedly</li><li>Ask follow-up questions</li><li>Provide incomplete information</li><li>Expect context awareness</li><li>Want actions, not just answers</li></ul><p>This is where Copilot Studio became particularly interesting.</p><p>Instead of focusing solely on prompts, I began thinking about:</p><ul><li>Conversation design</li><li>Knowledge integration</li><li>User journeys</li><li>Escalation paths</li><li>Action execution</li></ul><p>The challenge shifted from generating responses to creating meaningful interactions.</p><p>And that’s a very different problem.</p><p>I’ll be sharing more about my experiences with Copilot Studio in a dedicated article soon.</p><h3>Problem #3: AI Without Automation Has Limited Business Value</h3><p>One lesson stood out repeatedly.</p><p>Organizations rarely want AI just to answer questions.</p><p>They want AI to help complete work.</p><p>This is where Power Automate entered the picture.</p><p>Imagine a scenario where AI can:</p><ul><li>Read incoming requests</li><li>Extract key information</li><li>Route approvals</li><li>Generate summaries</li><li>Trigger notifications</li><li>Update systems automatically</li></ul><p>Now AI is no longer just a conversation tool.</p><p>It’s becoming part of a business process.</p><p>As I explored Power Automate alongside AI services, I started seeing how automation amplifies the value of AI solutions.</p><p>The most successful implementations often combined both.</p><h3>Problem #4: Managing AI Projects Becomes Complex Quickly</h3><p>Building a proof of concept is relatively easy.</p><p>Managing multiple models, prompts, environments, resources, and evaluations is not.</p><p>As my experiments grew, I started spending more time managing components than building features.</p><p>That’s where Azure AI Foundry became useful.</p><p>What I appreciated most was having a centralized environment for:</p><ul><li>Model management</li><li>Prompt testing</li><li>Project organization</li><li>Resource governance</li><li>Evaluation workflows</li></ul><p>Rather than jumping between multiple tools and services, I could keep AI development more structured and manageable.</p><p>For developers and teams working with multiple AI projects, this becomes increasingly important.</p><h3>What I Learned Along the Way</h3><p>After spending time with RAG, Azure AI Foundry, Copilot Studio, Power Automate, and Azure OpenAI, several lessons became clear.</p><h3>AI Is More About Architecture Than Prompts</h3><p>Prompt engineering matters.</p><p>But architecture decisions matter much more.</p><p>How data flows through the system often determines success more than the exact wording of a prompt.</p><h3>Business Context Is Everything</h3><p>A model without context can only go so far.</p><p>The ability to connect AI to trusted business knowledge is often where the real value lies.</p><h3>Automation Creates Impact</h3><p>Generating information is useful.</p><p>Automating actions based on that information is where organizations start seeing measurable results.</p><h3>Start Small and Iterate</h3><p>The best learning came from building small solutions, testing assumptions, and improving them incrementally.</p><p>Not from trying to build the perfect AI system on day one.</p><h3>What’s Next?</h3><p>This article is intentionally high level.</p><p>Over the coming weeks, I’ll be publishing deeper technical articles covering:</p><ul><li>Building RAG Applications with Azure AI Search and Azure OpenAI</li><li>Azure AI Foundry: Projects, Hubs, and Development Workflows</li><li>Creating Custom Copilots with Copilot Studio</li><li>Integrating AI with Power Automate</li><li>Lessons Learned from Real AI Implementations</li><li>Prompt Engineering and Evaluation Strategies</li></ul><p>The AI landscape is evolving rapidly, and I’m still learning every day.</p><p>But one thing has become clear:</p><p>Building successful AI solutions isn’t about finding the smartest model.</p><p>It’s about understanding the problem, designing the right architecture, and integrating AI into workflows that deliver real value.</p><p>That’s the journey I’m currently on, and I’m excited to share what I learn along the way.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cf0b6224431" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>