Table of Contents

Class WorkflowMatcher

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

Two-tier workflow matcher: exact name match (score=1.0) → tag overlap scoring. Empty/whitespace tags are filtered to prevent spurious matches.

public sealed class WorkflowMatcher : IWorkflowMatcher
Inheritance
WorkflowMatcher
Implements
Inherited Members

Constructors

WorkflowMatcher(IWorkflowCatalog)

public WorkflowMatcher(IWorkflowCatalog catalog)

Parameters

catalog IWorkflowCatalog

Methods

MatchAsync(AgentRequest, CancellationToken)

public Task<WorkflowMatchResult?> MatchAsync(AgentRequest request, CancellationToken ct = default)

Parameters

request AgentRequest
ct CancellationToken

Returns

Task<WorkflowMatchResult>