Synaptic.Step (synaptic v0.3.0-alpha.13)

View Source

Metadata structure for compiled workflow steps.

Summary

Types

t()

@type t() :: %Synaptic.Step{
  input: map(),
  jev_branches: list(),
  jev_fallback: atom() | nil,
  llm_branches: list(),
  max_retries: non_neg_integer(),
  name: atom(),
  output: map(),
  resume_schema: map(),
  scorers: list(),
  suspend?: boolean(),
  type: :sequential | :parallel | :async | :llm | :jev,
  validation: keyword(),
  validation_declared: keyword() | map() | nil
}