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.
Required Ruby Version
>= 3.3.0
Authors
Sal Scotto
Versions
-
0.2.0
-
source
- 0.2.0 source June 05, 2026 (20 KB)
-
-
0.1.0
-
source
- 0.1.0 source June 04, 2026 (17.5 KB)
-