Microsoft.Extensions.AI - Azure OpenAI Examples
October 30, 2024 ยท View on GitHub
This project contains a set of samples that show how to use the OpenAI reference implementation in the Microsoft.Extensions.AI.OpenAI NuGet package with the Azure OpenAI service.
Prerequisites
- .NET 8 SDK
- Visual Studio or VS Code
- .NET 8 SDK
- Visual Studio or VS Code
- An Azure OpenAI Service resource with a chat completion and text embedding generation model deployments. For more details, see the Azure OpenAI resource deployment documentation .
Examples
| Example | Description |
|---|---|
| AzureOpenAIExamples | A console application containing a set of samples that shows how to use the OpenAI reference implementation in the Microsoft.Extensions.AI.OpenAI NuGet package with the Azure Open AI service. |
| AzureOpenAIWebAPI | A minimal Web API application that shows how to use the OpenAI reference implementation in the Microsoft.Extensions.AI.OpenAI NuGet package with the Azure Open AI service. |