Skip to content

Add MicroHack 12: Contact Center Agents (voice-first customer service) - #590

Merged
Marco Weber (qxsch) merged 4 commits into
microsoft:mainfrom
Digvijay:feature/contact-center-agents
Nov 2, 2026
Merged

Marco Weber (qxsch) merged 4 commits into
microsoft:mainfrom
Digvijay:feature/contact-center-agents

Conversation

@Digvijay

Copy link
Copy Markdown

What

New MicroHack in 03-Azure/01-04-AI/12_Contact_Center: Contact Center Agents: Voice-First Customer Service.

Participants run the contact center for a fictional company in the industry they choose (telco, energy, banking, insurance or retail) and build it in the Foundry portal, low-code:

Challenge What they build
1 Load an industry pack; Foundry IQ knowledge base with paragraph citations
2 Foundry voice agent and a chat twin
3 Actions in a mock CRM through an OpenAPI tool (toolbox for voice); identity checked by the CRM; tool calls in Traces
4 Guardrail (jailbreak, indirect attacks, phrase blocklist on output), care for vulnerable customers, conversational PII redaction
5 Handoff to a person with a summary; agent-assist copilot
6 Content Understanding call center analyzer, a custom scorecard in CU Studio, and a supervisor insights agent
7 Evaluations with built-in evaluators and a statistical comparison of two runs
8 (stretch) Voice preview web app, and a small chat page (Codespaces or local)
Finish Business case and clean-up

Contents

  • Five fictional industry packs: knowledge articles, CRM data, two-voice MP3 calls generated with Azure AI Speech, a week of contacts and evaluation sets. Postcodes use the unused ZZ area.
  • Setup tool (python3 -m contactcenter), mock CRM (standard-library WSGI on Azure Functions Flex Consumption), small chat page (web/).
  • Lab automation: infra/main.bicep + labautomation/deploy-lab.ps1 (Foundry with gpt-5.4-mini, gpt-5.4 for the call center analyzer and text-embedding-3-large; Search; Storage; the CRM; Application Insights connected to the project for agent traces).
  • Coach walkthroughs with expected results per pack and troubleshooting.
  • Codespaces devcontainer (.devcontainer/03-azure-01-04-ai-12-contact-center) and the hack's line in 03-Azure/01-04-AI/Readme.md.

Validation

  • Full participant run through the portal on a live lab in uksouth, challenge by challenge; every screenshot in the challenges comes from that run.
  • 46 tests (CRM, setup tool, chat page, content and template checks).
  • az bicep build clean; lab deployed and redeployed with dev/run-local.ps1.

Known limits, documented in the walkthroughs:

  • Content-harm safety evaluators are not available in uksouth and show Error.
  • Codespaces cannot be opened by enterprise-managed users on a personal fork; the page also runs locally.

Digvijay Chauhan and others added 4 commits October 30, 2026 19:40
A voice-first, low-code contact center lab on Microsoft Foundry. Participants
choose one of five fictional industry packs (telco, energy, bank, insurance,
retail) and build:

- a Foundry voice agent and a chat twin grounded in a Foundry IQ knowledge
  base with paragraph citations
- actions in a mock CRM (Azure Functions Flex Consumption) through an
  OpenAPI tool, with identity checks enforced by the CRM
- guardrails (Prompt Shields, indirect attacks, a phrase blocklist), care
  rules for vulnerable customers and conversational PII redaction
- handoff to a person with a summary, and an agent-assist copilot
- post-contact analytics with the Content Understanding call center
  analyzer and a custom scorecard, plus a supervisor insights agent
- evaluations with built-in evaluators and a statistical comparison of runs
- stretch: the voice preview web app and a small chat page

Includes coach walkthroughs with results from a full participant run in the
portal, lab automation (Bicep, deploy-lab.ps1: models incl. gpt-5.4 for the
call center analyzer, Search, Storage, CRM, Application Insights connected
for agent traces), a Codespaces devcontainer, diagrams and 46 tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Frosted-glass redaction of user name, account, tenant label, avatar and tenant ID in 10 screenshots.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- labautomation/shared-deploy-lab.ps1 registers the resource providers that infra/main.bicep deploys, once per subscription before the labs start, and waits for them. Participants own only their resource group and cannot register a provider. Best-effort: a provider that cannot be registered is reported with the fix command instead of stopping every lab.
- dev/run-local.ps1 runs it first, as the platform does. README updated.
- Tested with the platform helper module (adminpwsh image) and with dev/run-local.ps1.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Digvijay

Copy link
Copy Markdown
Author

Marco Weber (@qxsch) could you review this when you have time? Hack 12 (Contact Center) is complete: full participant run in the portal, redacted screenshots, 46 tests, and provisioning tested with dev/run-local.ps1 including the new shared-deploy-lab.ps1 that registers the resource providers. Thank you!

@qxsch
Marco Weber (qxsch) merged commit 4666ac9 into microsoft:main Nov 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants