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".
Target: Cloud, operations & security. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Azure.AI.OpenAI (.NET)
- Installation
- Environment Variables
- Client Hierarchy
- Authentication
- API Key Authentication
- Microsoft Entra Token Credential
- Using OpenAI SDK Directly with Azure
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 | 1. Use Entra ID in production — Avoid API keys; use DefaultAzureCredential 2. Reuse client instances — Create once, share across requests 3. Handle rate limits — Implement exponential backoff for 429 errors 4. Stream for long responses — Use CompleteChatStreamingAsync for better UX 5. Set appropriate timeouts — Long completions may ne
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- microsoft/skills
- Source file
- .github/plugins/azure-sdk-dotnet/skills/azure-ai-openai-dotnet/SKILL.md
- Fixed revision
- 9287b443662d2433c85621c7325ee72a0ce499b5
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:05.976Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.