API Reference SystemOneDSL v#1.0.0

Copy Markdown View Source

Modules

Compile-time Elixir macro DSL, two-tier caching layer, and execution runner for ReqLLM.Evaluation (TypeSafe Jev, Google Gemini Decisions, OpenAI Decisions, and more).

Deterministic CUE schema exporter for compiled SystemOneDSL.Contract catalogs.

Deterministic identity hashing, confidence-aware cacheability rules, and pluggable two-tier (L1 fast key-value + L2 durable store) caching behaviour for SystemOneDSL.

Built-in zero-dependency ETS cache adapter implementing SystemOneDSL.Cache.

Typed representation of a compiled SystemOneDSL decision contract, wrapping the question definitions and the build-time validated %SystemOneDSL.Prepared{} struct.

Structured exception raised by evaluate!/3 and SystemOneDSL.Runner.evaluate!/4 when a SystemOneDSL contract evaluation fails.

Compile-time prepared evaluation contract holding normalized ReqLLM.Evaluation question maps and a deterministic SHA-256 fingerprint.

Typed representation of a single compiled question (:noul, :choice, or :score) within a SystemOneDSL.Contract.

Runtime evaluation, bounded concurrent batch execution, two-tier (L1 + L2) cache orchestration, and deterministic test stubbing for SystemOneDSL contract modules backed by ReqLLM.Evaluation.

Mix Tasks

Installs SystemOneDSL into a project. Invoke with mix igniter.install system_one_dsl.