RubyGems Navigation menu

rspec-llm 0.2.0

rspec-llm adds first-class RSpec support for testing Large Language Model interactions. Ships LLM-as-judge matchers, JSON Schema validation, semantic similarity matchers, a programmable fake adapter, and a thin DSL for batch evaluations. Works with the ruby_llm and langchainrb gems out of the box.

Gemfile:
=

install:
=

Versions:

  1. 0.2.0 June 05, 2026 (20 KB)
  2. 0.1.0 June 04, 2026 (17.5 KB)

Runtime Dependencies (3):

Owners:

Pushed by:

Authors:

  • Sal Scotto

SHA 256 checksum:

=

Total downloads 301

For this version 161

Version Released:

License:

MIT

Required Ruby Version: >= 3.3.0

New versions require MFA: true

Version published with MFA: true

Links: