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 360d7b519d
docs(examples): add uniform init commands to all example READMEs (#4068)
3 months ago
..
360d7b519d
docs(examples): add uniform init commands to all example READMEs (#4068)
3 months ago
1ca234eb25
feat(assertions): add support for specifying function names in external assertions (#2548)
7 months ago
1ca234eb25
feat(assertions): add support for specifying function names in external assertions (#2548)
7 months ago

README.md

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

javascript-assert-external (Javascript Assert External)

You can run this example with:

npx promptfoo@latest init --example javascript-assert-external

To get started, set your OPENAI_API_KEY environment variable.

Next, edit assert.js and 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...