/BlazorChatApp

An Azure OpenAI powered Blazor chat app

Primary LanguageHTMLMIT LicenseMIT

BlazorChatApp

This is a simple AI-powered Blazor chat app that uses Semantic Kernel with a custom plugin to enable the AI assistant to change the theme colors of the app.

Configure the Azure OpenAI backend

  1. Create and deploy an Azure OpenAI resource.

  2. This app uses the Azure Identity client library to authenticate with Azure OpenAI. Use Role-based access control to grant permissions to the appropriate identity or group to have access to the Azure OpenAI resource.

  3. Configure the deployment name and endpoint URL for your Azure OpenAI resource:

{
  "SmartComponents": {
    "DeploymentName": "<Azure OpenAI deployment name>",
    "Endpoint": "<Azure OpenAI endpoint URL>"
  }
}
  1. Run the app and start chatting with the AI assistant. Try asking the AI assistant to change the theme colors of the app.

Blazor chat app screenshot