Write custom JavaScript code to evaluate prompt responses.
data
is the object provided to this function.Select the JavaScript evaluator from the “Add evaluator” action menu.
Define JavaScript code to evaluate the LLM response against your linked dataset.
Run the evaluation and see the results.