OrchestrationBuilderBase<TBuilder>.ApplyOutputDesignations 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.
Applies the user's memoized output designations to builder, or invokes
applyDefaults if the user made no explicit designation.
protected void ApplyOutputDesignations(Microsoft.Agents.AI.Workflows.WorkflowBuilder builder, System.Collections.Generic.IReadOnlyDictionary<Microsoft.Agents.AI.AIAgent,Microsoft.Agents.AI.Workflows.ExecutorBinding> agentMap, string orchestrationKind, Action applyDefaults);
member this.ApplyOutputDesignations : Microsoft.Agents.AI.Workflows.WorkflowBuilder * System.Collections.Generic.IReadOnlyDictionary<Microsoft.Agents.AI.AIAgent, Microsoft.Agents.AI.Workflows.ExecutorBinding> * string * Action -> unit
Protected Sub ApplyOutputDesignations (builder As WorkflowBuilder, agentMap As IReadOnlyDictionary(Of AIAgent, ExecutorBinding), orchestrationKind As String, applyDefaults As Action)
Parameters
- builder
- WorkflowBuilder
The inner WorkflowBuilder.
- agentMap
- IReadOnlyDictionary<AIAgent,ExecutorBinding>
Map from participating AIAgent to its bound executor.
- orchestrationKind
- String
Used in the not-a-participant error message (e.g. "sequential", "group chat").
- applyDefaults
- Action
Action invoked when no explicit designation was made.