Skip to content

Commit ec5270c

Browse files
committed
Fixing PR Review issues
1 parent 4282754 commit ec5270c

8 files changed

Lines changed: 85 additions & 85 deletions

learn-pr/wwl/design-overall-ai-strategy-business-solutions/includes/11-develop-use-cases-customized-small-language-models-solution.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Recent advances in SLMs such as **Phi3** demonstrate performance previously asso
66

77
Customized SLMs allow organizations to:
88

9-
- Improve accuracy on domain-specific tasks
9+
- Improve accuracy on domain-specific tasks.
1010

11-
- Embed specialized reasoning safely within enterprise environments
11+
- Embed specialized reasoning safely within enterprise environments.
1212

13-
- Reduce cost vs. large model fine-tuning
13+
- Reduce cost vs. large model fine-tuning.
1414

15-
- Enable offline or near-edge operation for compliance or performance
15+
- Enable offline or near-edge operation for compliance or performance.
1616

1717
SLMs have the advantage with specific factors such as cost, latency, and control. But it's a common misconception that they're always safer than LLMs and always reduce incorrect information. It's important as an architect to determine when an SLM will make more sense than a large model and considerations such as risks of over-using SLMs in an organization.
1818

@@ -50,13 +50,13 @@ SLMs minimize incorrect information by constraining model behavior around enterp
5050

5151
When latency, cost, or compute footprint matters:
5252

53-
- Mobile, IoT, or edge devices
53+
- Mobile, IoT, or edge devices.
5454

55-
- High-volume inference environments
55+
- High-volume inference environments.
5656

57-
- Real-time analytics or decision systems
57+
- Real-time analytics or decision systems.
5858

59-
- Scenarios with intermittent or restricted connectivity
59+
- Scenarios with intermittent or restricted connectivity.
6060

6161
SLMs reduce memory footprint significantly and ensure inference remains cost-predictable.
6262

@@ -94,11 +94,11 @@ SLMs can be tuned to reflect organizational structured knowledge patterns.
9494

9595
SLMs can serve as orchestrators or planners when:
9696

97-
- Low-cost chain-of-thought reasoning is required
97+
- Low-cost chain-of-thought reasoning is required.
9898

99-
- Multi-agent architectures rely on distributed reasoning
99+
- Multi-agent architectures rely on distributed reasoning.
100100

101-
- Workflow routing requires domain logic
101+
- Workflow routing requires domain logic.
102102

103103
SLMs with tuned reasoning outperform larger general-purpose models in specialized environments.
104104

@@ -142,11 +142,11 @@ It's important to keep common pitfalls and risks in mind when identifying whethe
142142

143143
### Data requirements
144144

145-
- High-quality curated datasets
145+
- High-quality curated datasets.
146146

147-
- Domain-specific terminology and structured examples
147+
- Domain-specific terminology and structured examples.
148148

149-
- Clean and labeled text corpora
149+
- Clean and labeled text corpora.
150150

151151
### Safety & governance requirements
152152

@@ -176,7 +176,7 @@ When evaluating an SLM, architects can measure its success through specific metr
176176

177177
- Drift or degradation over time
178178

179-
**References (URLs you provided)**
179+
**References**
180180

