We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7468372 commit a387f83Copy full SHA for a387f83
1 file changed
packages/optimization/README.md
@@ -70,7 +70,8 @@ result = await client.optimize_from_options(
70
judge_model="gpt-4o-mini",
71
judges={
72
"quality": OptimizationJudge(
73
- acceptance_statement="The response is accurate and concise."
+ threshold=1.0,
74
+ acceptance_statement="The response is accurate and concise.",
75
)
76
},
77
model_choices=["gpt-4o", "gpt-4o-mini"],
@@ -92,7 +93,8 @@ result = await client.optimize_from_options(
92
93
94
95
"accuracy": OptimizationJudge(
- acceptance_statement="The response matches the expected answer."
96
97
+ acceptance_statement="The response matches the expected answer.",
98
99
100
0 commit comments