Table of Contents

Class AgentWorkflowBuilder

Namespace
JD.AI.Workflows
Assembly
JD.AI.Workflows.dll

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

kernel Kernel

Methods

Build(AgentWorkflowDefinition)

Builds an executable workflow from a definition.

public IWorkflow<AgentWorkflowData> Build(AgentWorkflowDefinition definition)

Parameters

definition AgentWorkflowDefinition

Returns

IWorkflow<AgentWorkflowData>

BuildWithCapture(AgentWorkflowDefinition, WorkflowExecutionCapture)

Builds with event capture for observability.

public IWorkflow<AgentWorkflowData> BuildWithCapture(AgentWorkflowDefinition definition, WorkflowExecutionCapture capture)

Parameters

definition AgentWorkflowDefinition
capture WorkflowExecutionCapture

Returns

IWorkflow<AgentWorkflowData>

CreateData(string)

Creates initial workflow data with the prompt and kernel set.

public AgentWorkflowData CreateData(string prompt)

Parameters

prompt string

Returns

AgentWorkflowData