API Reference lemma_engine v#0.9.9

Copy Markdown View Source

Modules

Lemma rules engine for Elixir.

Structured engine error as returned by NIF error paths (load, show, run, format, …). Keys are atoms (Rustler encoding), not JSON strings.

Pure Lemma MCP tools: engine + JSON args in, catalog or tool result text out.

OpenAPI and temporal API docs helpers (lemma_openapi crate). Separate from core [Lemma] runtime.

Typed projection of the JSON map returned by Lemma.run/3: evaluated rule results and the resolved temporal window of the spec version actually run.

One rule result from Lemma.run/3, as returned in Lemma.Response.results.

Typed projection of the JSON map returned by Lemma.show/4: spec interface and resolved temporal window.

One declared data slot in a spec, as returned in Lemma.Show.data.

Half-open [effective_from, effective_to) for one loaded temporal row, as returned in Lemma.Show.versions.

Default HTTP transport for Lemma.install/3. Uses Req without automatic retries so registry failures surface promptly to the install step machine.