Skip to content

Commit

Permalink
fix: Corrected Evaluation Example (#400)
Browse files Browse the repository at this point in the history
Removed `n_evals=10,`
Made input into a list `    dataset=[{"input": ["Hello"], "expected": "Hi there!"}],`
  • Loading branch information
brenorb authored Dec 16, 2024
1 parent 92e43a0 commit ddc52ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ell-studio/src/pages/Evaluations.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ def metric(datapoint, output):
# Initialize your evaluation
eval = Evaluation(
name="basic-eval",
dataset=[{"input": "Hello", "expected": "Hi there!"}],
n_evals=10,
dataset=[{"input": ["Hello"], "expected": "Hi there!"}],
metrics={"score": metric}
)
Expand Down

0 comments on commit ddc52ec

Please sign in to comment.