skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

azure-ai-openai-dotnet

GPT-4, embeddings, DALL-E, and Whisper client

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/microsoft/skills --skill azure-ai-openai-dotnet

Overview

What This Skill Does

Azure.AI.OpenAI is the official .NET client library for Azure OpenAI Service. It provides access to GPT-4, embeddings, DALL-E, and Whisper through a typed C# API. Supports both Azure-hosted deployments and direct OpenAI compatibility.

Application

When to use this Skill

Documentation

Show Skills.md file

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

dotnet add package Azure.AI.OpenAI

# For OpenAI (non-Azure) compatibility
dotnet add package OpenAI

Current Version: 2.1.0 (stable)

Environment Variables

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

Lines 1 - 25 of 456

Recommendations

Explore other random skills

All skillsMy patterns