leva logo

leva

Enrichment pending
kieranklaassen/leva

LLM Evaluation Framework for Rails apps to be used with production data.

GraphCanon updated today · GitHub synced today

141
Stars
7
Forks
4
Open issues
2
Watchers
1mo
Last push
Ruby MITCreated Aug 13, 2024

Trust & integrity

Full report
Maintenance
Steady (37d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

LLM Evaluation Framework for Rails apps to be used with production data.

Capability facts

Languages
ruby

Source: github.language · Jul 11, 2026

Categories

Tags

README

Installation

Add this line to your application's Gemfile:

gem 'leva'

And then execute:

bundle install

Add the migrations to your database:

rails leva:install:migrations
rails db:migrate

Mount the Leva engine in your application's routes file:


---

### Installation

Add the DSPy gems to your Gemfile:

```ruby
gem "dspy"           # Core DSPy functionality (required)
gem "dspy-ruby_llm"  # RubyLLM provider adapter (required)
gem "dspy-gepa"      # GEPA optimizer (optional, recommended)
gem "dspy-miprov2"   # MIPROv2 optimizer (optional)

You can use any DSPy provider adapter instead of dspy-ruby_llm, such as dspy-openai or dspy-anthropic.


License

The gem is available as open source under the terms of the MIT License.