Jidoka.Agent.Spec.Controls (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

Policy controls attached to a Jidoka agent definition.

Summary

Types

t()

@type t() :: %Jidoka.Agent.Spec.Controls{
  inputs: [term()],
  max_turns: nil | nil | integer(),
  metadata: map(),
  operations: [term()],
  outputs: [term()],
  timeout_ms: nil | nil | integer()
}

Functions

from_input(controls)

@spec from_input(t() | keyword() | map()) :: {:ok, t()} | {:error, term()}

new(attrs \\ [])

@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}

new!(attrs \\ [])

@spec new!(keyword() | map()) :: t()

schema()

@spec schema() :: Zoi.schema()