This provides a proxy server application of Azure OpenAI Service API that round-robins multiple Azure OpenAI Service instances.
- .NET SDK 8.0.100 or later + Aspire workload
- Visual Studio 2022 17.9+ or Visual Studio Code + C# DevKit
- Azure Subscription
- Azure OpenAI Subscription
- Run PowerShell script to prepare AOAI instance locations and models –
ADA
,GPT 3.5 Turbo 16K
,GPT 4 32K
andDALL-E 3
.
$RESOURCE_GROUP_LOCATION = "{{ RESOURCE_GROUP_LOCATION }}"
$AZURE_ENV_NAME = "{{ AZURE_ENVIRONMENT_NAME }}"
# Text embedding with Ada
./biceps/Get-OpenAILocations.ps1 -ResourceGroupLocation $RESOURCE_GROUP_LOCATION -AzureEnvironmentName $AZURE_ENV_NAME -ModelName "text-embedding-ada-002" -ModelVersion "2"
# GPT 3.5 Turbo 16K
./biceps/Get-OpenAILocations.ps1 -ResourceGroupLocation $RESOURCE_GROUP_LOCATION -AzureEnvironmentName $AZURE_ENV_NAME -ModelName "gpt-35-turbo-16k" -ModelVersion "0613"
# GPT 4 32K
./biceps/Get-OpenAILocations.ps1 -ResourceGroupLocation $RESOURCE_GROUP_LOCATION -AzureEnvironmentName $AZURE_ENV_NAME -ModelName "gpt-4-32k" -ModelVersion "0613"
# DALL-E 3.0
./biceps/Get-OpenAILocations.ps1 -ResourceGroupLocation $RESOURCE_GROUP_LOCATION -AzureEnvironmentName $AZURE_ENV_NAME -ModelName "dall-e-3" -ModelVersion "3.0"
-
azd init
-
azd provision
-
azd pipeline config
-
Set-GitHubActionsVariables.ps1
-
Run-PostProvision.ps1
-
azd deploy
-
Create a new event
-
Create a new access code that belongs to the event
-
azd down
-
Purge-CognitiveServices.ps1