AgentWorkflowBuilder.BuildSequential Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| BuildSequential(IEnumerable<AIAgent>) |
Builds a Workflow composed of a pipeline of agents where the output of one agent is the input to the next. |
| BuildSequential(String, IEnumerable<AIAgent>) |
Builds a Workflow composed of a pipeline of agents where the output of one agent is the input to the next. |
BuildSequential(IEnumerable<AIAgent>)
Builds a Workflow composed of a pipeline of agents where the output of one agent is the input to the next.
public static Microsoft.Agents.AI.Workflows.Workflow BuildSequential(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.AIAgent> agents);
static member BuildSequential : seq<Microsoft.Agents.AI.AIAgent> -> Microsoft.Agents.AI.Workflows.Workflow
Public Shared Function BuildSequential (agents As IEnumerable(Of AIAgent)) As Workflow
Parameters
- agents
- IEnumerable<AIAgent>
The sequence of agents to compose into a sequential workflow.
Returns
The built workflow composed of the supplied agents, in the order in which they were yielded from the source.
Applies to
BuildSequential(String, IEnumerable<AIAgent>)
Builds a Workflow composed of a pipeline of agents where the output of one agent is the input to the next.
public static Microsoft.Agents.AI.Workflows.Workflow BuildSequential(string workflowName, System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.AIAgent> agents);
static member BuildSequential : string * seq<Microsoft.Agents.AI.AIAgent> -> Microsoft.Agents.AI.Workflows.Workflow
Public Shared Function BuildSequential (workflowName As String, agents As IEnumerable(Of AIAgent)) As Workflow
Parameters
- workflowName
- String
The name of workflow.
- agents
- IEnumerable<AIAgent>
The sequence of agents to compose into a sequential workflow.
Returns
The built workflow composed of the supplied agents, in the order in which they were yielded from the source.