Skip to content

Commit c4e4b91

Browse files
authored
Merge pull request #441 from microsoft/workshop-update
Workshop update
2 parents 3fa6ec0 + a1acb3b commit c4e4b91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+42
-373
lines changed

workshop/docs/workshop/Challenge-0/CU-Challenge.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33
## Step 1: Create a Content Understanding Project
44

55
- Navigate to the [AI Foundry homepage](https://ai.azure.com) and select Try Content Understanding.
6+
> **Note**: You will need to create a project in one of the following regions: westus, swedencentral, or australiaeast
67
78
![AI Foundry Homepage](../img/ai-services-landing-page.png)
89

910
- Select + Create to create a new Content Understand project.
1011

11-
![CU Landing Page](../img/cu-create-project.png)
12+
![CU Landing Page](../img/cu-landing-page.png)
1213

1314
- Provide a name for your project (i.e. call_analyzer), select create a new hub, keep the default Azure AI service connection and select Next
1415
![create project](../img/create_project.png)
1516
- Keep the default storage account, select next and select Create project.
1617

17-
- Select Browse file to upload the [sample audio file](../data/convo_2c703f97-6657-4a15-b8b2-db6b96630b2d_2024-12-06%2006_00_00.wav).
18+
- Select Browse file to upload the sample audio file included in this [workshop](../data/convo_2c703f97-6657-4a15-b8b2-db6b96630b2d_2024-12-06%2006_00_00.wav).
1819

1920
![CU upload document](../img/cu-upload-document.png)
2021

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

Lines changed: 0 additions & 53 deletions
This file was deleted.

workshop/docs/workshop/Challenge-1/data-explore.md renamed to workshop/docs/workshop/Challenge-1/Code_Walkthrough/01_Data_Explore.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ To access and explore the ingested data:
77
2. Locate the Resource Group where the solution is deployed
88

99
3. Click on the Storage Account associated with the solution
10-
![image](../img/storage-blob.png)
10+
![image](../../img/storage-blob.png)
1111

1212
4. Navigate to Containers section
13-
![image](../img/storage-container.png)
13+
![image](../../img/storage-container.png)
1414

1515
5. Open the container named data
1616

1717
You’ll see two folders:
1818

1919
- audiodata → Contains uploaded call recordings
20-
![image](../img/audio-folder.png)
20+
![image](../../img/audio-folder.png)
2121

2222
call_transcripts → Stores the transcript text used for AI processing
23-
![image](../img/call_transcripts.png)
23+
![image](../../img/call_transcripts.png)
2424
<!-- The Sample dataset used for this solution contains customer interactions categorized into various topics. Each entry includes:
2525
2626
- **ConversationId**: Unique identifier for each conversation.

workshop/docs/workshop/Challenge-1/Frontend.md renamed to workshop/docs/workshop/Challenge-1/Code_Walkthrough/02_Frontend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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](../support-docs/Images/ReadMe/ckm-ui.png)
8+
![image](../../../../../docs/Images/ReadMe/ui.png)
99

1010
### Features
1111

workshop/docs/workshop/Challenge-1/Backend.md renamed to workshop/docs/workshop/Challenge-1/Code_Walkthrough/03_Backend.md

File renamed without changes.
File renamed without changes.

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ We will set up the initial environment for you to build on top of during your Mi
33

44
### **Prerequisites**
55

