While you are writing PowerShell modules, with lot with parameters and you might want to verify these parameters are not ‘null’ to validate some business cases. In normal powershell inline scripting context, $variablename -eq “$null” would work : if ($varibalename -eq $null) { Write-Host "variable is null.Please supply the values for variablename." } RECOMMENDED APPROACH: […]
Read more →Search Results for: name
Query Routing: Intelligent Request Distribution for Cost-Efficient AI Systems
Introduction: Not all queries are equal—some need fast, cheap responses while others require deep reasoning. Query routing intelligently directs requests to the right model, index, or processing pipeline based on query characteristics. Route simple factual questions to smaller models, complex reasoning to GPT-4, and domain-specific queries to specialized indexes. This approach optimizes both cost and […]
Read more →Azure Cosmos DB – Programatically Connect to a preferred location using the SQL API
Cosmos Db is a multi-region scallable, globally-distributed database solution as part of Microsoft Azure Platform. With a button click, Azure Cosmos DB enables you to elastically and independently scale throughput and storage across any number of Azure’s geographic regions. It offers throughput, latency, availability, and consistency guarantees with comprehensive service level agreements (SLAs), that no […]
Read more →[NPM Tip] Error: self signed certificate in certificate chain
As a developer, if you are behind a corporate proxy that assigns an intermediatory self signed SSL certificate to every request to provide secure content filtering as part of cybersecurity measures, I am sure you might have gone through the pain to get it working when working with NodeJS. if you have Admin access to […]
Read more →WordPress Blog in Azure App Service In Minutes–Part 02 (Configuring WordPress)
In the last part of this series, we experienced how to create a new wordpress blog instance in Azure App Service. In this part we will learn, how to configure your wordpress instance for publishing. Now that we have WordPress instance deployed in Azure App Service, lets expore the app service instance a bit. Step […]
Read more →WordPress Blog in Azure App Service In Minutes–Part 01
All my life I have been a tech saavy person would make my hands dirty trying out all odds available. Here I am going to help you with setting up your own WordPress Blog in Azure App Service. SPOILER ALERT: We will be using a B1 – Basic instance to save the cost. Step 1: […]
Read more →