https://promptfoo.dev/ logo
Uploading custom dataset to promptfoo
# ❓|questions
l
Hi, is it possible to upload an evaluation I ran by myself using my own metrics and to leverage promptfoo to vizualize the results? If so, any particularities around the format of the data?
i
Hi Joe, a couple ways to do this 1. Write your evaluation to a CSV, and run an eval on it using the
echo
provider (which just repeats the data it sees in the CSV) https://www.promptfoo.dev/docs/providers/echo/ 2. Use the
promptfoo import
command to load your evaluation results from JSON https://www.promptfoo.dev/docs/usage/command-line/#promptfoo-import-filepath. This unfortunately uses an internal format; the best way to see this format is to use
promptfoo export
on an existing eval
l
Perfect, thank you!
2 Views