Synaptic.Scorer.Context (synaptic v0.2.6)

View Source

Immutable snapshot passed to scorers when evaluating a step.

It contains the step metadata, workflow module, run identifier, the context before and after the step, and the step's return data.

Summary

Types

t()

@type t() :: %Synaptic.Scorer.Context{
  metadata: map(),
  output: map(),
  post_context: map(),
  pre_context: map(),
  run_id: String.t(),
  step: Synaptic.Step.t(),
  workflow: module()
}