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...]
Keeping Your Azure OpenAI App Running Smoothly During Service Interruptions
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...]
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...]
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...]
Comparing Azure Storage Blob Versions and Snapshots
Recently Azure Storage team announced the availability of blob versions. A blob version essentially represents the state of a blob (in terms of content, properties and metadata etc.) at a particular point of time. Azure Storage automatically creates a new version of a blob whenever it is modified or … [Read more...]
Avoiding “AuthorizationFailed” error when hand-crafting Shared Access Signature for Azure Storage
I've been quite active on Stack Overflow answering a lot of Azure related questions (mostly around Azure Storage). One thing I noticed there is that there are a lot of folks running into issues when they're trying to write code themselves for creating Shared Access Signature. Most of the errors they … [Read more...]
Azure Cosmos DB and Node SDK – Part III: Working with Documents
In the previous posts in this series, we saw how you can work with databases and containers in Cosmos DB using their Node SDK. You can read those posts here: Part I: Working with databases: https://gauravmantri.com/2019/06/04/cosmos-db-and-node-sdk-working-with-databases/Part II: Working with … [Read more...]
Cosmos DB and Node SDK – Part II: Working with Containers
In the previous post, we saw how we can use Node SDK for Cosmos DB to work with databases. You can read that post here: https://gauravmantri.com/2019/06/04/cosmos-db-and-node-sdk-working-with-databases/. In this post, we will see how we can manage containers in a Cosmos DB database using Node … [Read more...]
Cosmos DB and Node SDK – Part I: Working with Databases
It has been a while that I wrote something :). There have been so many things I learnt in last few years and I wanted to share my learnings but one thing or other kept me away. I am hoping that I will be break this and post regularly going forward. With my work on Cerebrata Cerulean, I got an … [Read more...]
Oops! I Deleted My Blobs! What Can I Do?
Honestly, Nothing! But that’s before reading this post. After reading this post, you don’t have to worry about a thing. In this post we will talk about Soft Delete functionality recently announced by Azure Storage. This super cool functionality will protect your blobs against accidental (or … [Read more...]