Table of Contents

Interface IWorkflowHistoryObserver

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

Observes workflow executions and ingests them into the workflow history graph.

public interface IWorkflowHistoryObserver

Methods

IngestRunAsync(AgentWorkflowDefinition, WorkflowBridgeResult, CancellationToken)

Ingest a completed workflow run into the history graph.

Task IngestRunAsync(AgentWorkflowDefinition definition, WorkflowBridgeResult result, CancellationToken ct = default)

Parameters

definition AgentWorkflowDefinition

The workflow definition that was executed.

result WorkflowBridgeResult

The result of the workflow execution.

ct CancellationToken

Cancellation token.

Returns

Task