Skip to content

Commit 2e90eb2

Browse files
Merge pull request #492 from microsoft/main
fix: downmerge to dev from main
2 parents e643fee + e5bb003 commit 2e90eb2

File tree

11 files changed

+70
-52
lines changed

11 files changed

+70
-52
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ jobs:
3939
with:
4040
github_token: ${{ secrets.GITHUB_TOKEN }}
4141
publish_dir: docs/workshop/site
42-
# optionally set the branch to deploy to:
43-
# publish_branch: gh-pages
42+

docs/workshop/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ The current repository is instrumented with a `workshop/docs` folder that contai
2323
1. Install the `mkdocs-material` package
2424

2525
```bash
26-
pip install mkdocs-material
26+
pip install mkdocs-material mkdocs-jupyter
2727
```
2828

2929
2. Run the `mkdocs serve` command from the `workshop` folder
3030

3131
```bash
32-
cd workshop/docs
32+
cd docs/workshopcd
3333
mkdocs serve -a localhost:5000
3434
```
3535

docs/workshop/docs/workshop/Challenge-1/Code_Walkthrough/02_Frontend.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
The frontend is a **React-based web interface** that allows users to explore insights from conversations, interact with an AI-powered chatbot, and view dynamic visualizations.
77

8-
![image](../../../../../../documents/Images/ReadMe/ui.png)
8+
9+
![image](../../img/ReadMe/ckm-ui.png)
10+
911

1012
### Features
1113

docs/workshop/docs/workshop/Challenge-1/Solution_Overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<!-- ## Overview -->
33
The Conversation Knowledge Mining Solution Accelerator is a robust application designed to extract actionable insights from conversational data. It leverages Azure AI services and provides an interactive user interface for querying and visualizing data. The solution is built with a modular architecture, combining a React-based frontend, a FastAPI backend, and Azure services for data processing and storage.
44

5-
![image](../../../../../documents/Images/ReadMe/solution-architecture.png)
5+
6+
![image](../img/ReadMe/ckm-sol-arch.png)
7+
68

79
The solution extracts insights from call audio files or transcripts and enables users to interact with the data via a chatbot and dynamic charts:
810

docs/workshop/docs/workshop/Challenge-5/notebooks/video_chapter_generation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"source": [
2424
"\n",
2525
"## Pre-requisites\n",
26-
"1. Follow [README](../README.md#configure-azure-ai-service-resource) to create essential resource that will be used in this sample.\n",
26+
"1. Follow [README](../docs/create_azure_ai_service.md) to create essential resource that will be used in this sample.\n",
2727
"1. Install required packages"
2828
]
2929
},
@@ -92,7 +92,7 @@
9292
"metadata": {},
9393
"source": [
9494
"## Create a custom analyzer and submit the video to generate the description\n",
95-
"The custom analyzer schema is defined in [../analyzer_templates/video_content_understanding.json](../analyzer_templates/video_content_understanding.json). The main custom field is `segmentDescription` as we need to get the descriptions of video segments and feed them into chatGPT to generate the scenes and chapters. Adding transcripts will help to increase the accuracy of scenes/chapters segmentation results. To get transcripts, we will need to set the`returnDetails` parameter in the `config` field to `True`.\n",
95+
"The custom analyzer schema is defined in **../analyzer_templates/video_content_understanding.json**. The main custom field is `segmentDescription` as we need to get the descriptions of video segments and feed them into chatGPT to generate the scenes and chapters. Adding transcripts will help to increase the accuracy of scenes/chapters segmentation results. To get transcripts, we will need to set the`returnDetails` parameter in the `config` field to `True`.\n",
9696
"\n",
9797
"In this example, we will use the utility class `AzureContentUnderstandingClient` to load the analyzer schema from the template file and submit it to Azure Content Understanding service. Then, we will analyze the video to get the segment descriptions and transcripts.\n"
9898
]

docs/workshop/docs/workshop/Challenge-5/notebooks/video_tag_generation.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"source": [
2424
"\n",
2525
"## Pre-requisites\n",
26-
"1. Follow [README](../README.md#configure-azure-ai-service-resource) to create essential resource that will be used in this sample.\n",
26+
"1. Follow [README](../docs/create_azure_ai_service.md) to create essential resource that will be used in this sample.\n",
2727
"1. Install required packages"
2828
]
2929
},
@@ -92,7 +92,7 @@
9292
"metadata": {},
9393
"source": [
9494
"## Create a custom analyzer and submit the video to generate tags\n",
95-
"The custom analyzer schema is defined in [../analyzer_templates/video_tag.json](../analyzer_templates/video_tag.json). The custom fields are `segmentDescription`, `transcript` and `tags`. Adding description and transcripts helps to increase the accuracy of tag generation results. To get transcripts, we will need to set the`returnDetails` parameter in the `config` field to `True`.\n",
95+
"The custom analyzer schema is defined in **../analyzer_templates/video_tag.json**. The custom fields are `segmentDescription`, `transcript` and `tags`. Adding description and transcripts helps to increase the accuracy of tag generation results. To get transcripts, we will need to set the`returnDetails` parameter in the `config` field to `True`.\n",
9696
"\n",
9797
"In this example, we will use the utility class `AzureContentUnderstandingClient` to load the analyzer schema from the template file and submit it to Azure Content Understanding service. Then, we will analyze the video to get the segment tags.\n"
9898
]

