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
Use this guide if you are working on these labs on your own at home!
7
4
5
+
---
8
6
9
-
## 1. Pre-Requisites
7
+
## 📋 1. Pre-Requisites
10
8
11
9
You will need:
12
10
@@ -18,7 +16,7 @@ You will need:
18
16
19
17
<br/>
20
18
21
-
## 2. Setup Dev Environment
19
+
## 🚀 2. Setup Dev Environment
22
20
23
21
First, let's get you set up with a development environment for the lab. The repository is setup with a `devcontainer.json` that provides a pre-build development environment with all tools and dependencies installed. Let's activate that in three steps!
24
22
@@ -47,7 +45,7 @@ _Your development environment is ready - and connected to Azure!_
47
45
48
46
<br/>
49
47
50
-
## 3. Provision Your AI Agents Resources
48
+
## ⚙️ 3. Provision Your AI Agents Resources
51
49
52
50
1. We'll jumpstart our development using the [Get Started With AI Agents](https://github.com/Azure-Samples/get-started-with-ai-agents) template
53
51
1. This provides a solution architecutre with sample code & infrastructure files
@@ -108,7 +106,7 @@ _Let's get this done_
108
106
109
107
<br/>
110
108
111
-
## 4. Set up `.env` variables.
109
+
## ⚙️ 4. Set up `.env` variables.
112
110
113
111
1. Make sure you are authenticated with Azure CLI. We will use this to retrieve and create a `.env` file based on the `scripts/.env.sample` format
114
112
@@ -124,7 +122,7 @@ _Let's get this done_
124
122
125
123
<br/>
126
124
127
-
## 5. Populate Search Data
125
+
## 📊 5. Populate Search Data
128
126
129
127
1. We have Zava data in`scripts/customization`. Let's create a product index in Azure AI Search. Switch to the `scripts/` folder and run the command:
130
128
@@ -138,7 +136,7 @@ _Let's get this done_
138
136
139
137
<br/>
140
138
141
-
## 6. Add Model Choices
139
+
## 🎓 6. Add Model Choices
142
140
143
141
The default AI Agents template will deploy one chat model. The AI Search index creation will require a second text-embedding model.
## 🔄 8. (Optional) Refresh Env From Existing Infra
213
214
214
215
What if you had provisioned infrastructure earlier - but had deleted your Codespaces? Can you _restore_ environment variables from an existing infrastructure?
215
216
216
217
Yes. Note that the `scripts/1-update-env-selfguided.sh` script only needs your subscription and a resource group, and it can retrieve and update your `.env`.
217
218
218
219
<br/>
219
220
220
-
## 5. Complete Your Labs
221
+
## 📚 9. Complete Your Labs
221
222
222
223
_Your infrastructure is now ready! You can now launch the instruction guide and start working through the labs!_.
223
224
@@ -235,7 +236,7 @@ _Your infrastructure is now ready! You can now launch the instruction guide and
235
236
236
237
<br/>
237
238
238
-
## 6. Teardown & Cleanup
239
+
## 🧹 10. Teardown & Cleanup
239
240
240
241
When you are all done with labs, you want to tear down the infrastructure _and_ delete the cloned template sources from your repo. Make sure you are in the `scripts/` folder then run this command:
241
242
@@ -256,4 +257,30 @@ WARNING: This will delete all Azure resources
256
257
Tear down Azure infrastructure? (yes/no):
257
258
```
258
259
259
-
Respond with "yes" - and wait till complete. This will take 15-20 minutes to unprovision the resource group and purge resources. _You can now use the `./1-setup.sh` script if you want to restart install from scratch_.
260
+
Respond with "yes" - and wait till complete. This will take 15-20 minutes to unprovision the resource group and purge resources. _You can now use the `./1-setup.sh` script if you want to restart install from scratch_.
261
+
262
+
---
263
+
264
+
## 🆘 Troubleshooting
265
+
266
+
### Common issues and solutions
267
+
268
+
| Issue | Solution |
269
+
|-------|----------|
270
+
|**Script fails with "Not logged in"**| Run `az login` again and complete authentication |
271
+
|**Resource group not found**| Ensure you're using the correct Azure subscription |
272
+
|**MkDocs won't start**| Try `pip install -r requirements-dev.txt` first |
273
+
|**Notebook kernel not found**| Select the Python kernel from the top-right kernel picker |
274
+
|**Bicep deployment fails**| Navigate to `ForBeginners/.azd-setup` and run `azd up` directly |
275
+
|**Model deployment conflicts**| Wait a few minutes and retry with `azd up`|
276
+
277
+
### Additional resources
278
+
279
+
- �🐛 [Report issues on GitHub](https://github.com/Azure-Samples/ignite25-PREL13/issues)
280
+
- 💬 Join our community on Discord to interact with other developers:
0 commit comments