Posts

ASP.NET Core Blazor Server Application: Creating Prompt Based Chart Generator for Northwind Database

Image
In this article we will implement a NorthwindReporter,  an ASP.NET Core 10 Blazor Server application that lets an end user type a natural-language reporting request (for example, “Regionwise sales” or “Top 5 products by revenue” ), pick a chart type, and get back: A Chart.js visualization rendered in the browser canvas. The raw rows of the result in an HTML data table . The actual SQL the LLM produced, so it is transparent. The reporting engine uses a local Ollama install with the llama3.2 model to translate the English prompt into a single read-only SELECT , a safety validator to make sure that is all it is, and a repository that runs it against a SQL Server “Northwind” database. Workflow Diagram The picture below summarizes how a request flows through the components. Four numbered arrows mark the main hops of one Generate click — each is explained right after the picture. The four numbered steps in the diagram ...

.NET9: Building a Multi-Agent AI Investment Advisor with .NET and Microsoft.Extensions.AI

Image
AI is no longer just about chatbots that answer questions. The new frontier is Agentic AI — systems where an AI model can reason, plan, call tools, and coordinate with other AI agents to accomplish complex goals autonomously. Microsoft has made this remarkably easy in .NET through the Microsoft.Extensions.AI library. In this article we build InvestIQ , a console application that acts as a personal Indian investment advisor. A user types their financial details in plain English and gets back a tailored investment plan — all powered by a local LLM running in Ollama, orchestrated through three specialist AI agents. Disclaimer:  InvestIQ provides AI-generated information for educational and demonstration purposes only. It is not financial advice. Always consult a registered investment advisor before making any investment decisions. 1. What is the Microsoft Agentic Framework? The term Agentic Framework refers to the set of patterns, abstractions, and...