Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / / buildInductionRequest

Function: buildInductionRequest()

ts
function buildInductionRequest(trajectory, options?): ProviderRequest;

Defined in: packages/memory/src/consolidator/phases/induce.ts:134

Build the (pure) induction request. Renders the trajectory as numbered steps; caps the rendered steps to keep the prompt bounded.

Parameters

ParameterType
trajectoryTrajectory
optionsWorkflowInductionOptions

Returns

ProviderRequest