Skip to main content

Zod Schemas

Types

  • Message — { role, content }
  • Step — { observation, reasoning, action }
  • StepExample — step with goal, plan, trajectoryId, stepIndex
  • Trajectory — { id?, goal, plan, steps, success, metadata? }
  • StepContext — context for prompt formatting
  • CurationMetadata — retrieval/utility tracking
  • DeferredValidation — validation metadata

Helpers