This project contains a set of samples that show how to use the OpenAI reference implementation in the Microsoft.Extensions.AI.OpenAI NuGet package.
- .NET 8 SDK
- Visual Studio or VS Code
- An Open AI API key. For more details, see the OpenAI documentation.
Example | Description |
---|---|
OpenAIExamples | 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. |
OpenAIWebAPI | A minimal Web API application that shows how to use the OpenAI reference implementation in the Microsoft.Extensions.AI.OpenAI NuGet package. |