https://github.com/IEvangelist/blazor-azure-openai
The Blazor WebAssembly app that inspired the Microsoft //Build 2023 demo app.
https://github.com/IEvangelist/blazor-azure-openai
azureai blazor blazor-webassembly csharp dotnet openai
Last synced: about 1 year ago
JSON representation
The Blazor WebAssembly app that inspired the Microsoft //Build 2023 demo app.
- Host: GitHub
- URL: https://github.com/IEvangelist/blazor-azure-openai
- Owner: IEvangelist
- License: mit
- Created: 2023-03-30T20:25:14.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T16:01:48.000Z (over 2 years ago)
- Last Synced: 2024-11-08T07:39:00.502Z (over 1 year ago)
- Topics: azureai, blazor, blazor-webassembly, csharp, dotnet, openai
- Language: C#
- Homepage: https://davidpine.net/blog/dotnet-async-enumerable/
- Size: 4.15 MB
- Stars: 96
- Watchers: 9
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Blazor 💜 OpenAI
[](#contributors-)
[](https://github.com/IEvangelist/blazor-azure-openai/actions/workflows/dotnet.yml)
[](https://github.com/IEvangelist/blazor-azure-openai/actions/workflows/localization.yml)
## Getting Started
> **Note**
> To run this example, you'll need an **Azure subscription with access enabled for the Azure OpenAI service**. You can request access [here](https://aka.ms/oaiapply). You can also visit [here](https://azure.microsoft.com/free/cognitive-search/) to get some free Azure credits to get you started.
This example relies on three environment variables:
```PowerShell
setx AzureOpenAI__ApiKey ""
setx AzureOpenAI__Endpoint ""
setx AzureOpenAI__DeploymentId ""
```
```bash
export AzureOpenAI__ApiKey=""
export AzureOpenAI__Endpoint=""
export AzureOpenAI__DeploymentId=""
```
## Home screen

## Voice chat screen

## Voice chat screen with navigation menu collapsed

## Text-to-speech preferences dialog displayed

## Example response text

## Example response text continued 2/4

## Example response text continued 3/4

## Example response text continued 4/4

## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

Hussein Beygi
💻 🤔
![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4?s=100)
github-actions[bot]
🌍 💻
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!