Guided project - Build a chat bot using Azure OpenAI, Azure Cosmos DB for NoSQL, and Blazor

Beginner
Developer
Azure Cosmos DB
Azure OpenAI Service
Blazor

Connect an existing Blazor web application to Azure Cosmos DB for NoSQL and Azure OpenAI using their .NET software development kits. Your code manages and queries items in an API for NoSQL container. Your code also sends prompts to Azure OpenAI and parses the responses.

Note

This module is a Guided Project where you complete an end-to-end project by following step-by-step instructions.

Learning objectives

In this module, you practice how to:

  • Connect to an Azure OpenAI account using the .NET SDK.
  • Send prompts to a model deployment and parse the responses.
  • Connect to an Azure Cosmos DB for NoSQL account using the .NET SDK.
  • Create, update, query, and delete items in an API for NoSQL container.

Prerequisites

  • Azure subscription

  • GitHub account

  • Azure OpenAI access

  • Ability to execute scripts with Azure CLI

  • Ability to deploy templates using Azure Resource Manager

  • Experience with Azure Cosmos DB concepts such as databases, containers, and items

  • Experience with Azure OpenAI concepts such as models, deployments, and prompts

  • Experience writing queries for Azure Cosmos DB for NoSQL

  • Ability to write C# at an intermediate level

  • Experience running ASP.NET web applications

  • Experience running Blazor web applications