diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8ea0e06b..4aa3755b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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 diff --git a/.devcontainer/on-create.sh b/.devcontainer/on-create.sh index b3acd83b..e50ad817 100644 --- a/.devcontainer/on-create.sh +++ b/.devcontainer/on-create.sh @@ -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 @@ -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 diff --git a/Directory.Build.props b/Directory.Build.props index 1854c7b9..79fc5503 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,29 +1,29 @@ - - - - net8.0 - latest - - enable - enable - - 8.2.1 - 2.*-* - 8.* - 8.* - 1.* - 1.* - 1.* - 6.* - 8.* - 4.* - - 6.* - 6.* - 17.* - 5.* - 4.* - 1.* - 2.* - - + + + + net8.0 + latest + + enable + enable + + 8.2.1 + 2.*-* + 8.* + 8.* + 1.* + 1.* + 1.* + 6.* + 8.* + 4.* + + 6.* + 6.* + 17.* + 5.* + 4.* + 1.* + 2.* + + diff --git a/AzureOpenAIProxy.sln b/OpenChatPlayground.sln similarity index 100% rename from AzureOpenAIProxy.sln rename to OpenChatPlayground.sln diff --git a/README.md b/README.md index 24ccee90..cd1c003b 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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.