6-
- To deploy this solution accelerator, ensure you have access to an [Azure subscription](https://azure.microsoft.com/free/) with the necessary permissions to create **resource groups and resources**. Follow the steps in [Azure Account Set Up](../support-docs/AzureAccountSetUp.md)
6+
- To deploy this solution accelerator, ensure you have access to an [Azure subscription](https://azure.microsoft.com/free/) with the necessary permissions to create **resource groups and resources**. Follow the steps in [Azure Account Set Up](../../../../docs/AzureAccountSetUp.md)
77
- [VS Code](https://code.visualstudio.com/download) installed locally
88

99

@@ -15,20 +15,20 @@ Check the [Azure Products by Region](https://azure.microsoft.com/en-us/explore/g
1515
- Azure AI Content Understanding
1616
- Embedding Deployment Capacity
1717
- GPT Model Capacity
18-
- [Azure Semantic Search](../support-docs/AzureSemanticSearchRegion.md)
18+
- [Azure Semantic Search](../../../../docs/AzureSemanticSearchRegion.md)
1919

2020
Here are some example regions where the services are available: East US2
2121

2222
### ⚠️ Important: Check Azure OpenAI Quota Availability
2323

24-
➡️ To ensure sufficient quota is available in your subscription, please follow **[Quota check instructions guide](../support-docs/quota_check.md)** before you deploy the solution.
24+
➡️ To ensure sufficient quota is available in your subscription, please follow **[Quota check instructions guide](../../../../docs/QuotaCheck.md)** before you deploy the solution.
2525

2626

2727
### Quota Recommendations
2828
By default, the **GPT model capacity** in deployment is set to **30k tokens**.
2929
> **We recommend increasing the capacity to 120k tokens for optimal performance.**
3030
31-
To adjust quota settings, follow these [steps](../support-docs/AzureGPTQuotaSettings.md)
31+
To adjust quota settings, follow these [steps](../../../../docs/AzureGPTQuotaSettings.md)
3232

3333

3434

@@ -47,6 +47,7 @@ To adjust quota settings, follow these [steps](../support-docs/AzureGPTQuotaSett
4747
python -m venv .venv
4848
# Windows
4949
.venv\Scripts\activate
50+
5051
# macOS/Linux
5152
source .venv/bin/activate
5253

@@ -81,8 +82,8 @@ Once deployment completes:
8182
Additional Steps
8283
</h2>
8384

84-
1. **Add App Authentication**
85+
1. **Optional**: Add App Authentication
8586

86-
Follow steps in [App Authentication](./App-Authentication.md) to configure authenitcation in app service.
87+
Follow steps in [App Authentication](../../../../docs/AppAuthentication.md) to configure authenitcation in app service.
8788

8889
Note: Authentication changes can take up to 10 minutes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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](../support-docs/Images/ReadMe/ckm-sol-arch.png)
5+
![image](../../../../docs/Images/ReadMe/solution-architecture.png)
66

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

workshop/docs/workshop/Challenge-3-and-4/Challenge-3.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,23 @@ One of the easiest and most fun changes you can make to the app is updating the
44

55
---
66

7-
### Step 1: Prepare Your New Logo**
8-
1. Create or use a new logo (e.g contosoImg logo) in `src/app/src/Assets/`.
7+
### Step 1: Prepare Your New Logo
8+
1. Create or use a new logo (e.g [Contoso Img logo](../../../../src/App/src/Assets/ContosoImg.png)) in `src/app/src/Assets/`.
99
2. Save the logo as an image file (e.g., `logo.png`).
1010
3. Ensure the image has a reasonable size (e.g., 100x100 pixels) for better display.
1111
4. Place the logo file in the following folder:
1212
`src/app/src/Assets/`
1313

1414
---
1515

16-
1716
### Step 2: Update the Logo Component
1817

1918
1. Open the `App.tsx` file located at:
2019
```
2120
src/App/src/App.tsx
2221
```
2322

24-
2. Comment out the original import on **line 24**:
23+
2. Comment out the original import on **line 29**:
2524

2625
```tsx
2726
// import { AppLogo } from "./components/Svg/Svg";
@@ -69,8 +68,12 @@ One of the easiest and most fun changes you can make to the app is updating the
6968
```bash
7069
cd src/
7170
```
72-
10. Make sure your Python virtual environment is activated, as done in the Challenge 1 deployment steps.
73-
71+
10. Make sure your Python virtual environment is activated, as done in the [Challenge 1 deployment](../Challenge-1/Deployment.md) steps.
72+
* This script will perform the following:
73+
* Take the environment variables from the deployment and populate the rest of the varibales in the .env file to run the app locally.
74+
* Copy the .env file from the src folder to the workshop folder for the next challenges.
75+
* Assign the needed roles for the Azure SQL database and Azure Cosmos DB
76+
* Run the app locally
7477
11. Start the application:
7578

7679
```bash
@@ -81,3 +84,5 @@ One of the easiest and most fun changes you can make to the app is updating the
8184
Once the app starts, you should see your new logo!
8285

8386

87+
88+

workshop/docs/workshop/Challenge-3-and-4/index.md

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -59,57 +59,32 @@ This function lets users ask questions that are better answered using full-text
5959
6060
---
6161

62-
<!-- ## Challenge 5: Create an AI Agent
63-
64-
Once your plugin is ready, you’ll create an **Azure AI Agent** that uses it.
65-
66-
### The Agent Includes:
67-
- A **system prompt** that defines the assistant’s behavior
68-
(e.g. "You're a helpful assistant. Only respond to relevant questions.")
69-
- The three **plugin functions** from above
70-
- Basic logic to route questions to the right function (greeting, SQL, or search)
71-
72-
You’ll test the agent by giving it natural questions and seeing how it responds using your actual data!
73-
74-
--- -->
75-
76-
## Bonus: Responsible AI (RAI) Principles
77-
78-
Take a moment to review how the system prompt reflects **RAI principles**:
79-
80-
- What the assistant should or shouldn't say
81-
- How it handles unknown or inappropriate questions
82-
- How it maintains transparency and trust
83-
84-
Feel free to enhance the agent prompt with RAI-friendly language.
85-
86-
---
8762
### Prerequisites
8863
- Azure AI project credentials.
8964
- [Python 3.9+](https://www.python.org/downloads/)
9065
- [Microsoft ODBC Driver 17](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16#version-17)
9166
- Python environment with required libraries installed (`azure-ai-evaluation`, `pandas`, etc.).
9267
- Access to the Azure API endpoint.
68+
- Completed [Challenge 3](./Challenge-3.md)
9369

94-
If did not create a virtual environment during the deployment, please follow the steps [here](../Challenge-1/Deployment.md)
70+
If did not create a virtual environment during Challenge 3, please follow the steps [here](../Challenge-3-and-4/Challenge-3.md)
9571
1. Navigate to the `workshop/docs/workshop` folder in the terminal in your local repository and run the following command.
9672
* Install the requirements
9773
```shell
9874
pip install -r requirements.txt
9975
```
10076
2. Open the `.env` in the `workshop/docs/workshop` folder to validate the variables were updated with the details of your solution.
10177
3. Follow the steps in [Challenge-4](./Challenge-4.md) to run the notebook.
102-
<!--
103-
## 🧪 Sample Run
10478

105-
You’ll find example queries in the notebook. Try things like:
106-
- `"What’s the average wait time for support calls?"`
107-
- `"Summarize what the customer said about the new pricing."`
108-
- `"Hello!"`
79+
## Bonus: Responsible AI (RAI) Principles
10980

110-
Observe which plugin each query triggers — and how it responds.
81+
Take a moment to review how the system prompt reflects **RAI principles**:
11182

112-
--- -->
83+
- What the assistant should or shouldn't say
84+
- How it handles unknown or inappropriate questions
85+
- How it maintains transparency and trust
86+
87+
Feel free to enhance the agent prompt with RAI-friendly language.
11388

11489
## Recap
11590

0 commit comments

Comments
 (0)