Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"features": {
// Uncomment the below to install .NET SDK
"ghcr.io/devcontainers/features/dotnet:latest": {
"version": "6.0",
"additionalVersions": "7.0"
"version": "9.0"
},

// Uncomment the below to install Azure CLI
Expand Down
9 changes: 2 additions & 7 deletions .devcontainer/on-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ git config --global pull.rebase false
git config --global core.autocrlf input

## Install dev certs
dotnet tool update -g linux-dev-certs
dotnet linux-dev-certs install
dotnet dev-certs https --trust

## Add .NET Aspire workload
sudo dotnet workload update && sudo dotnet workload install aspire
sudo dotnet workload uninstall aspire && sudo dotnet new install Aspire.ProjectTemplates

# D2Coding Nerd Font
# Uncomment the below to install the D2Coding Nerd Font
Expand All @@ -27,10 +26,6 @@ rm D2Coding.zip
# Uncomment the below to install Azure Bicep CLI.
az bicep install

## GitHub Copilot CLI ##
# Uncomment the below to install Azure Bicep CLI.
gh extension install github/gh-copilot

## AZURE DEV CLI ##
# Uncomment the below to install Azure Dev CLI. Make sure you have installed Azure CLI and GitHub CLI
curl -fsSL https://aka.ms/install-azd.sh | bash
Expand Down
58 changes: 29 additions & 29 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AspireVersion>8.2.1</AspireVersion>
<AzureOpenAIVersion>2.*-*</AzureOpenAIVersion>
<AspNetCoreVersion>8.*</AspNetCoreVersion>
<MicrosoftExtensionsVersion>8.*</MicrosoftExtensionsVersion>
<OpenTelemetryExporterVersion>1.*</OpenTelemetryExporterVersion>
<OpenTelemetryExtensionsVersion>1.*</OpenTelemetryExtensionsVersion>
<OpenTelemetryInstrumentationVersion>1.*</OpenTelemetryInstrumentationVersion>
<SwashbuckleVersion>6.*</SwashbuckleVersion>
<SystemTextJsonVersion>8.*</SystemTextJsonVersion>
<FluentUIVersion>4.*</FluentUIVersion>
<CoverletVersion>6.*</CoverletVersion>
<FluentAssertionsVersion>6.*</FluentAssertionsVersion>
<MicrosoftTestSdkVersion>17.*</MicrosoftTestSdkVersion>
<NSubstituteVersion>5.*</NSubstituteVersion>
<NUnitVersion>4.*</NUnitVersion>
<PlaywrightVersion>1.*</PlaywrightVersion>
<XunitVersion>2.*</XunitVersion>
</PropertyGroup>
</Project>
<Project>
<!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>latest</LangVersion>

<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<AspireVersion>8.2.1</AspireVersion>
<AzureOpenAIVersion>2.*-*</AzureOpenAIVersion>
<AspNetCoreVersion>8.*</AspNetCoreVersion>
<MicrosoftExtensionsVersion>8.*</MicrosoftExtensionsVersion>
<OpenTelemetryExporterVersion>1.*</OpenTelemetryExporterVersion>
<OpenTelemetryExtensionsVersion>1.*</OpenTelemetryExtensionsVersion>
<OpenTelemetryInstrumentationVersion>1.*</OpenTelemetryInstrumentationVersion>
<SwashbuckleVersion>6.*</SwashbuckleVersion>
<SystemTextJsonVersion>8.*</SystemTextJsonVersion>
<FluentUIVersion>4.*</FluentUIVersion>

<CoverletVersion>6.*</CoverletVersion>
<FluentAssertionsVersion>6.*</FluentAssertionsVersion>
<MicrosoftTestSdkVersion>17.*</MicrosoftTestSdkVersion>
<NSubstituteVersion>5.*</NSubstituteVersion>
<NUnitVersion>4.*</NUnitVersion>
<PlaywrightVersion>1.*</PlaywrightVersion>
<XunitVersion>2.*</XunitVersion>
</PropertyGroup>
</Project>
File renamed without changes.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Azure OpenAI Service Proxy
# AI Open Chat Playground

This provides a proxy server application of Azure OpenAI Service API that round-robins multiple Azure OpenAI Service instances.
This provides a web UI for AI chat playground that is able to connect virtually any LLM from any platform.

## Prerequisites

- [Azure Subscription](https://azure.microsoft.com/free)
- [Azure OpenAI Subscription](https://aka.ms/oai/access)
- [.NET SDK 8.0.300+](https://dotnet.microsoft.com/download/dotnet/8.0) + [Aspire workload](https://learn.microsoft.com/dotnet/aspire/fundamentals/setup-tooling)
- [Visual Studio 2022 17.10+](https://visualstudio.microsoft.com/vs/) or [Visual Studio Code](https://code.visualstudio.com/) + [C# DevKit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit)
- [.NET SDK 9](https://dotnet.microsoft.com/download/dotnet/9.0)
- [Visual Studio Code](https://code.visualstudio.com/) + [C# DevKit](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit)
- [Docker Desktop](https://docs.docker.com/desktop/) or [Podman](https://podman.io/docs/installation)
- [PowerShell 7.4+](https://learn.microsoft.com/powershell/scripting/install/installing-powershell)
- [Azure Developer CLI](https://learn.microsoft.com/azure/developer/azure-developer-cli/install-azd)
Expand Down Expand Up @@ -45,7 +43,7 @@ This provides a proxy server application of Azure OpenAI Service API that round-
1. Fork this repository to your account and clone the forked repository to your local machine.

```bash
gh repo fork aliencube/azure-openai-sdk-proxy --clone --default-branch-only
gh repo fork aliencube/open-chat-playground --clone --default-branch-only
```

1. Run the following commands in order to provision and deploy the app.
Expand Down