class RubyLLM::Judge

Defines reusable probability, choice, and score questions over application data.

class TicketTriage < RubyLLM::Judge
  model "jev-latest"
  probability :urgent, "Does this need attention today?"
  choice :department, "Which team should handle this?" do
    billing "Payments and refunds"
    technical "Bugs and integrations"
  end
end

TicketTriage.judge("Please refund my duplicate charge today.")[:urgent].probability

Blocks and procs resolve once per judgment, with declared inputs available as methods. Hashes and arrays preserve structured instructions and criteria.