https://promptfoo.dev/ logo
Custom Assertion Latency
# ❓|questions
u
I see that in a custom assertion that latencyMs is a parameter, but I don't think the table is generating a column for latencyMs, does the nextui app need to be updated to do this?
i
You're right, the UI could probably be updated to show latency if that is desirable
u
Yeah, that would nice to have, If I do pass the latencyMs from the eval, will it be saved to the DB and if so would all we need to change just be in the dialogbox? https://github.com/promptfoo/promptfoo/blob/main/src/web/nextui/src/app/eval/EvalOutputPromptDialog.tsx
i
yes, I believe so 🙂