FlowOrchestrator.ExecuteFlowAsync 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.
Execute a given flow.
public System.Threading.Tasks.Task<Microsoft.SemanticKernel.FunctionResult> ExecuteFlowAsync (Microsoft.SemanticKernel.Experimental.Orchestration.Flow flow, string sessionId, string input, Microsoft.SemanticKernel.KernelArguments? kernelArguments = default);
member this.ExecuteFlowAsync : Microsoft.SemanticKernel.Experimental.Orchestration.Flow * string * string * Microsoft.SemanticKernel.KernelArguments -> System.Threading.Tasks.Task<Microsoft.SemanticKernel.FunctionResult>
Public Function ExecuteFlowAsync (flow As Flow, sessionId As String, input As String, Optional kernelArguments As KernelArguments = Nothing) As Task(Of FunctionResult)
Parameters
- flow
- Flow
goal to achieve
- sessionId
- String
execution session id
- input
- String
current input
- kernelArguments
- KernelArguments
execution kernel arguments
Returns
KernelArguments, which includes a json array of strings as output. The flow result is also exposed through the context when completes.