Skip to content

Commit 17c61a0

Browse files
updated the infra for v4
1 parent 696d511 commit 17c61a0

33 files changed

+263
-1254
lines changed

azure.yaml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,43 @@ hooks:
88
postdeploy:
99
windows:
1010
run: |
11-
Write-Host "To upload Team Configurations to Cosmos. Run the following command in PowerShell:"
12-
Write-Host "infra\scripts\Upload-Team-Config.ps1" -ForegroundColor Cyan
1311
Write-Host ""
14-
Write-Host "To index Sample Data into Azure Search. Run the following command in PowerShell:"
15-
Write-Host "infra\scripts\Process-Sample-Data.ps1" -ForegroundColor Cyan
12+
Write-Host "===============================================================" -ForegroundColor Yellow
13+
Write-Host " POST-DEPLOYMENT STEP (PowerShell) " -ForegroundColor Green
14+
Write-Host "===============================================================" -ForegroundColor Yellow
1615
Write-Host ""
17-
Write-Host "To upload team configurations and index sample data both in one command, you can use the following command in PowerShell:"
18-
Write-Host "infra\scripts\Team-Config-And-Data.ps1" -ForegroundColor Cyan
16+
17+
Write-Host " Upload Team Configurations and index sample data" -ForegroundColor White
18+
Write-Host " 👉 Run the following command in PowerShell:" -ForegroundColor White
19+
Write-Host " infra\scripts\Selecting-Team-Config-And-Data.ps1" -ForegroundColor Cyan
1920
Write-Host ""
20-
Write-Host "You can access the deployed Frontend application at the following URL:"
21-
Write-Host "https://$env:webSiteDefaultHostname" -ForegroundColor Cyan
21+
22+
Write-Host "🌐 Access your deployed Frontend application at:" -ForegroundColor Green
23+
Write-Host " https://$env:webSiteDefaultHostname" -ForegroundColor Cyan
24+
Write-Host ""
25+
2226
shell: pwsh
2327
interactive: true
2428
posix:
2529
run: |
2630
Blue='\033[0;34m'
31+
Green='\033[0;32m'
32+
Yellow='\033[1;33m'
2733
NC='\033[0m'
28-
echo "To upload Team Configurations to Cosmos. Run the following command in Bash:"
29-
echo "${Blue}bash infra/scripts/upload_team_config.sh"
34+
35+
echo ""
36+
echo "${Yellow}==============================================================="
37+
echo "${Green} POST-DEPLOYMENT STEPS (Bash) "
38+
echo "${Yellow}===============================================================${NC}"
3039
echo ""
31-
echo "${NC}To index Sample Data into Azure Search. Run the following command in Bash:"
32-
echo "${Blue}bash infra/scripts/process_sample_data.sh"
40+
41+
echo "Upload Team Configurations and index sample data:"
42+
echo " 👉 Run the following command in Bash:"
43+
echo " ${Blue}bash infra/scripts/selecting_team_config_and_data.sh${NC}"
3344
echo ""
34-
echo "${NC}To upload team configurations and index sample data both in one command, you can use the following command in Bash:"
35-
echo "${Blue}bash infra/scripts/team_config_and_data.sh"
45+
46+
echo "🌐 Access your deployed Frontend application at:"
47+
echo " ${Blue}https://$webSiteDefaultHostname${NC}"
3648
echo ""
37-
echo "${NC}You can access the deployed Frontend application at the following URL:"
38-
echo "${Blue}https://$webSiteDefaultHostname"
3949
shell: sh
4050
interactive: true

