Skip to content

Commit

Permalink
fix: assigning score column (#5749)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-kleine authored Dec 17, 2024
1 parent 0311e23 commit 4569db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/evaluation/how-to-evals/evaluating-phoenix-traces.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ We now have a DataFrame with a column for whether each joke is a repeat of a pre
Our evals\_df has a column for the span\_id and a column for the evaluation result. The span\_id is what allows us to connect the evaluation to the correct trace in Phoenix. Phoenix will also automatically look for columns named "label" and "score" to display in the UI.

```python
eval_df["score"] = eval_df["label"].astype(int)
eval_df["score"] = eval_df["score"].astype(int)
eval_df["label"] = eval_df["label"].astype(str)
```

Expand Down

0 comments on commit 4569db9

Please sign in to comment.