Imp.Predict.RLM.SandboxSerializable (Imp v0.5.0)

Copy Markdown View Source

Lazy value handle for RLM variable-space exploration.

Use this for large or expensive inputs that should be advertised to the RLM controller as metadata before the full value is loaded into the sandbox state. Controller code loads it with context = load("context").

Summary

Functions

Loads the underlying value, returning structured errors for loader failures.

Creates a lazy value handle for RLM inputs.

Types

t()

@type t() :: %Imp.Predict.RLM.SandboxSerializable{
  loader: (-> term()),
  metadata: map(),
  name: atom() | String.t()
}

Functions

load(sandbox_serializable)

Loads the underlying value, returning structured errors for loader failures.

new(name, loader, opts \\ [])

Creates a lazy value handle for RLM inputs.