181181
- [Small Language Models for Application Interactions: A Case Study](https://arxiv.org/pdf/2405.20347)
182182

learn-pr/wwl/design-overall-ai-strategy-business-solutions/includes/4-design-multi-agent-solution.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22

33
By the end of this unit, learners will be able to:
44

5-
- Apply a decision framework to choose **single-agent vs. multi-agent** architectures and justify the tradeoffs in security, scale, latency, cost, and operability
6-
- Select the **right platform** for each agent role—**Microsoft 365 Copilot (SaaS)**, **Copilot Studio (low-code SaaS)**, or **Microsoft Foundry (pro-code PaaS/IaaS)**—and define clear boundaries and contracts between agents
7-
- Orchestrate collaborating agents using proven **orchestration patterns** (sequential, concurrent, group chat, handoff, and Magentic) and implement them with the **Microsoft Agent Framework SDK**
8-
- Design a **connected agents** solution that assigns specialized roles and tools to each agent and validates the design through iterative prototyping
5+
- Apply a decision framework to choose **single-agent vs. multi-agent** architectures and justify the tradeoffs in security, scale, latency, cost, and operability.
6+
- Select the **right platform** for each agent role—**Microsoft 365 Copilot (SaaS)**, **Copilot Studio (low-code SaaS)**, or **Microsoft Foundry (pro-code PaaS/IaaS)**—and define clear boundaries and contracts between agents.
7+
- Orchestrate collaborating agents using proven **orchestration patterns** (sequential, concurrent, group chat, handoff, and Magentic) and implement them with the **Microsoft Agent Framework SDK**.
8+
- Design a **connected agents** solution that assigns specialized roles and tools to each agent and validates the design through iterative prototyping.
99

1010
## When to use multi-agent and when not to
1111

1212
**Start simple, scale when the evidence requires it.** A **single-agent** design consolidates logic, reduces coordination overhead, and simplifies governance—ideal when the domain is bounded, time-to-value is critical, and operating costs must be minimized. In contrast, **multi-agent** systems decompose responsibilities across specialized agents to enforce separation of concerns, align with team boundaries, and scale across domains—at the cost of added orchestration, latency at handoffs, and a larger security surface.
1313

1414
**Choose multi-agent first when at least one of these is true**:
1515

16-
- You must **cross security or compliance boundaries** (for example, strict data classifications or separation of duties)
16+
- You must **cross security or compliance boundaries** (for example, strict data classifications or separation of duties).
1717

18-
- Multiple teams own distinct knowledge, data, or release cycles that benefit from **decoupled agents**
18+
- Multiple teams own distinct knowledge, data, or release cycles that benefit from **decoupled agents**.
1919

20-
- The roadmap clearly demands **future expansion** across 3-5+ functions—modularity avoids later refactors
20+
- The roadmap clearly demands **future expansion** across 3-5+ functions—modularity avoids later refactors.
2121

22-
- The business requirements dictate a series of actions occur with multiple dependencies across two or more workstreams
22+
- The business requirements dictate a series of actions occur with multiple dependencies across two or more workstreams.
2323

2424
**Otherwise, validate with a single agent** before adding orchestration. Many "multi-agent" needs can be met with **persona switching**, improved retrieval, policy controls, or a larger context window.
2525

@@ -65,15 +65,15 @@ When agents collaborate, adopt **explicit orchestration** rather than ad hoc cha
6565

6666
A robust multi-agent solution in **Foundry** follows these steps:
6767

68-
- **Define the main agent** (mission, guardrails, success metrics) and its **tooling** (retrieval sources, actions, evaluators)
68+
- **Define the main agent** (mission, guardrails, success metrics) and its **tooling** (retrieval sources, actions, evaluators).
6969

70-
- **Identify connected agents** by role (for example, _Planner_, _Researcher_, _Reviewer_, _Actuator_), each with a minimal instruction set, scoped permissions, and well-defined inputs/outputs
70+
- **Identify connected agents** by role (for example, _Planner_, _Researcher_, _Reviewer_, _Actuator_), each with a minimal instruction set, scoped permissions, and well-defined inputs/outputs.
7171

72-
- **Model collaboration**: choose orchestration patterns (above), define interface contracts, and design state handoffs (IDs, evidence, citations)
72+
- **Model collaboration**: choose orchestration patterns (above), define interface contracts, and design state handoffs (IDs, evidence, citations).
7373

74-
- **Prototype quickly**: build a **connected agents** sample, run scenario tests, and measure latency, cost, accuracy, and alignment
74+
- **Prototype quickly**: build a **connected agents** sample, run scenario tests, and measure latency, cost, accuracy, and alignment.
7575

76-
- **Iterate**: prune redundant agents, consolidate roles when evidence shows a single agent suffices, and strengthen evaluation gates
76+
- **Iterate**: prune redundant agents, consolidate roles when evidence shows a single agent suffices, and strengthen evaluation gates.
7777

7878
### Evaluation checkpoints
7979

@@ -87,9 +87,9 @@ A robust multi-agent solution in **Foundry** follows these steps:
8787

8888
- Are **observability hooks** (spans, events, metrics) in place at every handoff?
8989

90-
- Does the main agent use natural language to route tasks, eliminating the need for hardcoded logic
90+
- Does the main agent use natural language to route tasks, eliminating the need for hardcoded logic?
9191

92-
- Are the agents configured using a no-code interface in the Foundry portal or programmatically via the Python SDK
92+
- Are the agents configured using a no-code interface in the Foundry portal or programmatically via the Python SDK?
9393

9494
## Reference architecture
9595

@@ -121,11 +121,11 @@ A robust multi-agent solution in **Foundry** follows these steps:
121121

122122
## Summary
123123

124-
- Prefer **single-agent** for bounded domains and speed; adopt **multi-agent** when **security boundaries**, **team structures**, or **roadmap growth** require modularity
124+
- Prefer **single-agent** for bounded domains and speed; adopt **multi-agent** when **security boundaries**, **team structures**, or **roadmap growth** require modularity.
125125

126-
- Use **Microsoft 365 Copilot** for inflow value, **Copilot Studio** for rapid business workflows, and **Foundry** for **connected, pro-code** orchestration
126+
- Use **Microsoft 365 Copilot** for inflow value, **Copilot Studio** for rapid business workflows, and **Foundry** for **connected, pro-code** orchestration.
127127

128-
- Implement explicit **orchestration patterns** with the **Microsoft Agent Framework SDK** for reliability and transparency
128+
- Implement explicit **orchestration patterns** with the **Microsoft Agent Framework SDK** for reliability and transparency.
129129

130130
## References
131131

learn-pr/wwl/design-overall-ai-strategy-business-solutions/includes/6-define-solution-rules-constraints-building-ai-components.md

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ This unit guides solution architects through defining **solution rules and archi
66

77
By the end of this unit, learners will be able to:
88

9-
- Identify how platform differences influence architectural constraints
10-
- Define required guardrails for data, actions, and tool access
11-
- Decide how to establish solution-level rules for responsible behavior
12-
- Decide how to define environment, networking, and operational constraints
13-
- Decide how to create a unified rule framework across Copilot Studio and Foundry
9+
- Identify how platform differences influence architectural constraints.
10+
- Define required guardrails for data, actions, and tool access.
11+
- Decide how to establish solution-level rules for responsible behavior.
12+
- Decide how to define environment, networking, and operational constraints.
13+
- Decide how to create a unified rule framework across Copilot Studio and Foundry.
1414

1515
## Architectural foundations and platform roles
1616

@@ -32,13 +32,13 @@ Copilot Studio provides a **low-code environment** for building task and retriev
3232

3333
#### Solution rules
3434

35-
- Use Copilot Studio for **workflow-bounded**, **task-driven**, or **information retrieval** scenarios
35+
- Use Copilot Studio for **workflow-bounded**, **task-driven**, or **information retrieval** scenarios.
3636

37-
- Apply strict **connector scoping** to control data exposure
37+
- Apply strict **connector scoping** to control data exposure.
3838

39-
- Define **task boundaries** that prevent the agent from making high-impact decisions
39+
- Define **task boundaries** that prevent the agent from making high-impact decisions.
4040

41-
- Ensure prompt instructions reflect organizational policies
41+
- Ensure prompt instructions reflect organizational policies.
4242

4343
### Microsoft Foundry
4444

@@ -56,35 +56,35 @@ Foundry supports **pro-code, high-complexity AI applications** and multi-agent s
5656

5757
#### Solution rules
5858

59-
- Use Foundry for **complex reasoning**, **multi-agent orchestration**, or **custom tool integration**
59+
- Use Foundry for **complex reasoning**, **multi-agent orchestration**, or **custom tool integration**.
6060

61-
- Define strict **action boundaries** for tools that modify systems or trigger workflows
61+
- Define strict **action boundaries** for tools that modify systems or trigger workflows.
6262

63-
- Apply **evaluation pipelines** to audit safety, correctness, and drift
63+
- Apply **evaluation pipelines** to audit safety, correctness, and drift.
6464

65-
- Use **role separation** so each agent has scoped permissions
65+
- Use **role separation** so each agent has scoped permissions.
6666

6767
### Foundry tools
6868

6969
Foundry Tools include model catalogs, tool APIs, agent orchestration frameworks, evaluation utilities, and developer SDKs. They provide a versatile foundation but require carefully defined rules.
7070

7171
#### Key constraints
7272

73-
- Developers must manage memory lifetime, context, and data sensitivity
73+
- Developers must manage memory lifetime, context, and data sensitivity.
7474

75-
- Agents can call external tools, making permissioning critical
75+
- Agents can call external tools, making permissioning critical.
7676

77-
- Orchestration complexity increases with multi-agent designs
77+
- Orchestration complexity increases with multi-agent designs.
7878

7979
#### Solution rules
8080

81-
- Implement **least-privilege** permissions for each tool
81+
- Implement **least-privilege** permissions for each tool.
8282

83-
- Use evaluation tools to test **failure cases** and **undesirable behavior**
83+
- Use evaluation tools to test **failure cases** and **undesirable behavior**.
8484

85-
- Define **clear escalation rules** for when an agent must defer to humans
85+
- Define **clear escalation rules** for when an agent must defer to humans.
8686

87-
- Document all tool integrations with security and auditing considerations
87+
- Document all tool integrations with security and auditing considerations.
8888

8989
## Data constraints and governance boundaries
9090

@@ -94,29 +94,29 @@ Solution architects must define explicit guardrails around data to avoid overexp
9494

9595
#### Rules
9696

97-
- Provide agents **only the data they require**
97+
- Provide agents **only the data they require**.
9898

99-
- Mask sensitive fields where retrieval is needed but full data is unnecessary
99+
- Mask sensitive fields where retrieval is needed but full data is unnecessary.
100100

101-
- Limit grounding sources to curated, authoritative datasets
101+
- Limit grounding sources to curated, authoritative datasets.
102102

103-
- For generative tasks, enforce constraints on what content agents can produce
103+
- For generative tasks, enforce constraints on what content agents can produce.
104104

105105
#### Data movement and storage constraints
106106

107-
- Prevent persistent storage of messages unless compliance requires it
107+
- Prevent persistent storage of messages unless compliance requires it.
108108

109-
- Define memory policy (ephemeral vs. persistent)
109+
- Define memory policy (ephemeral vs. persistent).
110110

111-
- Restrict cross-domain data access (HR, Finance, Legal)
111+
- Restrict cross-domain data access (HR, Finance, Legal).
112112

113113
#### Compliance and regulatory constraints
114114

115-
- Agents must conform to organizational regulatory obligations
115+
- Agents must conform to organizational regulatory obligations.
116116

117-
- High-risk tasks (financial approvals, legal drafting, health decisions) require human review
117+
- High-risk tasks (financial approvals, legal drafting, health decisions) require human review.
118118

119-
- Enable mandatory auditing for tool invocation
119+
- Enable mandatory auditing for tool invocation.
120120

121121
## Behavioral rules and responsible AI constraints
122122

@@ -132,45 +132,45 @@ Define what an agent is _allowed_ and _not allowed_ to do.
132132
- "Agent may not decide"
133133
- "Agent may not execute financial transactions"
134134

135-
- Include disallowed behaviors aligned to security, privacy, and safety policies
135+
- Include disallowed behaviors aligned to security, privacy, and safety policies.
136136

137-
- Use structured instructions to prevent unsafe improvisation
137+
- Use structured instructions to prevent unsafe improvisation.
138138

139139
#### Responsible AI (RAI) controls
140140

141-
- Mandate use of bias and safety evaluation pipelines
141+
- Mandate use of bias and safety evaluation pipelines.
142142

143-
- Apply strict instructions for citing sources, representing facts, and avoiding incorrect information
143+
- Apply strict instructions for citing sources, representing facts, and avoiding incorrect information.
144144

145-
- Require human-in-the-loop checkpoints for high-impact actions
145+
- Require human-in-the-loop checkpoints for high-impact actions.
146146

147147
## Environment, deployment, and networking constraints
148148

149149
### Environment rules
150150

151-
- Copilot Studio: Operates inside Microsoft 365 tenant boundary; isolated per environment
151+
- Copilot Studio: Operates inside Microsoft 365 tenant boundary; isolated per environment.
152152

153-
- Foundry: Requires architected deployment environment (VNet, private endpoints, region constraints)
153+
- Foundry: Requires architected deployment environment (VNet, private endpoints, region constraints).
154154

155155
- Microsoft 365 Copilot: Operates inside Microsoft 365 tenant boundary; operates within the company tenant.
156156

157-
- Ensure separation of development, testing, and production with dedicated configurations
157+
- Ensure separation of development, testing, and production with dedicated configurations.
158158

159159
### Networking constraints
160160

161-
- For Foundry: use private networking for confidential workloads
161+
- For Foundry: use private networking for confidential workloads.
162162

163-
- Restrict external tool calls to allow domains
163+
- Restrict external tool calls to allow domains.
164164

165-
- Require API isolation for sensitive system integrations
165+
- Require API isolation for sensitive system integrations.
166166

167167
### Operational constraints
168168

169-
- Establish SLOs for reliability, latency, and throughput
169+
- Establish SLOs for reliability, latency, and throughput.
170170

171-
- Require agent health monitoring and incident response plans
171+
- Require agent health monitoring and incident response plans.
172172

173-
- Mandate rollback and failsafe procedures
173+
- Mandate rollback and failsafe procedures.
174174

175175
## Unified rule framework across platforms
176176

0 commit comments

Comments
 (0)