Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Ian Webster 3014f7ebf0
chore: formatting
1 month ago
..
3014f7ebf0
chore: formatting
1 month ago
3014f7ebf0
chore: formatting
1 month ago
3014f7ebf0
chore: formatting
1 month ago
3014f7ebf0
chore: formatting
1 month ago

README.md

You have to be logged in to leave a comment. Sign In

To get started, have a look at asserts.yaml

If you use a model-graded eval, you must set your OPENAI_API_KEY environment variable or override the provider (see https://promptfoo.dev/docs/configuration/expected-outputs/model-graded/#overriding-the-llm-grader).

Then run:

promptfoo eval --assertions asserts.yaml --model-outputs outputs.json

outputs-with-tags.json shows a different JSON format that allows you to show basic string metadata in the web UI view.

Afterwards, you can view the results by running promptfoo view

Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...