Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Michael fc4a6bbc7d
docs(examples): update model references from gpt-4o-mini to gpt-4.1-mini (#4289)
2 months ago
..
360d7b519d
docs(examples): add uniform init commands to all example READMEs (#4068)
3 months ago
fc4a6bbc7d
docs(examples): update model references from gpt-4o-mini to gpt-4.1-mini (#4289)
2 months ago
9bd03d29e3
feat: normalize prompt input formats, introduce single responsibility handlers, improve test coverage, and fix minor bugs (#994)
1 year ago
9bd03d29e3
feat: normalize prompt input formats, introduce single responsibility handlers, improve test coverage, and fix minor bugs (#994)
1 year ago

README.md

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

prompt-labels (Prompt Labels)

You can run this example with:

npx promptfoo@latest init --example prompt-labels

This example shows how to use prompt labels to organize your prompts and providers. In a single eval, we can run one set of multiple prompts against a provider, another set of prompts against another provider, and get back a single result.

To get started, set your OPENAI_API_KEY environment variable.

Next, edit promptfooconfig.yaml.

Then run:

promptfoo eval

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...