Azure / awesome-azd

An awesome list that curates content (articles, videos, tutorials and docs) and templates (ready to use) for the Azure Developer CLI (`azd`). Plus a hosted azd-templates Gallery to simplify search & discovery
https://aka.ms/awesome-azd
MIT License
140 stars 69 forks source link

[New azd-template] Azure Cosmos DB for NoSQL + Azure OpenAI + Azure Container Apps #267

Closed seesharprun closed 6 months ago

seesharprun commented 6 months ago

New azd-template Submission

1. Description

This template provides an end-to-end example of an ASP.NET Blazor chat web application with data stored in Azure Cosmos DB for NoSQL and Azure OpenAI used for chat completion.

2. Author Information

3. Template Repo

https://github.com/azure-samples/chat-csharp-cosmos-db-nosql-openai

4. Link to PR where you made your repo azd compatible

Repo was built from the start with azd in mind.

5. Tags

6. Architecture Diagram or Application Screenshot

Screenshot of the running web application.

7. Additional info

Here's the JSON I put together for the template:

{
  "title": "ASP.NET Blazor chat application with Azure Cosmos DB for NoSQL, Azure Container Apps, and Azure OpenAI", 
  "description": "A sample sample chat application deployed to Azure Container Apps that answers questions from the user and tracks chat history across conversations. Chat sessions and history is stored in Azure Cosmos DB for NoSQL and chat completions are provided by Azure OpenAI.",
  "preview": "./templates/images/test.png",
  "website": "https://learn.microsoft.com/azure/cosmos-db/",
  "author": "Azure Cosmos DB Content Team",
  "source": "https://github.com/Azure-Samples/chat-csharp-cosmos-db-nosql-openai",
  "tags": ["bicep", "aca", "dotnetCsharp", "ai", "openai", "chatgpt", "new", "cosmosdb", "msft"]
}

The template also has a prebuilt devcontainer image that's compatible with GitHub Codespaces. This should reduce friction in using it.

gkulin commented 6 months ago

Thank you for your contribution, Sidney! Marina opened a pr for this template #271 and it was just merged!

In the future, you can open a pr for templates you'd like to contribute to help us review your contribution even quicker!