Skip to content

v5.1.0

Latest

Choose a tag to compare

@nunomaduro nunomaduro released this 23 Sep 13:50
Immutable release. Only release title and notes can be modified.
  • BREAKING: requires laravel/ai ^1.0 and pestphp/pest ^5.2.1
  • BREAKING: JudgeDriver::generate() is now judge(Evaluation $evaluation): Verdict
  • BREAKING: judgeUsing() closures now receive an Evaluation and return a float or Verdict
  • BREAKING: custom JudgeDriver classes now only run under --evals
  • BREAKING: removes Judge::using() and JudgeResponse; use Judge::evaluate() instead
  • BREAKING: relevance, safety, and judge scores now snap to levels (0, 0.25, 0.5, 0.75, 1.0)
  • chore: Support Laravel AI 1.x by @pushpak1300 in #6
  • feat: Judge with structured evaluations and add a classification judge by @pushpak1300 in #7
  • feat: adds judgeUsingLaravelAiClassifier() and PEST_EVALS_LARAVEL_CLASSIFICATION_* env vars
  • fix: a judge returning an invalid level now throws instead of scoring 0.0
  • chore: default judge model is now gpt-6-luna