AgentWorkflowBuilder.CreateSequentialBuilderWith 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.
Creates a new SequentialWorkflowBuilder with the given pipeline of agents.
public static Microsoft.Agents.AI.Workflows.SequentialWorkflowBuilder CreateSequentialBuilderWith(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.AIAgent> agents);
static member CreateSequentialBuilderWith : seq<Microsoft.Agents.AI.AIAgent> -> Microsoft.Agents.AI.Workflows.SequentialWorkflowBuilder
Public Shared Function CreateSequentialBuilderWith (agents As IEnumerable(Of AIAgent)) As SequentialWorkflowBuilder
Parameters
- agents
- IEnumerable<AIAgent>
The sequence of agents to compose into a sequential workflow.
Returns
The builder for creating a sequential workflow.