
Parameters
Python code that evaluates the agent. Your code must update the You can access upstream node outputs by node ID. For example:In the above example,
score (float) and feedback (string)
variables.
The default value for this parameter is:Default evaluator code
Accessing upstream node outputs
Agent is the ID of an upstream node with an output port.Inputs
The input passed to the evaluator.
Outputs
Evaluation result with score and feedback.
| Field | Description |
|---|---|
score | Numeric score for the evaluation. |
feedback | Natural language feedback for the evaluation. |

