OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add microsoft/skills --skill azure-ai-openai-dotnet
Azure OpenAI SDK for .NET. Client library for Azure OpenAI and OpenAI services. Use for chat completions, embeddings, image generation, audio transcription, and assistants. Triggers: "Azure OpenAI", "AzureOpenAIClient", "ChatClient", "chat completions .NET", "GPT-4", "embeddings", "DALL-E", "Whisper", "OpenAI .NET".
npx skills add microsoft/skills --skill azure-ai-openai-dotnet
Client library for Azure OpenAI Service providing access to OpenAI models including GPT-4, GPT-4o, embeddings, DALL-E, and Whisper.
Current Version: 2.1.0 (stable)
| Type | Purpose |
|---|---|
AzureOpenAIClient | Top-level client for Azure OpenAI |
ChatClient | Chat completions |
EmbeddingClient | Text embeddings |
ImageClient | Image generation (DALL-E) |
AudioClient | Audio transcription/TTS |
ChatCompletion | Chat response |
ChatCompletionOptions | Request configuration |
StreamingChatCompletionUpdate | Streaming response chunk |
ChatMessage | Base message type |
SystemChatMessage | System prompt |
UserChatMessage | User input |
AssistantChatMessage | Assistant response |
DeveloperChatMessage | Developer message (reasoning models) |
ChatTool | Function/tool definition |
ChatToolCall | Tool invocation request |
DefaultAzureCredentialCompleteChatStreamingAsync for better UXcompletion.Usage for cost management| SDK | Purpose | Install |
|---|---|---|
Azure.AI.OpenAI | Azure OpenAI client (this SDK) | dotnet add package Azure.AI.OpenAI |
OpenAI | OpenAI compatibility | dotnet add package OpenAI |
Azure.Identity | Authentication | dotnet add package Azure.Identity |
Azure.Search.Documents | AI Search for RAG | dotnet add package Azure.Search.Documents |
| Resource | URL |
|---|---|
| NuGet Package | https://www.nuget.org/packages/Azure.AI.OpenAI |
| API Reference | https://learn.microsoft.com/dotnet/api/azure.ai.openai |
| Migration Guide (1.0→2.0) | https://learn.microsoft.com/azure/ai-services/openai/how-to/dotnet-migration |
| Quickstart | https://learn.microsoft.com/azure/ai-services/openai/quickstart |
| GitHub Source | https://github.com/Azure/azure-sdk-for-net/tree/main/sdk/openai/Azure.AI.OpenAI |