azure-ai-openai-dotnet
仓库创建 2026年1月17日最近提交 20 天前SkillHot 收录 20 天前
▸ 精选理由
对接 GPT、DALL·E、Whisper 等模型,适合多模态开发者。
▸ 风险提示
需配置密钥/订阅并外发请求,存在凭据与调用成本风险。
这个 Skill 做什么
在 .NET 中访问 Azure/OpenAI 模型,支持聊天、嵌入、图像和语音等功能。
在 .NET 环境里接入 Azure OpenAI / OpenAI 的客户端库,支持 chat completion、embeddings、DALL‑E 图像和 Whisper 语音等功能。适合在 C#/.NET 应用中调用 GPT、做向量检索或音视频处理时使用。重点是提供工程级的接入示例和 Azure 特有的配置说明。
▸ 展开 SKILL.md 英文原文
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".
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-openai-dotnet/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-ai-openai-dotnet/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# 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 ```bash dotnet add package Azure.AI.OpenAI # For OpenAI (non-Azure) compatibility dotnet add package OpenAI ``` **Current Version**: 2.1.0 (stable) ## Environment Variables ```bash 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 produc
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有