Sequence of the query level evaluators #11699
Replies: 2 comments 1 reply
-
|
Based on the available documentation, evaluators in Langfuse experiments run in parallel for each individual dataset item(1). When you define multiple evaluators like The parallel execution applies at two levels:
This means if you have 10 dataset items and 4 evaluators, the framework efficiently processes multiple items at once, and for each item, all 4 evaluators run simultaneously rather than sequentially. The framework also provides error isolation, so if one evaluator fails, it doesn't stop the other evaluators or terminate the experiment(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for clarifying that evaluators run in parallel. This brings up a follow-up question regarding dependencies between them. I have a scenario where the output of one evaluator is needed as an input for other evaluators, all running on the same dataset item. For example:
Since the evaluators run in parallel, evaluatorB and evaluatorC would not have the output from evaluatorA when they start. Does Langfuse support this pattern? Is there a way to define an execution dependency or share state between evaluators for a single test case? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
I am confused that what is the sequence of the evaluators will be while executing the test? Is it is sequential or will be parallel.
For example:
evaluators = [evaA, evaB, evaC, evaD]
One thing I know is, the questions will be running parallely, but don't have idea about the evaluators, can you please help me out?
Langfuse Cloud or Self-Hosted?
Langfuse Cloud
If Self-Hosted
No response
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
Beta Was this translation helpful? Give feedback.
All reactions