Skip to content

Commit a387f83

Browse files
committed
chore: fix readme inconsistency
1 parent 7468372 commit a387f83

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/optimization/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ result = await client.optimize_from_options(
7070
judge_model="gpt-4o-mini",
7171
judges={
7272
"quality": OptimizationJudge(
73-
acceptance_statement="The response is accurate and concise."
73+
threshold=1.0,
74+
acceptance_statement="The response is accurate and concise.",
7475
)
7576
},
7677
model_choices=["gpt-4o", "gpt-4o-mini"],
@@ -92,7 +93,8 @@ result = await client.optimize_from_options(
9293
judge_model="gpt-4o-mini",
9394
judges={
9495
"accuracy": OptimizationJudge(
95-
acceptance_statement="The response matches the expected answer."
96+
threshold=1.0,
97+
acceptance_statement="The response matches the expected answer.",
9698
)
9799
},
98100
model_choices=["gpt-4o", "gpt-4o-mini"],

0 commit comments

Comments
 (0)