
OpenAI chat with .NET Aspire and Microsoft.Extensions.AI
azd init -t ai-chat-aspire-meai-csharp
Use the Azure Developer CLI (azd) to deploy this template. Learn more about azd 
or
About this templateA C#/.NET chat application using .NET Aspire and the Microsoft.Extensions.AI library with OpenAI. It uses managed identity for Azure OpenAI access
Prerequisites
Sign up for an Azure account.
Request access to Azure OpenAI Service.
Have the Azure permissions required to deploy.
Architecture
Resources includedThis template deploys the following resources.
Azure AI ServicesAzure | Add cognitive capabilities to apps with APIs and AI services. | Mobile |
Azure Container AppsAzure | Build and deploy modern apps and microservices using serverless containers. | Compute |
Azure OpenAI ServiceAzure | Apply advanced coding and language models to a variety of use cases. | AI + Machine Learning |
Summary
Created by
Last updated
Languages
Models
Tags
.NET/C#
GPT-4 Omni
Completions
Azure Container Apps
Azure OpenAI Service
Azure AI Services
Azure Managed Identities
GPT-4 Omni
You're only charged when you deploy to Azure. You can try this template locally or in VS Code for the Web at no cost.