-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ragas: pass rubric in via RubricScore.SingleTurnPrompt.instruction
In ragas, RubricScores.rubrics isn't being used anywhere except in __repr__ thus it was not being passed into the prompt for the judge to evaluate responses againist reference answers. Passing a string rubric into SingleTurnPrompt.instruction allows us to pass the rubric into the prompt sent to the judge. Signed-off-by: Ali Maredia <[email protected]>
- Loading branch information
1 parent
03afb6c
commit 8034f7e
Showing
1 changed file
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters