Partager via


FlowStep Constructor

Definition

Initializes a new instance of the FlowStep class.

public FlowStep (string goal, Func<Microsoft.SemanticKernel.Kernel,System.Collections.Generic.Dictionary<object,string?>,System.Collections.Generic.IEnumerable<object>>? pluginsFactory = default);
new Microsoft.SemanticKernel.Experimental.Orchestration.FlowStep : string * Func<Microsoft.SemanticKernel.Kernel, System.Collections.Generic.Dictionary<obj, string>, seq<obj>> -> Microsoft.SemanticKernel.Experimental.Orchestration.FlowStep
Public Sub New (goal As String, Optional pluginsFactory As Func(Of Kernel, Dictionary(Of Object, String), IEnumerable(Of Object)) = Nothing)

Parameters

goal
String

The goal of step

pluginsFactory
Func<Kernel,Dictionary<Object,String>,IEnumerable<Object>>

The factory to get plugins

Applies to