evaluate()
(Python/TypeScript)we’ll do this by passing in a target function argument. This is a function that takes in a dataset Example’s inputs and returns the application output as a dict. Within this function we can call our application however we’d like. We can also format the output however we’d like. The key is that any evaluator functions we define should work with the output format we return in our target function.
evaluate()
will automatically trace your target function. This means that if you run any traceable code within your target function, this will also be traced as child runs of the target trace.