Skip to main content
backgroundImage
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 open
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
New to Azure?Get $200 in credits when you sign up for an Azure free account. Credits can be used on most Azure services, including for AI app templates. Try Azure for free open
checkMarkSign up for an Azure account.
checkMarkRequest access to Azure OpenAI Service.
checkMarkHave the Azure permissions required to deploy.
Architecture
architecture diagram
Resources includedThis template deploys the following resources.
Resource
Description
Category
Azure AI Services
Azure AI ServicesAzure
Add cognitive capabilities to apps with APIs and AI services.Mobile
Azure Container Apps
Azure Container AppsAzure
Build and deploy modern apps and microservices using serverless containers.Compute
Azure OpenAI Service
Azure OpenAI ServiceAzure
Apply advanced coding and language models to a variety of use cases.AI + Machine Learning
Summary
CalendarLast updated
CodeLanguages
.NET/C#
CubeModels
GPT-4 Omni
TagTags
Completions
Azure Container Apps
Azure OpenAI Service
Azure AI Services
Azure Managed Identities
GPT-4 Omni
Calculator
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.