Skip to content
Discussion options

You must be logged in to vote

Hi, I ran into a very similar (maybe the same) issue. I fixed it by changing how evaluation is run.

In my case, the problem was that scores were being attached to each individual trace instead of to the experiment/dataset run itself. Once I stopped doing that and attached the score to the experiment, the issue went away. Worth checking your Langfuse setup, you might need to update it too.

The key change: when you run the experiment, pass an evaluators argument (not create_score). Each evaluator should be a function that returns an evaluation object containing your metric (e.g. name, value, comment), and Langfuse will handle attaching it correctly to the experiment run:

from langfuse import 

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@CodeCLS
Comment options

CodeCLS Aug 3, 2026
Collaborator

@saisankalpj
Comment options

Answer selected by saisankalpj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants