Gaurav Mantri's Personal Blog.

Azure Sidekick – An AI Assistant to Answer Questions About Your Azure Resources (Part III – Lessons Learned)

Best way to learn a new technology is by building something (regardless of how big or small it is) with it. This was my primary intent behind building Azure Sidekick. I had so much fun building this and learnt a lot of things along the way. Not only I learnt more about Microsoft Semantic Kernel … [Read more...]

Azure Sidekick – An AI Assistant to Answer Questions About Your Azure Resources (Part II – Prompt Patterns & More)

In my previous post about Azure Sidekick, I gave a general introduction about the tool and its capabilities. If you have not read that post so far, I would strongly encourage you to read that first. You can read that post here. In this post, I will talk about the general flow of the application, … [Read more...]

Azure Sidekick – An AI Assistant to Answer Questions About Your Azure Resources (Introduction)

I am pleased to present to you Azure Sidekick, an AI assistant that can answer questions about the resources running in your Azure Subscriptions. Unlike my other posts which are quite code heavy, in these series of posts about this tool, I will take you through the journey I undertook while … [Read more...]

Microsoft Semantic Kernel – Some Tips & Tricks To Get Prompt & Completion Tokens

In my previous post, I talked about how you can get rendered prompts. In this post, I am going to talk about ways to get prompt and completion tokens when using Microsoft Semantic Kernel. What are Tokens? Let's first begin with what tokens really are. In very simple terms, a token is the … [Read more...]

Microsoft Semantic Kernel – Some Tips & Tricks To Get Rendered Prompts

When you start building a new AI application, most likely you start with a very simple prompt where you write everything you need to do in that prompt only. However, as the application grows, you write more prompts and that's when you start templatizing your prompts by extracting things that are … [Read more...]

Writing prompts is hard. Luckily, there’s an easy way out!

In any Generative AI application, prompts are the heart and soul of the application. To get the most out of an LLM, every Gen AI developer must write effective prompts. Problem But writing prompts is hard! Believe me, it is hard :). In fact, if you want to torture a developer, ask them to … [Read more...]

Using OpenAI Function Calling with Microsoft Semantic Kernel

In this post we are going to see how we can use OpenAI's Function Calling feature with Microsoft Semantic Kernel. Context To explain the concepts in this post, let's set the context. Let's say that you are building an AI application that helps users answer basic questions about Maths (e.g. … [Read more...]

Prompt Patterns Every Generative AI Developer Must Know

In this post we will talk about some of patterns that you should know in order to write effective prompts. This is in continuation with my previous post about Prompts and Prompt Engineering. If you have not done so, I would strongly encourage you to read that post before continuing with this … [Read more...]

Generative AI – All About Prompts

In this short post, we will talk about prompts. We will talk about what prompts are, prompt engineering and why it is such a big deal. We will also briefly talk about prompt patterns. So let's begin! Prompts In very simple terms, prompts are inputs to a large language model (LLM). Based on … [Read more...]

Azure Docs Copilot – A Generative AI App for Searching Azure Documentation

Recently I have been spending a good amount of time reading about Generative AI. I shared the list of resources I used here. To me, the best way to learn a new technology is to build something using that technology. Azure Docs Copilot is my attempt at applying my learnings about this incredible … [Read more...]