Back to Promptfoo

compare-mistral-vs-llama (Mistral Llama Comparison)

examples/compare-mistral-vs-llama/README.md

0.121.9450 B
Original Source

compare-mistral-vs-llama (Mistral Llama Comparison)

You can run this example with:

bash
npx promptfoo@latest init --example compare-mistral-vs-llama
cd compare-mistral-vs-llama

Usage

To get started, set your OPENROUTER_API_KEY environment variable.

Next, change a few of the text files in prompts/ and edit promptfooconfig.yaml.

Then run:

bash
promptfoo eval

Afterwards, you can view the results by running promptfoo view