GroupChatWorkflowBuilder Class
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.
Provides a builder for specifying group chat relationships between agents and building the resulting workflow.
public sealed class GroupChatWorkflowBuilder : Microsoft.Agents.AI.Workflows.OrchestrationBuilderBase<Microsoft.Agents.AI.Workflows.GroupChatWorkflowBuilder>
type GroupChatWorkflowBuilder = class
inherit OrchestrationBuilderBase<GroupChatWorkflowBuilder>
Public NotInheritable Class GroupChatWorkflowBuilder
Inherits OrchestrationBuilderBase(Of GroupChatWorkflowBuilder)
- Inheritance
Properties
| Name | Description |
|---|---|
| Description |
Optional workflow description; applied to the inner WorkflowBuilder at |
| Name |
Optional workflow name; applied to the inner WorkflowBuilder at |
| OutputDesignations |
Memoized output designations. |
Methods
| Name | Description |
|---|---|
| AddParticipants(IEnumerable<AIAgent>) |
Adds the specified |
| ApplyMetadata(WorkflowBuilder) |
Applies the optional Name and Description to |
| ApplyOutputDesignations(WorkflowBuilder, IReadOnlyDictionary<AIAgent,ExecutorBinding>, String, Action) |
Applies the user's memoized output designations to |
| Build() |
Builds a Workflow composed of agents that operate via group chat, with the next agent to process messages selected by the group chat manager. |
| WithDescription(String) |
Sets the description for the workflow. (Inherited from OrchestrationBuilderBase<TBuilder>) |
| WithIntermediateOutputFrom(IEnumerable<AIAgent>) |
Designates the given |
| WithName(String) |
Sets the human-readable name for the workflow. (Inherited from OrchestrationBuilderBase<TBuilder>) |
| WithOutputFrom(IEnumerable<AIAgent>) |
Designates the given |