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
Copy file name to clipboardExpand all lines: fern/squads.mdx
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@ subtitle: Use Squads to handle complex workflows and tasks.
4
4
slug: squads
5
5
---
6
6
7
-
Squads let you break complex workflows into multiple specialized assistants that hand off to each other during a conversation. Each assistant in a Squad handles a specific part of your workflow—like one assistant for lead qualification that transfers to another for appointment booking.
7
+
Squads let you break complex workflows into multiple specialized assistants that hand off to each other during a conversation. Each assistant in a Squad handles a specific part of your workflow; for example, one assistant for lead qualification that transfers to another for appointment booking.
8
8
9
9
**Why use Squads?** Large, all-in-one assistants with lengthy prompts and extensive context lead to:
10
-
-**Higher hallucination rates** - Models lose focus with too many and sometimes conflicting instructions
10
+
-**Higher hallucination rates** - Models lose focus with too many and potentially conflicting instructions
11
11
-**Increased costs** - Longer prompts consume more tokens per request
12
12
-**Greater latency** - Processing large contexts takes more time and will increase the latency of your assistant.
13
13
@@ -20,14 +20,14 @@ Squads solve this by splitting complex prompts into focused assistants with spec
20
20
## Usage
21
21
22
22
To use Squads, you can create a `squad` when starting a call and specify `members` as a list of assistants and destinations.
23
+
24
+
<Info>
23
25
The first member is the assistant that will start the call, and assistants can be either persistent or transient.
26
+
</Info>
24
27
25
28
We recommend using [Handoff Tools](/tools/handoff) to specify which destinations the current assistant can handoff too, and when to handoff to each assistant. Each assistant within the squad can use its saved handoff tools as well as handoff tools from Assistant Overrides (see below).
@@ -137,6 +137,9 @@ You may also define inline tools via assistant overrides through the `model` obj
137
137
138
138
### Member Overrides
139
139
To override the configuration of _all_ assistants without modifying the underlying assistants, use the `memberOverrides`.
140
+
<Info>
141
+
Note: This is `squadOverrides` for [`assistant-request`](api-reference/webhooks/server-message#response.body.messageResponse.AssistantRequest.squadOverrides)
0 commit comments