Skip to content

Commit 2e3946d

Browse files
authored
chore: Clarify track_judge_result guidance in create-judge example (#31)
1 parent 9f453e1 commit 2e3946d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

features/create_judge/create_judge_example.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ async def async_main():
7979

8080
judge_result = await judge.evaluate(input_text, output_text)
8181

82-
# Track the judge evaluation scores on the tracker for the aiConfig you are evaluating
83-
# Example:
84-
# aiConfig.create_tracker().track_judge_result(judge_result)
82+
# If the output you're judging came from another AI Config, track the
83+
# result on that config's tracker so the metric is attributed to the
84+
# right config:
85+
# ai_config.create_tracker().track_judge_result(judge_result)
8586

8687
print("\nJudge result:")
8788
print(f"- judge_config_key: {judge_key}")

0 commit comments

Comments
 (0)