Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/memory / / runWorkflowInduction
Function: runWorkflowInduction()
ts
function runWorkflowInduction(
trajectory,
inducer,
options?): Promise<
| InducedProcedure
| null>;Defined in: packages/memory/src/consolidator/phases/induce.ts:253
Pure orchestrator: induce a procedure from a trajectory.
Gate — successful trajectories only (AWM online mode): a failed / aborted run, or one with no steps, yields null without calling the inducer. Otherwise the inducer runs and the result is normalized.
Parameters
| Parameter | Type |
|---|---|
trajectory | Trajectory |
inducer | WorkflowInducer |
options | WorkflowInductionOptions |
Returns
Promise< | InducedProcedure | null>