Azure AI OpenAI for .NET

•
1
•

Integrates Azure OpenAI and OpenAI services into .NET applications using official SDK patterns for chat, embeddings, and more.

This skill provides a comprehensive implementation guide for the Azure.AI.OpenAI .NET client library, enabling developers to build sophisticated AI-driven applications. It covers essential patterns for chat completions (including GPT-4o and o1 reasoning models), structured JSON outputs, image generation with DALL-E 3, and audio processing via Whisper. By standardizing authentication through Microsoft Entra ID and providing robust error-handling templates, this skill helps .NET developers move from prototyping to production-ready AI solutions while following Microsoft's best practices.

Key Features

01Unified client for Azure OpenAI and OpenAI service endpoints
02Support for advanced chat features like streaming, tools, and structured outputs
03Production-grade authentication patterns using DefaultAzureCredential
04Integrated Retrieval-Augmented Generation (RAG) patterns with Azure AI Search
05Multi-modal capabilities including DALL-E 3 image generation and Whisper audio transcription
061 GitHub stars

Use Cases

01Automating document processing using embeddings and structured JSON extraction
02Implementing server-side image and audio generation within .NET microservices
03Building enterprise-grade C# chatbots with integrated search capabilities