From 820a6b7c75679cd821e4b94444a13cc3c6f1b4b2 Mon Sep 17 00:00:00 2001 From: heblasco Date: Fri, 1 Dec 2023 10:44:42 +0100 Subject: [PATCH] Deployment + logo change --- docs/assets/icons/logo.svg | 11039 +++++++++++++++- docs/content/en/docs/Deployment/_index.md | 32 + docs/content/en/docs/Overview/_index.md | 2 +- .../Views/FormAnalyzer/FormAnalyzer.cshtml | 2 +- 4 files changed, 11063 insertions(+), 12 deletions(-) create mode 100644 docs/content/en/docs/Deployment/_index.md diff --git a/docs/assets/icons/logo.svg b/docs/assets/icons/logo.svg index 48373fe..0619082 100644 --- a/docs/assets/icons/logo.svg +++ b/docs/assets/icons/logo.svg @@ -1,11 +1,11030 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/content/en/docs/Deployment/_index.md b/docs/content/en/docs/Deployment/_index.md new file mode 100644 index 0000000..fd8e1d2 --- /dev/null +++ b/docs/content/en/docs/Deployment/_index.md @@ -0,0 +1,32 @@ +--- +title: Deployment +description: AI Hub — Steps to deploy the complete solution. +weight: 1 +--- + +# Create a new resource group +az group create --name aihub-rg --location westeurope + +# Create a new storage account +az storage account create --name aihubstorage --resource-group aihub-rg --location westeurope --sku Standard_LRS + +# Create a new app service plan +az appservice plan create --name aihub-appservice --resource-group aihub-rg --sku S1 + +# Create a new web app using dot net 8 +az webapp create --name aihub-webapp --resource-group aihub-rg --plan aihub-appservice --runtime "DOTNET|8.0" + +# Create an Azure multi service cognitive service account +az cognitiveservices account create --name aihub-cognitiveservice --resource-group aihub-rg --kind CognitiveServices --sku S0 --location westeurope --yes + +# Create an Azure OpenAI resuorce +az openai create --name aihub-openai --resource-group aihub-rg --location westeurope + +# Create a Content Safety Cognitive Service +az cognitiveservices account create --name aihub-contentsafety --resource-group aihub-rg --kind ContentSafety --sku F0 --location westeurope + +# Deploy chat using GEN-AI VBD material +[Activate GenAI with Azure](https://azure.github.io/activate-genai/). + +# Configure the web app +As a last step, we need to configure the web app to use the storage account and the cognitive service account we created earlier. To do this, we need to rename appsettings.json.template file to appsettings.json and replace the placeholders with the values we got from the previous steps. \ No newline at end of file diff --git a/docs/content/en/docs/Overview/_index.md b/docs/content/en/docs/Overview/_index.md index 6cfdacc..b3fdaac 100644 --- a/docs/content/en/docs/Overview/_index.md +++ b/docs/content/en/docs/Overview/_index.md @@ -5,7 +5,7 @@ weight: 1 --- ## Description -**AI Hub** is a new delivery bla bla bla. +**AI Hub** solution is a new offering that has different delivery modes. You can use it as a presales activity to demonstrate to customer the various Azure Open AI features that are accessible with minimal coding effort or you can deliver it as a Non-technical Hands on. This is intended for executives or other non-technical leads. The goal is to show different solutions where customers can test and proceed with further steps such as VBD engagements or new AOAI opportunities. ## Pre-requisites To use this solution, you will need the following: diff --git a/src/AIHub/Views/FormAnalyzer/FormAnalyzer.cshtml b/src/AIHub/Views/FormAnalyzer/FormAnalyzer.cshtml index 7fe175b..00fe9ff 100644 --- a/src/AIHub/Views/FormAnalyzer/FormAnalyzer.cshtml +++ b/src/AIHub/Views/FormAnalyzer/FormAnalyzer.cshtml @@ -50,7 +50,7 @@ rows="3"> @(Model?.Prompt ?? "Summarize document") - +