Class WorkflowOrchestratorResult
Result of the full detect-match-execute pipeline.
public sealed class WorkflowOrchestratorResult
- Inheritance
-
WorkflowOrchestratorResult
- Inherited Members
Properties
Advisory
public HistoryAdvisory? Advisory { get; init; }
Property Value
ExecutionResult
public WorkflowBridgeResult? ExecutionResult { get; init; }
Property Value
Intent
public IntentClassification Intent { get; init; }
Property Value
Match
public WorkflowMatchResult? Match { get; init; }
Property Value
Outcome
public WorkflowOutcome Outcome { get; init; }
Property Value
PlanningPrompt
public string? PlanningPrompt { get; init; }
Property Value
Methods
Executed(IntentClassification, WorkflowMatchResult, WorkflowBridgeResult, HistoryAdvisory?)
Workflow matched and executed successfully.
public static WorkflowOrchestratorResult Executed(IntentClassification intent, WorkflowMatchResult match, WorkflowBridgeResult result, HistoryAdvisory? advisory = null)
Parameters
intentIntentClassificationmatchWorkflowMatchResultresultWorkflowBridgeResultadvisoryHistoryAdvisory
Returns
Failed(IntentClassification, WorkflowMatchResult, WorkflowBridgeResult, HistoryAdvisory?)
Workflow matched but execution failed.
public static WorkflowOrchestratorResult Failed(IntentClassification intent, WorkflowMatchResult match, WorkflowBridgeResult result, HistoryAdvisory? advisory = null)
Parameters
intentIntentClassificationmatchWorkflowMatchResultresultWorkflowBridgeResultadvisoryHistoryAdvisory
Returns
PassThrough(IntentClassification)
Not a workflow — pass through to normal agent handling.
public static WorkflowOrchestratorResult PassThrough(IntentClassification intent)
Parameters
intentIntentClassification
Returns
PlanningNeeded(IntentClassification, string, HistoryAdvisory?)
Workflow detected but no catalog match — needs planning.
public static WorkflowOrchestratorResult PlanningNeeded(IntentClassification intent, string prompt, HistoryAdvisory? advisory = null)
Parameters
intentIntentClassificationpromptstringadvisoryHistoryAdvisory