From 4f8fb6e7e34b9a517be61137a440b648a861cee9 Mon Sep 17 00:00:00 2001 From: dantelmomsft Date: Tue, 27 Aug 2024 12:42:43 +0200 Subject: [PATCH] documention fix. Default to function chaining in the UI (no SK dropdown box) --- app/frontend/src/pages/chat/Chat.tsx | 8 +++++--- app/frontend/src/pages/oneshot/OneShot.tsx | 6 ++++-- docs/app-service/README-App-Service.md | 16 ++++++++++------ 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/app/frontend/src/pages/chat/Chat.tsx b/app/frontend/src/pages/chat/Chat.tsx index bb876a3..cb86f51 100644 --- a/app/frontend/src/pages/chat/Chat.tsx +++ b/app/frontend/src/pages/chat/Chat.tsx @@ -258,7 +258,7 @@ const Chat = () => { },*/ { key: Approaches.JAVA_SEMANTIC_KERNEL_PLANNER, - text: "Java Semantic Kernel - Orchestration" + text: "Java Semantic Kernel" } ]; @@ -385,7 +385,9 @@ const Chat = () => { onChange={onPromptTemplateChange} /> )} - {(approach === Approaches.JAVA_SEMANTIC_KERNEL_PLANNER) && ( + + { //pending implementation of vector stores + /*(approach === Approaches.JAVA_SEMANTIC_KERNEL_PLANNER) && ( { required onChange={onSKModeChange} /> - )} + )*/} - {(approach === Approaches.JAVA_SEMANTIC_KERNEL_PLANNER) && ( + {//pending implementation of vector stores + /* + (approach === Approaches.JAVA_SEMANTIC_KERNEL_PLANNER) && ( - )} + )*/} {(approach === Approaches.JAVA_OPENAI_SDK || approach === Approaches.JAVA_SEMANTIC_KERNEL) && ( /resourceGroups//providers/Microsoft.Web/sites/ --json-auth + ``` + This command will output a json object with the service principal details. Copy the json output and save it in a safe place. You'll need to use it in the next step. + 3. Create 'Development' environment [secrets](https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository) for the azure web app hosting both frontend and backend. Create a secret with name `AZURE_CREDENTIALS` and set the value field to json output from the service principal creation command. +4. Create 'Development' environment [variables](https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-an-environment) for azure web app resource name: - Create a variable with name `AZUREAPPSERVICE_APP_NAME` and set the Value field to the azure web app resource name -4. For each commit you push check the status of the triggered pipeline in the GitHub Actions tab, you should see a pipeline has been triggered for the specific commit. If everything is ok you should see green checkmark on both build and deploy jobs in the pipeline detail like below: +5. For each commit you push check the status of the triggered pipeline in the GitHub Actions tab, you should see a pipeline has been triggered for the specific commit. If everything is ok you should see green checkmark on both build and deploy jobs in the pipeline detail like below: ![pipeline success](github-actions-pipeline-success.png)