Gaurav Mantri's Personal Blog.

Archives for 2024

Keeping Your Azure OpenAI App Running Smoothly During Service Interruptions

In this post, I’ll walk you through a simple yet effective approach we use at Purple Leaf to ensure our application stay online, even when Azure OpenAI service faces throttling or downtime. By deploying Azure OpenAI in multiple regions and implementing a smart failover strategy, we’re able to … [Read more...]

Is SaaS Dead? I Don’t Think So!

Writing software has become incredibly easy today, thanks to the proliferation of AI-powered code-generation tools like GitHub Copilot, Kursor, Vercel's V0, and GPT Engineer. Combine that with the rise of low-code/no-code platforms, and it's no surprise that debates about the future of … [Read more...]

Smart To-Do Creator: Combining the ease of Azure Logic Apps and the power of Generative AI

In this post, I am going to talk about how I built a smart to-do creator using Azure Logic Apps and Generative AI (Azure OpenAI service). I recently took a course of LinkedIn Learning about Azure Logic Apps (called Azure Logic Apps - Building solutions for data and integration) and thought I would … [Read more...]

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...]