Class AgentWorkflowBuilder
Builds executable workflows from AgentWorkflowDefinition definitions, wiring steps to a Semantic Kernel.
public sealed class AgentWorkflowBuilder
- Inheritance
-
AgentWorkflowBuilder
- Inherited Members
Constructors
AgentWorkflowBuilder(Kernel)
public AgentWorkflowBuilder(Kernel kernel)
Parameters
kernelKernel
Methods
Build(AgentWorkflowDefinition)
Builds an executable workflow from a definition.
public IWorkflow<AgentWorkflowData> Build(AgentWorkflowDefinition definition)
Parameters
definitionAgentWorkflowDefinition
Returns
- IWorkflow<AgentWorkflowData>
BuildWithCapture(AgentWorkflowDefinition, WorkflowExecutionCapture)
Builds with event capture for observability.
public IWorkflow<AgentWorkflowData> BuildWithCapture(AgentWorkflowDefinition definition, WorkflowExecutionCapture capture)
Parameters
definitionAgentWorkflowDefinitioncaptureWorkflowExecutionCapture
Returns
- IWorkflow<AgentWorkflowData>
CreateData(string)
Creates initial workflow data with the prompt and kernel set.
public AgentWorkflowData CreateData(string prompt)
Parameters
promptstring