Check If Evaluating
AI-generatedSummary
Routes each incoming item based on whether a LangWatch evaluation run context is present.
Inputs
None.
Output shape
Two parallel arrays of items. Output 1 contains items where evaluation is in progress; Output 2 contains items where it is not.
Each output item has its JSON augmented with
isEvaluating: booleanreflecting the check result.
Examples
Example 1: Item with _langwatch.batch.runId present
Item routes to evaluating output with isEvaluating: true
Example 2: Item without evaluation context
Item routes to else output with isEvaluating: false