You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/workshop/docs/02-Setup/1-Provision-And-Setup/02-Skillable.md
+22-21
Original file line number
Diff line number
Diff line change
@@ -62,12 +62,13 @@ At the end of this step you should have:
62
62
https://aka.ms/contoso-chat/prebuild
63
63
```
64
64
65
-
1. You will be prompted to log into GitHub. **Login now**
65
+
1. You will be prompted to log into GitHub. **Login now with your GitHub profile.**
66
66
67
67
### 2.2 Setup GitHub Codespaces
68
68
69
69
1. You will see a page titled **"Create codespace for Azure-Samples/contoso-chat"**
70
-
- Check that the Branch is `msignite-LAB401`
70
+
- Check branch is `msignite-LAB401`
71
+
- Check dev container config is `Contoso Chat (v2)` and region is `US East`
71
72
- Click dropdown for **2-core** and verify it is `Prebuild ready`
72
73
73
74
!!! tip "Using the pre-build option makes your GitHub Codespaces load up faster."
@@ -137,25 +138,25 @@ Your GitHub Codespaces is running on the _original_ Azure Samples repo for this
137
138
138
139
### 2.4 Check Tools Installed
139
140
140
-
Use the following commands in the VS Code terminal to verify these tools are installed. This step is optional but gives you a sense for the command-line tools we will use in this lab.
141
-
142
-
```bash title=""
143
-
python --version
144
-
```
145
-
```bash title=""
146
-
fastapi --version
147
-
```
148
-
```bash title=""
149
-
prompty --version
150
-
```
151
-
```bash title=""
152
-
az version
153
-
```
154
-
```bash title=""
155
-
azd version
156
-
```
157
-
158
-
!!! success "CONGRATULATIONS. You setup your GitHub Codespaces with your fork of the repo!"
141
+
The workshop uses the following tools and commands: `python`, `fastapi`, `prompty`, `az`, `azd`. These are pre-installed for you, but you can optionally verify these to get a sense for their current versions.
142
+
143
+
??? task "(Optional: Expand to view details) Verify intalled tools."
1. Open a new browser tab and navigate to the link below. You will be prompted to login.
26
+
1. Open a new browser tab and navigate to the link below. You may be prompted to login.
27
27
```title=""
28
28
https://portal.azure.com/#browse/resourcegroups
29
29
```
30
30
31
-
1. **Sign in** → Use the `Username` and `Password` from the "Azure Credentials" section in your Skillable Lab instructions panel.
31
+
1. **Sign in** → If prompted, use the `Username` and `Password` from the "Azure Credentials" section in your Skillable Lab instructions panel.
32
32
1. You may be presented with a "Welcome to Microsoft Azure" screen. Click **Cancel** (to dismiss it) or click **Get Started** (to take an introductory tour of the Azure Portal).
33
33
1. You should be taken directly to the Resource Groups page for your subscription.
34
34
- You should see an `rg-AITOUR` resource. This was created for you and contains all the resources needed to build and deploy your RAG-based copilot.
35
35
1. **Click** `rg-AITOUR` to visit the Resource Group overview page.
36
-
- **Check:** Deployments (under "Essentials") - You should see: *35 succeeded*.
36
+
- **Check:** Deployments (look under "Essentials") - You should see: *35 succeeded*.
37
37
- **Check:** Resources (in Overview) - You should see: *15 resources*.
38
38
39
39
!!! task "Leave the Azure Portal open on this tab. We'll revisit it later."
@@ -51,14 +51,16 @@ Here's a reminder of the Azure Application Architecture - let's check our provis
51
51
52
52
1. **Click `Sign in`** → you will auto-login with the Azure credentials used to sign into the portal.
53
53
54
-
- **Check:** You should see a Project and a Hub listed.
54
+
- **Check:** You should see a Hub resource (with a name like _ai-hub-XXXXXXXX_)
55
+
- **Check:** You should see a Project resource (with a name like _ai-project-XXXXXXXX_)
55
56
56
-
!!! info "The [AI Studio hub](https://learn.microsoft.com/azure/ai-studio/concepts/ai-resources) collects AI resources that can be shared between AI projects. The [AI Studio project](https://learn.microsoft.com/azure/ai-studio/how-to/create-projects?tabs=ai-studio) helps you organize your work when building applications."
57
+
!!! info "The [Azure AI hub](https://learn.microsoft.com/azure/ai-studio/concepts/ai-resources) collects AI resources that can be shared between AI projects. The [Azure AI project](https://learn.microsoft.com/azure/ai-studio/how-to/create-projects?tabs=ai-studio) helps you organize your work when building applications."
57
58
58
-
- Click on the Hub resource name → it may be something like _ai-hub-45556973_
59
-
- **Check:** There is 1 project listed under `Projects` for this hub.
59
+
- Click the Project link. You will be taken to a Project details page.
60
60
- Click "Connected Resources" in the left pane,
61
-
- **Check:** You see Hub connections to OpenAI endpoints, Azure AI Search & Storage.
61
+
- **Check:** You should see Hub connections to OpenAI endpoints, Azure AI Search & Storage.
62
+
- Click "Models + endpoints" in the left pane.
63
+
- **Check:** You should see deployed models for this project.
62
64
63
65
!!! info "For this application, we will use the chat completion models `gpt-4` and `gpt-35-turbo`, and the embedding model `text-embedding-ada-002`."
64
66
@@ -106,7 +108,7 @@ The Azure AI Search resources contains the product index for our retailer's prod
106
108
- you will see: Results dialog filled with index data for the entire product database.
107
109
1. Enter `sleeping bag` in the text box, and click Search
108
110
- Verify that the first result returned relates to a sleeping bag from the catalog
109
-
!!! tip "Look under the 'answers' section of the response to see if the results match."
111
+
!!! tip "Check the 'value' section of the response for semantically-ranked results."
110
112
1. Enter `something to make food with` in the text box, and click Search
111
113
- Verify that the first result returned relates to a camping stove
!!! danger "Don't Forget - End the Skillable Session"
3
+
## 1. Give us a ⭐️ on GitHub
4
4
5
-
Visit the Skillable Lab page and click `End Session` to end the session and release all resources. This allows the lab to be run again without quota issues for others.
5
+
!!! task "FOUND THIS WORKSHOP AND SAMPLE USEFUL? MAKE SURE YOU GET UPDATES."
6
6
7
+
The **[Contoso Chat](https://aka.ms/aitour/contoso-chat)** sample is an actively updated project that will reflect the latest features and best practices for code-first development of RAG-based copilots on the Azure AI platform. **[Visit the repo](https://aka.ms/aitour/contoso-chat)** or click the button below, to give us a ⭐️.
8
+
<!-- Place this tag where you want the button to render. -->
9
+
<aclass="github-button"href="https://github.com/Azure-Samples/contoso-chat"data-color-scheme="no-preference: light; light: light; dark: dark;"data-size="large"data-show-count="true"aria-label="Star Azure-Samples/contoso-chat on GitHub"> Give Contoso Chat a Star!</a>
10
+
11
+
---
12
+
13
+
## 2. Feedback & Cleanup
14
+
15
+
Check that the right tab is selected for your session, and complete the steps!
16
+
17
+
=== "Self-Guided"
18
+
19
+
!!! task "Reminder 1: Give us Feedback"
20
+
21
+
Have feedback that can help us make this lab better for others? [Open an issue](https://github.com/Azure-Samples/contoso-chat/issues/new) and let us know.
22
+
23
+
=== "Microsoft AI Tour"
24
+
25
+
!!! task "Reminder 1: Give us Feedback"
26
+
27
+
Visit [aka.ms/MicrosoftAITour/Survey](https://aka.ms/MicrosoftAITour/Survey) to give us feedback on this session (#WRK550)
28
+
29
+
!!! danger "Reminder 2: End the Skillable Session"
30
+
31
+
Visit the Skillable Lab page and click `End Session` to end the session and release all resources. This allows the lab to be run again without quota issues for others.
7
32
8
-
!!! danger "Don't Forget - Stop Your Codespaces"
9
33
10
-
Visit [https://github.com/codespaces](https://github.com/codespaces) - locate the Codespaces instance you are currently running and delete it to prevent continued usage of the storage or processing quotas.
34
+
=== "Microsoft Ignite"
11
35
12
-
If you want to save any changes you have made to files to your fork, use the Source Control tool in VS Code Online to commit and push your changes before you delete the Codespace.
36
+
!!! success "Reminder 1: Please Give us Feedback"
13
37
14
-
!!! info "Reminder - Give us Feedback"
38
+
Visit [aka.ms/MicrosoftIgniteEvals](https://aka.ms/MicrosoftIgniteEvals) to give us feedback on this session (LAB401)
39
+
40
+
!!! warning "Reminder 2: End the Skillable Session"
15
41
16
-
Visit [aka.ms/MicrosoftAITour/Survey](https://aka.ms/MicrosoftAITour/Survey) to give us feedback on this session (#WRK550)
42
+
Visit the Skillable Lab page and click `End Session` to end the session and release all resources. This allows the lab to be run again without quota issues for others.
17
43
18
-
!!! info "Reminder - Star the Repo"
44
+
---
45
+
46
+
## 3. Stop your Codespaces
47
+
48
+
!!! warning "Reminder: Delete your Codespaces instance to preserve quota"
49
+
50
+
1. Visit [https://github.com/codespaces](https://github.com/codespaces) in your browser
51
+
1. Locate the Codespaces instance you are currently running
52
+
1. Delete it to prevent continued usage of the storage or processing quotas.
19
53
20
-
Visit [Contoso Chat](https://aka.ms/aitour/contoso-chat) and give us a 🌟 to help raise awareness of this workshop!
54
+
If you want to save any changes you have made to files to your fork, use the Source Control tool in VS Code Online to commit and push your changes before you delete the Codespace.
Copy file name to clipboardexpand all lines: docs/workshop/docs/index.md
+2
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ The workshop teaches you to **build, evaluate, and deploy a retail copilot** cod
4
4
5
5
You can complete it as a **self-guided** workshop at home. Or you can register for an **instructor-led** workshop at specific events like the [Microsoft AI Tour (2024-2025)](https://aka.ms/aitour) and [Microsoft Ignite 2024](https://ignite.microsoft.com/en-US/sessions?search=LAB401). The primary difference will be in the initial setup steps and the Azure subscription used.
6
6
7
+
<aclass="github-button"href="https://github.com/Azure-Samples/contoso-chat"data-color-scheme="no-preference: light; light: light; dark: dark;"data-size="large"data-show-count="true"aria-label="Star Azure-Samples/contoso-chat on GitHub"> Give Contoso Chat a Star!</a>
8
+
7
9
<br/>
8
10
9
11
!!! task "CHOOSE THE TAB FOR YOUR SESSION - This becomes the default context site-wide."
Copy file name to clipboardexpand all lines: docs/workshop/in-person-starts/MSIgnite-2024-Skillable.md
+22-18
Original file line number
Diff line number
Diff line change
@@ -5,46 +5,50 @@ This file is dynamically retrieved and used by the Skillable VM as the Instructi
5
5
6
6
# LAB 401: Build a Retail Copilot Code-First on Azure AI Studio
7
7
8
-
This is a 75-minute instructor-led workshop session at Microsoft Ignite 2024. You must [register](https://ignite.microsoft.com/sessions/LAB401?source=sessions) for an available session, to attend in person.
8
+
This is a 75-minute instructor-led workshop at Microsoft Ignite 2024 where you learn to build, evaluate, and deploy, a RAG-based retail copilot on Azure AI.
9
9
10
-
_You will learn to build, evaluate, and deploy, a custom retail copilot code-first on Azure AI - using the Retrieval Augmented Generation (RAG) design pattern to ground copilot responses in retailer data_.
11
-
12
-
13
-
**‼️ -- DO NOT CLOSE THIS WINDOW -- ‼️** <br/> Closing this window will end your lab prematurely. It is ok to minimize this window so you can return to it later when required.
10
+
**‼️ -- DO NOT CLOSE THIS WINDOW -- ‼️** <br/> Closing this window will end your lab prematurely. Instead, minimize this window so you can return to it later when required.
The lab instructions are available at the link above. To get started:
22
-
1. Open a new incognito (private) browser window on your workstation
23
-
1. Copy the link above into the browser address bar and navigate to it.
24
-
1. Start from the **Setup** section to make best use of your time.
18
+
Open a new private browser in your workstation.
19
+
20
+
1. Copy the instructions link to the browser and navigate to it.
21
+
1. In the "Before You Begin" section, **Select the Microsoft Ignite tab**
22
+
1. Leave this browser open and follow the instructions for the lab.
25
23
26
24
## 2. Azure Credentials
27
25
28
-
You will make use of a temporary Azure subscription assigned to this lab instance, with the credentials below. You will need these for the setup stage of the workshop. Verify that you see both _Username_ and _Password_ values below.
26
+
You will be assigned a temporary Azure subscription for this lab. Verify that the _Username_ and _Password_ credentials are not empty below. We will use them during setup.
The login screen to the left corresponds to the Skillable Windows VM for your lab instance. You should **NOT** need to use it for this lab - but it may prove helpful for troubleshooting issues with proctor help.
36
-
37
-
Use these credentials to login (username may be preset):
33
+
The Skillable VM has a login screen (left) that we do **NOT** need to use today. However, we may need it for troubleshooting (with proctor help). The credentials below will be useful for logging in then.
This instruction panel has a _Countdown Timer_ (at the top) showing _"Hours Remaining"_ for lab completion (with _1h 15 min_ to start).
45
-
- When the timer expires, the VM will terminate automatically
46
-
- When it nears expiry, you will be notified so you can cleanup
40
+
This Skillable page has a countdown timer (top right) that will show **Hours Remaining** for lab completion. Use this to track time left and decide if you want to do optional steps accordingly.
41
+
42
+
- You should start with at least 1h 15min on the clock.
43
+
- You will be notified when there are 10 mins left
44
+
- When timer expires, the VM will terminate automatically!
45
+
46
+
## 5. Revisiting Lab at Home
47
+
48
+
By the end of this workshop, you will have a copy of the sample app in your personal GitHub profile. Revisit it at home to explore and complete sections at your own pace.
47
49
48
-
You will walk away with a copy of the application in your GitHub profile. You can revisit that at home, with the _Self-Guided_ workshop option, to complete the workshop at your own pace, with your Azure subscription.
50
+
1. You will need your own Azure subscription for this.
51
+
1. You will need to set the "Before You Begin" tab to **Self-Guided**
52
+
1. Then continue working through the lab steps there.
0 commit comments