azure_custom.yaml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -45,33 +45,43 @@ hooks:
4545
postdeploy:
4646
windows:
4747
run: |
48-
Write-Host "To upload Team Configurations to Cosmos. Run the following command in PowerShell:"
49-
Write-Host "infra\scripts\Upload-Team-Config.ps1" -ForegroundColor Cyan
5048
Write-Host ""
51-
Write-Host "To index Sample Data into Azure Search. Run the following command in PowerShell:"
52-
Write-Host "infra\scripts\Process-Sample-Data.ps1" -ForegroundColor Cyan
49+
Write-Host "===============================================================" -ForegroundColor Yellow
50+
Write-Host " POST-DEPLOYMENT STEP (PowerShell) " -ForegroundColor Green
51+
Write-Host "===============================================================" -ForegroundColor Yellow
5352
Write-Host ""
54-
Write-Host "If you want to run both scripts as single command, you can use the following command in PowerShell:"
55-
Write-Host "infra\scripts\Team-Config-And-Data.ps1" -ForegroundColor Cyan
53+
54+
Write-Host " Upload Team Configurations and index sample data" -ForegroundColor White
55+
Write-Host " 👉 Run the following command in PowerShell:" -ForegroundColor White
56+
Write-Host " infra\scripts\Selecting-Team-Config-And-Data.ps1" -ForegroundColor Cyan
57+
Write-Host ""
58+
59+
Write-Host "🌐 Access your deployed Frontend application at:" -ForegroundColor Green
60+
Write-Host " https://$env:webSiteDefaultHostname" -ForegroundColor Cyan
5661
Write-Host ""
57-
Write-Host "You can access the deployed Frontend application at the following URL:"
58-
Write-Host "https://$env:webSiteDefaultHostname" -ForegroundColor Cyan
62+
5963
shell: pwsh
6064
interactive: true
6165
posix:
6266
run: |
6367
Blue='\033[0;34m'
68+
Green='\033[0;32m'
69+
Yellow='\033[1;33m'
6470
NC='\033[0m'
65-
echo "To upload Team Configurations to Cosmos. Run the following command in Bash:"
66-
echo "${Blue}bash infra/scripts/upload_team_config.sh"
71+
6772
echo ""
68-
echo "${NC}To index Sample Data into Azure Search. Run the following command in Bash:"
69-
echo "${Blue}bash infra/scripts/process_sample_data.sh"
73+
echo "${Yellow}==============================================================="
74+
echo "${Green} POST-DEPLOYMENT STEPS (Bash) "
75+
echo "${Yellow}===============================================================${NC}"
7076
echo ""
71-
echo "${NC}If you want to run both scripts as single command, you can use the following command in Bash:"
72-
echo "${Blue}bash infra/scripts/team_config_and_data.sh"
77+
78+
echo "Upload Team Configurations and index sample data:"
79+
echo " 👉 Run the following command in Bash:"
80+
echo " ${Blue}bash infra/scripts/selecting_team_config_and_data.sh${NC}"
81+
echo ""
82+
83+
echo "🌐 Access your deployed Frontend application at:"
84+
echo " ${Blue}https://$webSiteDefaultHostname${NC}"
7385
echo ""
74-
echo "${NC}You can access the deployed Frontend application at the following URL:"
75-
echo "${Blue}https://$webSiteDefaultHostname"
7686
shell: sh
7787
interactive: true

data/agent_teams/retail.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"use_mcp": false,
1919
"use_bing": false,
2020
"use_reasoning": false,
21-
"index_name": "macae-index",
21+
"index_name": "macae-retail-customer-index",
2222
"index_foundry_name": "",
2323
"index_endpoint": "",
2424
"coding_tools": false
@@ -35,7 +35,7 @@
3535
"use_mcp": false,
3636
"use_bing": false,
3737
"use_reasoning": false,
38-
"index_name": "macae-index",
38+
"index_name": "macae-retail-order-index",
3939
"index_foundry_name": "",
4040
"coding_tools": false
4141
},
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
ReasonForCancellation,Percentage
2+
Service Dissatisfaction,40
3+
Financial Reasons,3
4+
Competitor Offer,15
5+
Moving to a Non-Service Area,5
6+
Other,37
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SurveyID,Date,SatisfactionRating,Comments
2+
O5678,2023-03-16,5,"Loved the summer dress! Fast delivery."
3+
O5970,2023-09-13,4,"Happy with the sportswear. Quick delivery."
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CustomerID,Name,Age,MembershipDuration,TotalSpend,AvgMonthlySpend,PreferredCategories
2+
C1024,Emily Thompson,35,24,4800,200,"Dresses, Shoes, Accessories"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{"InteractionID":"1","Channel":"Live Chat","Date":"2023-06-20","Customer":"Emily Thompson","OrderID":"O5789","Content":["Agent: Hello Emily, how can I assist you today?","Emily: Hi, I just received my order O5789, and wanted to swap it for another colour","Agent: Sure, that's fine- feel free to send it back or change it in store.","Emily: Ok, I'll just send it back then","Agent: Certainly. I've initiated the return process. You'll receive an email with the return instructions.","Emily: Thank you."]}
2+
{"InteractionID":"2","Channel":"Phone Call","Date":"2023-07-25","Customer":"Emily Thompson","OrderID":"O5890","Content":["Agent: Good afternoon, this is Contoso customer service. How may I help you?","Emily: I'm calling about my order O5890. I need the gown for an event this weekend, and just want to make sure it will be delivered on time as it's really important.","Agent: Let me check... it seems like the delivery is on track. It should be there on time.","Emily: Ok thanks."]}
3+
{"InteractionID":"3","Channel":"Email","Date":"2023-09-15","Customer":"Emily Thompson","OrderID":"","Content":["Subject: Membership Cancellation Request","Body: Hello, I want to cancel my Contoso Plus subscription. The cost is becoming too high for me."]}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Campaign,Opened,Clicked,Unsubscribed
2+
Summer Sale,Yes,Yes,No
3+
New Arrivals,Yes,No,No
4+
Exclusive Member Offers,No,No,No
5+
Personal Styling Invite,No,No,No
6+
Autumn Collection Preview,Yes,Yes,No
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TotalPointsEarned,PointsRedeemed,CurrentPointBalance,PointsExpiringNextMonth
2+
4800,3600,1200,1200
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Month,PositiveMentions,NegativeMentions,NeutralMentions
2+
March,500,50,200
3+
April,480,60,220
4+
May,450,80,250
5+
June,400,120,300
6+
July,350,150,320
7+
August,480,70,230
8+
September,510,40,210

0 commit comments

Comments
 (0)