Partager via


FlowOrchestrator Constructor

Definition

Initialize a new instance of the FlowOrchestrator class.

public FlowOrchestrator (Microsoft.SemanticKernel.IKernelBuilder kernelBuilder, Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions.IFlowStatusProvider flowStatusProvider, System.Collections.Generic.Dictionary<object,string?>? globalPluginCollection = default, Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions.IFlowValidator? validator = default, Microsoft.SemanticKernel.Experimental.Orchestration.FlowOrchestratorConfig? config = default);
new Microsoft.SemanticKernel.Experimental.Orchestration.FlowOrchestrator : Microsoft.SemanticKernel.IKernelBuilder * Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions.IFlowStatusProvider * System.Collections.Generic.Dictionary<obj, string> * Microsoft.SemanticKernel.Experimental.Orchestration.Abstractions.IFlowValidator * Microsoft.SemanticKernel.Experimental.Orchestration.FlowOrchestratorConfig -> Microsoft.SemanticKernel.Experimental.Orchestration.FlowOrchestrator
Public Sub New (kernelBuilder As IKernelBuilder, flowStatusProvider As IFlowStatusProvider, Optional globalPluginCollection As Dictionary(Of Object, String) = Nothing, Optional validator As IFlowValidator = Nothing, Optional config As FlowOrchestratorConfig = Nothing)

Parameters

kernelBuilder
IKernelBuilder

The semantic kernel builder.

flowStatusProvider
IFlowStatusProvider

The flow status provider.

globalPluginCollection
Dictionary<Object,String>

The global plugin collection

validator
IFlowValidator

The flow validator.

config
FlowOrchestratorConfig

Optional configuration object

Applies to