RubyGems Navigation menu

ruby_llm-contract 0.8.0

Wraps RubyLLM::Chat with input/output contracts, business-rule validation, retry with model escalation on validation failure, pre-flight cost ceilings, and an evaluation framework. Sibling abstraction to RubyLLM::Agent — same niche (reusable class-based prompts), wider contract.

Gemfile:
=

install:
=

Versions:

  1. 0.8.0 April 26, 2026 (93.5 KB)
  2. 0.7.3 April 24, 2026 (88.5 KB)
  3. 0.7.1 April 22, 2026 (108 KB)
  4. 0.7.0 April 21, 2026 (106 KB)
  5. 0.6.4 April 19, 2026 (104 KB)
Show all versions (21 total)

Runtime Dependencies (3):

dry-types ~> 1.7
ruby_llm ~> 1.12

Owners:

Pushed by:

Authors:

  • Justyna

SHA 256 checksum:

=

Total downloads 2,984

For this version 87

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: