From 4f68df92693b8ea38123d6846289a1abd156abb5 Mon Sep 17 00:00:00 2001 From: frsl92 <56741179+frsl92@users.noreply.github.com> Date: Mon, 22 May 2023 17:30:47 +0100 Subject: [PATCH 1/4] Create openai-qna.md --- docs/openai-qna.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/openai-qna.md diff --git a/docs/openai-qna.md b/docs/openai-qna.md new file mode 100644 index 0000000..3dc75bf --- /dev/null +++ b/docs/openai-qna.md @@ -0,0 +1,22 @@ +# Instructions to run the OpenAI Embeddings QnA Solution Accelerator + +## Prerequisites +- Contributor access to the Azure resource group provided for the Hackathon +- Reader access to the Azure OpenAI service provided for the Hackathon + +## Instructions to deploy the accelerator +1. From the solution accelerator main github page navigate to the "Deploy on Azure (WebApp + Redis Stack + Batch Processing)" section. +2. Click on the "Deploy to Azure" banner. This will open the Azure portal where you can configure the template for deployment. +3. + +## Instructions to customize and hack the accelerator +1. Step1 + + +## Notes + +Use the [Azure OpenAI Studio](https://oai.azure.com/) to access the [playground](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?pivots=programming-language-studio&tabs=command-line) to test the model and generate code for your use cases. Leverage the following guides for quick starts: +- [C#](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?pivots=programming-language-csharp&tabs=command-line) +- [Python](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?pivots=programming-language-python&tabs=command-line) +- [Python samples](https://github.com/Azure-Samples/openai) +- [REST](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?pivots=rest-api&tabs=command-line) From a6397fb4d079264ebc38199500fcc2d8c56da4d7 Mon Sep 17 00:00:00 2001 From: frsl92 <56741179+frsl92@users.noreply.github.com> Date: Tue, 23 May 2023 10:32:02 +0100 Subject: [PATCH 2/4] Update openai-qna.md first iteration of instructions --- docs/openai-qna.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/openai-qna.md b/docs/openai-qna.md index 3dc75bf..a7c6c42 100644 --- a/docs/openai-qna.md +++ b/docs/openai-qna.md @@ -5,9 +5,20 @@ - Reader access to the Azure OpenAI service provided for the Hackathon ## Instructions to deploy the accelerator -1. From the solution accelerator main github page navigate to the "Deploy on Azure (WebApp + Redis Stack + Batch Processing)" section. -2. Click on the "Deploy to Azure" banner. This will open the Azure portal where you can configure the template for deployment. -3. +- From the solution accelerator main github page navigate to the "Deploy on Azure (WebApp + Redis Stack + Batch Processing)" section. +- Click on the "Deploy to Azure" banner. This will open the Azure portal where you can configure the template for deployment. +- Use the following configurations in the parameter selection: + - "Resource Group" field, select the Resource Group assigned to your workspace. + - "Region" field, select "West Europe". + - "Resource Prefix" field will be used to name the resources. Use any 2-13 string (without special characters). + - "Open AI Name" field, use the name of the resource provided to you. Eg, If assigned the endpoint https://bh-openai-1.openai.azure.com/, use "bh-openai-1". + - "Open AI Key" field, use the key provided to you. + - If no translation and/or Form Recognizer is used, you can use "NA" for the following fields: "Form Recognizer Endpoint", "Form Recognizer Key", "Translate Endpoint", "Translate Key", "Translate Region" + - Click "Review and Create". + - Your deployment will be validated. If it succeeds, click "Create". If not, reach out to one of the mentors for help. + - Once your deployment completes (should take a couple of minutes), navigate to your resource group in the Azure portal and identify the resource with suffix "-site". + - The URL for your application will be present in the essentials pane, in the "Default domain" field. + - The first time you open the URL you can expect it to take a few seconds to load. ## Instructions to customize and hack the accelerator 1. Step1 From b5a0b8f5baf28248155b03e181d34c3530baf4ac Mon Sep 17 00:00:00 2001 From: frsl92 <56741179+frsl92@users.noreply.github.com> Date: Tue, 23 May 2023 16:27:37 +0100 Subject: [PATCH 3/4] Update openai-qna.md --- docs/openai-qna.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/openai-qna.md b/docs/openai-qna.md index a7c6c42..907256b 100644 --- a/docs/openai-qna.md +++ b/docs/openai-qna.md @@ -20,10 +20,6 @@ - The URL for your application will be present in the essentials pane, in the "Default domain" field. - The first time you open the URL you can expect it to take a few seconds to load. -## Instructions to customize and hack the accelerator -1. Step1 - - ## Notes Use the [Azure OpenAI Studio](https://oai.azure.com/) to access the [playground](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?pivots=programming-language-studio&tabs=command-line) to test the model and generate code for your use cases. Leverage the following guides for quick starts: From af222d57536df175d044e2d07dad0fa15696df68 Mon Sep 17 00:00:00 2001 From: frsl92 <56741179+frsl92@users.noreply.github.com> Date: Tue, 23 May 2023 16:30:03 +0100 Subject: [PATCH 4/4] Update README.md Added link to qna. Moved BPA to other. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 57c300f..be8a046 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,14 @@ Public repo with Solution Accelerators to support the Hackathon |--------------|-----------|------------|------------|------------| | [OpenAI chatGPT](https://github.com/Azure-Samples/cosmosdb-chatgpt) | This sample application combines Azure Cosmos DB with OpenAI ChatGPT with a Blazor Server front-end for an intelligent chat bot application that shows off how you can build a simple chat application with OpenAI ChatGPT and Azure Cosmos DB | [Alexandre Vieira](https://github.com/vieiraae) | Generative AI | [🔗](./docs/cosmosdb-chatgpt.md) | | [Customer Service Conversational Insights](https://github.com/microsoft/Customer-Service-Conversational-Insights-with-Azure-OpenAI-Services) | Solution accelerator built on top of Azure Cognitive Search, Bot Framework, Azure Speech Services and Azure OpenAI that allows to quickly deploy an integrated platform and immediately start extracting insights from customer conversations | [André Matos]() | Generative AI; New Ways of Working | [🔗]() | -| [OpenAI Embeddings QnA](https://github.com/Azure-Samples/azure-open-ai-embeddings-qna) | Sample that uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves the most relevant document and then uses GPT-3 to extract the matching answer for the question. | [Fábio Lopes]() | Knowledge Behind Data; Generative AI | [🔗]() | +| [OpenAI Embeddings QnA](https://github.com/Azure-Samples/azure-open-ai-embeddings-qna) | Sample that uses Azure OpenAI Service for creating embeddings vectors from documents. For answering the question of a user, it retrieves the most relevant document and then uses GPT-3 to extract the matching answer for the question. | [Fábio Lopes]() | Knowledge Behind Data; Generative AI | [🔗](docs/openai-qna.md) | | [Retail Recommender](https://github.com/microsoft/Azure-Synapse-Retail-Recommender-Solution-Accelerator) | This accelerator was built to provide developers with all of the resources needed to quickly build an Retail Recommender Solution based on Azure. | [Alexandre Vieira](https://github.com/vieiraae) | Gamification; Knowledge Behind Data | [🔗]() | | [eShop on Containers](https://github.com/dotnet-architecture/eShopOnContainers) | Sample .NET Core reference application, powered by Microsoft, based on a simplified microservices architecture and Docker containers. | [André Matos]() | New online frontiers | [🔗]() | -| [Business Process Automation](https://github.com/Azure/business-process-automation) | This accelerator provides a no code Studio for users to quickly build complex, multi-stage AI pipelines across multiple Azure AI and ML Services. | [Fábio Lopes]() | Future-Proof Supply Chains | [🔗]() | -## Other solution accelerators +## Other solution accelerators +- [Business Process Automation](https://github.com/Azure/business-process-automation) - [Build a smart, frictionless checkout prototype using Azure Custom Vision](https://github.com/microsoft/solution-accelerator-containerized-store) - [Knowledge Mining Solution Accelerator](https://learn.microsoft.com/en-us/samples/azure-samples/azure-search-knowledge-mining/azure-search-knowledge-mining/) - [Non-fungible Token Solution Accelerator](https://github.com/microsoft/Azure-Non-Fungible-Token-Solution-Accelerator)