OrchestrationBuilderBase<TBuilder>.WithOutputFrom Method

Definition

Designates the given agents as sources of terminal workflow output. Calling any output-designation method (this or WithIntermediateOutputFrom(IEnumerable<AIAgent>)) suppresses the orchestration-specific defaults: only the user-specified designations reach the inner WorkflowBuilder.

public TBuilder WithOutputFrom(System.Collections.Generic.IEnumerable<Microsoft.Agents.AI.AIAgent> agents);
member this.WithOutputFrom : seq<Microsoft.Agents.AI.AIAgent> -> 'Builder
Public Function WithOutputFrom (agents As IEnumerable(Of AIAgent)) As TBuilder

Parameters

Returns

TBuilder

Applies to