Skip to content

Commit

Permalink
update docstring for load_judge_folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rchan26 committed Sep 10, 2024
1 parent 54cecbd commit a802fae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/prompto/judge.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def load_judge_folder(
Parses the judge_folder to load the template prompt
string and judge settings dictionary.
should be a path to the judge
folder containing the template.txt and settings.json files.
The judge_folder should be a path to the judge
folder containing the template files and settings.json files.
We read the template from judge_folder/template.txt
and the settings from judge_folder/settings.json. If
Expand All @@ -22,7 +22,7 @@ def load_judge_folder(
Parameters
----------
judge_folder : str
Path to the judge folder containing the template.txt
Path to the judge folder containing the template files
and settings.json files
templates : str | list[str]
Path(s) to the template file(s) to be used for the judge.
Expand Down

0 comments on commit a802fae

Please sign in to comment.