Configure the score card for an evaluation pipeline. Use this endpoint to choose the columns that contribute to the score and, optionally, provide custom Python or JavaScript scoring code.Documentation Index
Fetch the complete documentation index at: https://docs.promptlayer.com/llms.txt
Use this file to discover all available pages before exploring further.
data variable containing evaluation rows and must return an object with at least a score key from 0 to 100.ID of the evaluation pipeline to update.
Score-card configuration payload.
Column names to include in the score calculation.
Optional custom Python or JavaScript scoring code. The code receives data and must return an object with a score key.
Language used by the custom scoring code.
PYTHON, JAVASCRIPT