Class PassthroughScaffold

java.lang.Object
ai.pipestream.module.pipelineprobe.moduletest.scaffold.PassthroughScaffold
All Implemented Interfaces:
StepScaffold

public class PassthroughScaffold extends Object implements StepScaffold
No-setup scaffold: the corpus doc already carries everything the step needs. Used for embedder and semantic-graph, whose captured inputs (post-chunker / post-embedder) already hold the directives, chunks, and vectors their process() reads.
  • Constructor Details

    • PassthroughScaffold

      public PassthroughScaffold(String module)
      Creates a passthrough scaffold for the given module.
      Parameters:
      module - the module/step this scaffold targets
  • Method Details

    • module

      public String module()
      Description copied from interface: StepScaffold
      The module/step this scaffold targets (e.g. "chunker").
      Specified by:
      module in interface StepScaffold
      Returns:
      the module/step name this scaffold targets
    • wrap

      public ai.pipestream.data.v1.PipeStream wrap(ai.pipestream.data.v1.PipeDoc doc)
      Description copied from interface: StepScaffold
      Turn a corpus doc into the step's expected input PipeStream (directives, context_params, …).
      Specified by:
      wrap in interface StepScaffold
      Parameters:
      doc - the corpus document to wrap
      Returns:
      the PipeStream shaped as the step expects