Thanks to visit codestin.com
Credit goes to officialskills.sh

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-ai-openai-dotnet
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-openai-dotnet
View on GitHub

What This Skill Does

Azure.AI.OpenAI is the official .NET client library for Azure OpenAI Service. It provides access to GPT-4, embeddings, DALL-E, and Whisper through a typed C# API. Supports both Azure-hosted deployments and direct OpenAI compatibility.

Using this SDK instead of raw HTTP calls gives you typed request/response models, built-in streaming support, and DefaultAzureCredential integration, cutting out manual auth and JSON parsing boilerplate.

When to use it

  • Sending chat completions to a GPT-4o deployment from a C# backend
  • Generating text embeddings for a vector search index in .NET
  • Transcribing audio files using Whisper via an Azure-managed endpoint
  • Calling DALL-E 3 to generate images from within an ASP.NET application
  • Wiring up function calling so a .NET service can invoke local methods from model responses