RubyGems Navigation menu

ruby_llm-contract 0.10.4

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.10.4 June 10, 2026 (133 KB)
  2. 0.10.3 June 10, 2026 (132 KB)
  3. 0.10.2 June 10, 2026 (131 KB)
  4. 0.10.1 June 01, 2026 (99.5 KB)
  5. 0.8.0 April 26, 2026 (93.5 KB)
Show all versions (26 total)

Runtime Dependencies (3):

dry-types ~> 1.7
ruby_llm ~> 1.12

Owners:

Pushed by:

Authors:

  • Justyna

SHA 256 checksum:

=

Total downloads 4,340

For this version 89

Version Released:

License:

MIT

Required Ruby Version: >= 3.2.0

New versions require MFA: true

Version published with MFA: true

Links: