azure-ai-openai-dotnet

Enable .NET applications to access Azure OpenAI chat, embeddings, and audio services.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-openai-dotnet-davidrrowley
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-ai-openai-dotnet
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-ai-openai-dotnet
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-ai-openai-dotnet-davidrrowley

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a clear, production-ready integration path for .NET applications to use Azure OpenAI capabilities so developers can add chat, embeddings, image generation, transcription, and assistant workflows without reinventing client logic.

Core Features & Use Cases

  • Chat Completions & Streaming: Synchronous and streaming chat responses for conversational agents and interactive UIs.
  • Embeddings & RAG: Generate embeddings for semantic search and integrate with Azure Cognitive Search for retrieval-augmented generation.
  • Image & Audio: Create images (DALL·E), transcribe audio (Whisper), and synthesize speech for multimodal applications.
  • Function Calling & Assistants: Define tools/functions, handle tool calls, and run Assistants API workflows for structured automation.
  • Use Case: Ideal for customer support bots, knowledge base search augmentation, content generation pipelines, and automated transcription services.

Quick Start

Create an Azure OpenAI client with your endpoint and credential, then ask it to produce a concise three-sentence summary of the input text.

Frequently Asked Questions about azure-ai-openai-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate Azure OpenAI chat completions into a .NET application?

Azure OpenAI chat completions integrate into .NET by creating a client with your endpoint and credential, then requesting responses for conversational agents. Synchronous and streaming responses are supported for interactive UIs and backend services.

Can I use Microsoft Entra ID for authentication with Azure OpenAI in dotnet?

Microsoft Entra ID authentication is supported for Azure OpenAI in dotnet alongside API key authentication. Client reuse patterns accommodate both credential types, enabling secure access for enterprise applications and serverless functions.

What's the best way to implement retrieval-augmented generation with Azure Cognitive Search in dotnet?

Retrieval-augmented generation with Azure Cognitive Search in dotnet uses generated embeddings for semantic search. Integration combines embedding generation with search queries to augment knowledge base content for customer support bots.

Does Azure OpenAI support structured JSON schema outputs and function calling in dotnet?

Azure OpenAI supports structured JSON schema outputs and function calling in dotnet. Developers can define tools and functions, handle tool calls, and run Assistants API workflows for structured automation within .NET applications.

Can I generate images and transcribe audio using Azure OpenAI in a dotnet app?

Azure OpenAI enables image generation with DALL·E and audio transcription with Whisper in dotnet apps. These multimodal capabilities support content generation pipelines and automated transcription services without custom client logic.

How do I stream chat responses from Azure OpenAI to a .NET desktop application?

Streaming chat responses from Azure OpenAI to a .NET desktop application use the client's streaming chat completions feature. This delivers real-time conversational agent responses by processing tokens incrementally as they arrive from the service.