Skip to content

Commit cf45835

Browse files
author
Dylan Huang
committed
improve LLM judge prompt
1 parent 16d1ef9 commit cf45835

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/chinook/test_pydantic_chinook.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
LLM_JUDGE_PROMPT = (
1515
"Your job is to compare the response to the expected answer.\n"
16-
"If the response contains the same information as the expected answer, return 1.0.\n"
16+
"The response will be a narrative report of the query results.\n"
17+
"If the response contains the same or well summarized information as the expected answer, return 1.0.\n"
1718
"If the response does not contain the same information or is missing information, return 0.0."
1819
)
1920

0 commit comments

Comments
 (0)