Skip to content

Commit b21dc93

Browse files
authored
Merge pull request #7 from MicrosoftCloudEssentials-LearningHub/multi-agent-by-default
multi-agent deployment by default
2 parents 521a5e3 + 5b1671a commit b21dc93

19 files changed

Lines changed: 502 additions & 361 deletions

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ Last updated: 2025-11-12
99

1010
----------
1111

12-
1312
> [!IMPORTANT]
1413
> Disclaimer: This repository contains a demo of `Zava AI Shopping Assistant`, a multi-agent system designed for e-commerce. It features a fully automated `"Zero-Touch" deployment` pipeline orchestrated by Terraform, which `provisions infrastructure, ingests data, creates real AI agents in Azure AI Foundry, and deploys the application container.` Please refer [TechWorkshop L300: AI Apps and Agents](https://microsoft.github.io/TechWorkshop-L300-AI-Apps-and-agents/), and if needed contact Microsoft directly: [Microsoft Sales and Support](https://support.microsoft.com/contactus?ContactUsExperienceEntryPointAssetId=S.HP.SMC-HOME) more guindace. There are tons of free resources out there, all eager to support!
1514
1615
<img width="1905" height="1086" alt="image" src="https://github.com/user-attachments/assets/5cd2776f-4606-45c2-9482-53ff2d4df74e" />
1716

18-
## Key Features
17+
## Key Features
1918

2019
- **Multi-Agent Architecture**: Few specialized AI agents working in concert:
2120
- **Cora (Shopper)**: Front-facing assistant for general queries.
@@ -63,11 +62,11 @@ graph TD
6362
- Sets up a Python virtual environment.
6463
- Ingests `product_catalog.csv` into Cosmos DB.
6564

66-
https://github.com/user-attachments/assets/41bf0976-0ca8-47fe-a2fa-8750bcc6f848
65+
<https://github.com/user-attachments/assets/41bf0976-0ca8-47fe-a2fa-8750bcc6f848>
6766

6867
- Creates and populates an Azure AI Search index with vector embeddings.
6968

70-
https://github.com/user-attachments/assets/37c4a8cd-73e1-4392-8755-fb018481d8cb
69+
<https://github.com/user-attachments/assets/37c4a8cd-73e1-4392-8755-fb018481d8cb>
7170

7271
3. **Agent Creation**:
7372
- Installs the `azure-ai-projects` SDK.
@@ -91,14 +90,14 @@ graph TD
9190
- Visit `https://<your-app-name>.azurewebsites.net`.
9291
- You should see the Zava chat interface.
9392

94-
https://github.com/user-attachments/assets/a1139528-6b37-4ac2-a1cb-771788ff45a4
93+
<https://github.com/user-attachments/assets/a1139528-6b37-4ac2-a1cb-771788ff45a4>
9594

9695
2. **Verify Agents**:
9796
- Go to the [Azure AI Foundry Portal](https://ai.azure.com).
9897
- Navigate to your project -> **Build** -> **Agents**.
9998
- You should see all 5 agents listed.
10099

101-
https://github.com/user-attachments/assets/3c562ccd-cff3-4a30-b9f8-44111fb71113
100+
<https://github.com/user-attachments/assets/3c562ccd-cff3-4a30-b9f8-44111fb71113>
102101

103102
3. **Test Interactions**: For example:
104103
- **General**: "Hi, who are you?" (Handled by Cora)

TROUBLESHOOTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ terraform apply
347347

348348
<!-- START BADGE -->
349349
<div align="center">
350-
<img src="https://img.shields.io/badge/Total%20views-1557-limegreen" alt="Total views">
351-
<p>Refresh Date: 2025-11-28</p>
350+
<img src="https://img.shields.io/badge/Total%20views-1586-limegreen" alt="Total views">
351+
<p>Refresh Date: 2025-11-29</p>
352352
</div>
353353
<!-- END BADGE -->

src/.dockerignore

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Python
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
*.so
6+
.Python
7+
*.egg-info/
8+
dist/
9+
build/
10+
venv/
11+
env/
12+
ENV/
13+
14+
# IDE
15+
.vscode/
16+
.idea/
17+
*.swp
18+
*.swo
19+
*~
20+
21+
# OS
22+
.DS_Store
23+
Thumbs.db
24+
25+
# Git
26+
.git/
27+
.gitignore
28+
29+
# Environment
30+
.env.local
31+
.env.*.local
32+
33+
# Testing
34+
.pytest_cache/
35+
.coverage
36+
htmlcov/
37+
38+
# Logs
39+
*.log
40+
41+
# Data (if you don't need this in container)
42+
data/
43+
44+
# Terraform
45+
terraform-infrastructure/

src/DATA_PIPELINE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ az search index show-statistics \
277277

278278
<!-- START BADGE -->
279279
<div align="center">
280-
<img src="https://img.shields.io/badge/Total%20views-1557-limegreen" alt="Total views">
281-
<p>Refresh Date: 2025-11-28</p>
280+
<img src="https://img.shields.io/badge/Total%20views-1586-limegreen" alt="Total views">
281+
<p>Refresh Date: 2025-11-29</p>
282282
</div>
283283
<!-- END BADGE -->

src/app/agents/agents_state.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
{
22
"cora": {
3-
"id": "asst_xPTPWSqJrKKTxhweUZMwXxNb",
3+
"id": "asst_PlBscdXbszB9KSwdKsY4O2ft",
44
"hash": "ec1323afb9692d92de14373b05eb60026bb3738f5fb3303976f74d5c40536092",
5-
"status": "created"
5+
"status": "existing"
66
},
77
"interior_designer": {
8-
"id": "asst_6YVlwwf9MRv91UCEZhKXYggr",
8+
"id": "asst_RbfreBvHmlR1JVPvUjfMRGvX",
99
"hash": "0fbee2d10b87eee5a9d0bd87a9d7af60f327c9093edd47d8e6683505db5aabba",
10-
"status": "created"
10+
"status": "existing"
1111
},
1212
"inventory_agent": {
13-
"id": "asst_cFo2Nh5ncBmw9ZimlOkzBITv",
13+
"id": "asst_nZQaxH8eRuZywig5umn4OHfA",
1414
"hash": "87deafceb6532b78ef075dd0e084909c4177286a0808cb9755c9a289f0076ba3",
15-
"status": "created"
15+
"status": "existing"
1616
},
1717
"customer_loyalty": {
18-
"id": "asst_4yiWqVI0AyJ46yKFwpnNjRrS",
18+
"id": "asst_DMnuT808C6ydiTwmgWLnwXz8",
1919
"hash": "1e0ffd8c5b4dac8cd247b90966b513f89b5c1c366edd476ca164d27b86dc276c",
20-
"status": "created"
20+
"status": "existing"
2121
},
2222
"cart_manager": {
23-
"id": "asst_QChARJsqcQrWKLRhOUt7ojOG",
23+
"id": "asst_2PzHUwpLAFoT2KIlGd45xrg3",
2424
"hash": "bd3985311b2b5e0d4d88ae4583c5c3b36113d6ddbbee67e6d36924f34292ccab",
25-
"status": "created"
25+
"status": "existing"
2626
}
2727
}

src/app/agents/cartManagerAgent_initializer.py

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

src/app/agents/customerLoyaltyAgent_initializer.py

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

0 commit comments

Comments
 (0)