structured_team
Class info¶
Classes¶
Name | Children | Inherits |
---|---|---|
StructuredTeam llmling_agent.delegation.structured_team A team that produces typed/structured output through a processor node. |
||
TeamRun llmling_agent.delegation.teamrun Handles team operations with monitoring. |
🛈 DocStrings¶
StructuredTeam
¶
A team that produces typed/structured output through a processor node.
Source code in src/llmling_agent/delegation/structured_team.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
|
__init__
¶
__init__(
worker: MessageNode[Any, Any],
processor: AnyAgent[Any, TResult],
*,
name: str | None = None,
description: str | None = None,
)
Initialize structured team.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
worker
|
MessageNode[Any, Any]
|
The node doing the main work |
required |
processor
|
AnyAgent[Any, TResult]
|
Node that processes/validates the output |
required |
name
|
str | None
|
Optional name for this team |
None
|
description
|
str | None
|
Optional description |
None
|
Source code in src/llmling_agent/delegation/structured_team.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|