diff --git a/config.json b/config.json index e97829a..566560f 100644 --- a/config.json +++ b/config.json @@ -1,7 +1,7 @@ { "model": null, "signature": { - "description": "Reason step-by-step to determine which response is better for the given context.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer. Your reasoning must lead directly to\nthe better response (A or B).", + "description": "Reason step-by-step to compare the two responses for the given context.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.\n\nChoose 'A>B' if response A is meaningfully better, 'B>A' if response B is\nmeaningfully better, or 'tie' if neither response is clearly better than the other.", "properties": { "question": { "__dspy_field_type": "input", @@ -33,10 +33,11 @@ }, "label": { "__dspy_field_type": "output", - "desc": "The label of the better response ('A' or 'B').", + "desc": "'A>B' if A is better, 'B>A' if B is better, 'tie' if neither is clearly better.", "enum": [ - "A", - "B" + "A>B", + "B>A", + "tie" ], "prefix": "Label:", "title": "Label", @@ -50,7 +51,7 @@ "reasoning", "label" ], - "title": "PreferenceJudgeSig", + "title": "PreferenceWithTieJudgeSig", "type": "object" } } \ No newline at end of file diff --git a/program.json b/program.json index 1962771..423f540 100644 --- a/program.json +++ b/program.json @@ -3,7 +3,7 @@ "train": [], "demos": [], "signature": { - "instructions": "Reason step-by-step to determine which response is better for the given context.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer. Your reasoning must lead directly to\nthe better response (A or B).", + "instructions": "Reason step-by-step to compare the two responses for the given context.\nAs you reason, note any uncertainties, ambiguities, and gaps \u2014 both in how the instructions apply to the task at hand and in whether you have the knowledge needed to solve it. Be honest in your reasoning when you are unsure about your answer.\n\nChoose 'A>B' if response A is meaningfully better, 'B>A' if response B is\nmeaningfully better, or 'tie' if neither response is clearly better than the other.", "fields": [ { "prefix": "Question:", @@ -23,7 +23,7 @@ }, { "prefix": "Label:", - "description": "The label of the better response ('A' or 'B')." + "description": "'A>B' if A is better, 'B>A' if B is better, 'tie' if neither is clearly better." } ] },