azure-ai-openai-dotnet
Azure OpenAI SDK for .NET: chat completions, embeddings, image generation, audio transcription and assistants.
- Kind
- Skill
- Works with
- Claude Code
- Languages
- C# / .NET
- Source
- microsoft/skills @ 2130750147de
- Path
- .github/plugins/azure-sdk-dotnet/skills/azure-ai-openai-dotnet/SKILL.md
- Jobs
- Implementation
- Topics
- LLM apps & RAG, Voice & audio, Generation
Credit
- Made by
- microsoft
- Original
- github.com/microsoft/skills/blob/2130750147dee0311215099ddf36…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/azure-ai-openai-dotnet/ (the skill folder)
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- None found
- Needs secrets
- Yes
- AZURE_OPENAI_API_KEY
- AZURE_TOKEN_CREDENTIALS
- Reads environment variables
- AZURE_OPENAI_API_KEY
- AZURE_TOKEN_CREDENTIALS
- Source revision
- 2130750147de
- Licence
- MIT
- Last activity
- 26 Nov 2026
- Source changed after the scan
- Yes
- Last push 26 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Azure.AI.OpenAI (.NET) Client library for Azure OpenAI Service providing access to OpenAI models including GPT-4, GPT-4o, embeddings, DALL-E, and Whisper. ## Installation ```bash dotnet add package Azure.AI.OpenAI # For OpenAI (non-Azure) compatibility dotnet add package OpenAI ``` **Current Version**: 2.1.0 (stable) ## Environment Variables ```bash AZURE_OPENAI_ENDPOINT=https://<resource-name>.openai.azure.com # Required: Azure OpenAI endpoint AZURE_OPENAI_API_KEY=<api-key> # Only required for AzureKeyCredential auth AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4o-mini # Required: model deployment name AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production ``` ## Client Hierarchy ``` AzureOpenAIClient (top-level) ├── GetChatClient(deploymentName) → ChatClient ├── GetEmbeddingClient(deploymentName) → EmbeddingClient ├── GetImageClient(deploymentName) → ImageClient ├── GetAudioClient(deploymentName) → AudioClient └── GetAssistantClient() → AssistantClient ``` ## Authentication ### API Key Authentication ```csharp using Azure; using Azure.AI.OpenAI; AzureOpenAIClient client = new( …