docs/workshop/mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ nav:
117117
- CU-AI Foundry: workshop/Challenge-0/CU-Challenge.md
118118
- Challenge 1:
119119
- Solution Overview: workshop/Challenge-1/Solution_Overview.md
120-
- Deployment: workshop/Challenge-1/index.md
120+
- Deployment: workshop/Challenge-1/Deployment.md
121121
# - App Authentication: workshop/Challenge-1/App_Authentication.md
122122
- Explore Data: workshop/Challenge-1/Code_Walkthrough/01_Data_Explore.md
123123
- Frontend: workshop/Challenge-1/Code_Walkthrough/02_Frontend.md
@@ -134,8 +134,8 @@ nav:
134134
- Knowledge Mining API Notebook: workshop/Challenge-3-and-4/knowledge_mining_api.ipynb
135135
- Challenge 5:
136136
- Overview: workshop/Challenge-5/index.md
137-
- Chapter Generation Notebook: workshop/Challenge-5/video_chapter_generation.ipynb
138-
- Tag Generation Notebook: workshop/Challenge-5/video_tag_generation.ipynb
137+
- Chapter Generation Notebook: workshop/Challenge-5/notebooks/video_chapter_generation.ipynb
138+
- Tag Generation Notebook: workshop/Challenge-5/notebooks/video_tag_generation.ipynb
139139
- Challenge 6:
140140
- Overview: workshop/Challenge-6/index.md
141141
- Content Safety Evaluation Notebook: workshop/Challenge-6/Content_safety_evaluation.ipynb

documents/AppAuthentication.md

Lines changed: 17 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,33 @@
1-
## Add Authentication in Azure App Service configuration
1+
# Set Up Authentication in Azure App Service
2+
3+
This document provides step-by-step instructions to configure Azure App Registrations for a front-end application.
4+
5+
## Prerequisites
6+
7+
- Access to **Microsoft Entra ID**
8+
- Necessary permissions to create and manage **App Registrations**
9+
10+
## Step 1: Add Authentication in Azure App Service configuration
11+
212
1. Click on `Authentication` from left menu.
313

414
![Authentication](Images/AppAuthentication.png)
515

6-
2. Click on `+ Add Provider` to see a list of identity providers.
16+
2. Click on `+ Add identity provider` to see a list of identity providers.
717

818
![Authentication Identity](Images/AppAuthenticationIdentity.png)
919

10-
3. Click on `+ Add Provider` to see a list of identity providers.
20+
3. Click on `Identity Provider` dropdown to see a list of identity providers.
1121

1222
![Add Provider](Images/AppAuthIdentityProvider.png)
1323

14-
4. Select the first option `Microsoft Entra Id` from the drop-down list.
15-
24+
4. Select the first option `Microsoft Entra Id` from the drop-down list and select `client secret expiration` under App registration.
25+
> NOTE: If `Create new app registration` is disabled, then go to [Create new app registration](/documents/create_new_app_registration.md) and come back to this step to complete the app authentication.
26+
1627
![Add Provider](Images/AppAuthIdentityProviderAdd.png)
1728

1829
5. Accept the default values and click on `Add` button to go back to the previous page with the identity provider added.
1930

2031
![Add Provider](Images/AppAuthIdentityProviderAdded.png)
2132

22-
### Creating a new App Registration
23-
1. Click on `Home` and select `Microsoft Entra ID`.
24-
25-
![Microsoft Entra ID](Images/MicrosoftEntraID.png)
26-
27-
2. Click on `App registrations`.
28-
29-
![App registrations](Images/Appregistrations.png)
30-
31-
3. Click on `+ New registration`.
32-
33-
![New Registrations](Images/NewRegistration.png)
34-
35-
4. Provide the `Name`, select supported account types as `Accounts in this organizational directory only(Contoso only - Single tenant)`, select platform as `Web`, enter/select the `URL` and register.
36-
37-
![Add Details](Images/AddDetails.png)
38-
39-
5. After application is created successfully, then click on `Add a Redirect URL`.
40-
41-
![Redirect URL](Images/AddRedirectURL.png)
42-
43-
6. Click on `+ Add a platform`.
44-
45-
![+ Add platform](Images/AddPlatform.png)
46-
47-
7. Click on `Web`.
48-
49-
![Web](Images/Web.png)
50-
51-
8. Enter the `web app URL` (Provide the app service name in place of XXXX) and Save. Then go back to [Step 4] and follow from _Point 4_ choose `Pick an existing app registration in this directory` from the Add an Identity Provider page and provide the newly registered App Name.
52-
53-
![Add Details](Images/WebAppURL.png)
33+
6. You have successfully added app authentication, and now required to log in to access the application.

documents/DeploymentGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/g
1616
- [Azure Container Apps](https://learn.microsoft.com/en-us/azure/container-apps/)
1717
- [Azure Container Registry](https://learn.microsoft.com/en-us/azure/container-registry/)
1818
- [Embedding Deployment Capacity](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#embedding-models)
19-
- [Azure Semantic Search](./docs/AzureSemanticSearchRegion.md)
19+
- [Azure Semantic Search](./AzureSemanticSearchRegion.md)
2020

2121
Here are some example regions where the services are available: East US, East US2, Australia East, UK South, France Central.
2222

documents/Fabric_deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ If you'd like to customize the solution accelerator, here are some ways you migh
2424
3. Provide name for Environment and click Create
2525
4. Select Public libraries in left panel
2626
5. Click Add from .yml
27-
6. Upload .yml from [here](./Deployment/scripts/fabric_scripts/ckm_cu_env.yml)
27+
6. Upload .yml from [here](.././infra/scripts/fabric_scripts/ckm_cu_env.yml)
2828
7. Click Publish
2929
7. Retrieve Workspace ID from URL, refer to documentation additional assistance ([here](https://learn.microsoft.com/en-us/fabric/admin/portal-workspace#identify-your-workspace-id))
3030

0 commit comments

Comments
 (0)