mirror of
https://github.com/promptfoo/promptfoo.git
synced 2023-08-15 01:10:51 +03:00
This example shows how you can use promptfoo to generate a side-by-side eval of two prompts for an ecommerce chat bot.
Configuration is in promptfooconfig.yaml. Run:
promptfoo eval
Full command-line equivalent:
promptfoo eval --prompts prompts.txt --tests tests.csv --providers openai:gpt-3.5-turbo --output output.json