MagenticWorkflowBuilder.AddParticipants(IEnumerable<AIAgent>) 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.
Adds the specified agents as participants to the group chat workflow.
public Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder AddParticipants(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.AIAgent> agents);
member this.AddParticipants : seq<Microsoft.Agents.AI.AIAgent> -> Microsoft.Agents.AI.Workflows.MagenticWorkflowBuilder
Public Function AddParticipants (agents As IEnumerable(Of AIAgent)) As MagenticWorkflowBuilder
Parameters
- agents
- IEnumerable<AIAgent>
The agents to add as participants.
Returns
This instance of the GroupChatWorkflowBuilder.