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
..
d3fe2bdbab
Support for custom functions as prompts (#147)
8 months ago
9071eef2df
fix: load file before running prompt function (#583)
2 months ago
d3fe2bdbab
Support for custom functions as prompts (#147)
8 months ago
3014f7ebf0
chore: formatting
1 month ago
18a4d751af
Fix issue with named prompt function imports
6 months ago
ccd81b37c2
feat: add support for calling specific functions for python prompt (#533)
2 months ago
d3fe2bdbab
Support for custom functions as prompts (#147)
8 months ago
bd797d6357
feat: support .mjs external imports (#601)
2 months ago

README.md

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

To get started, set your OPENAI_API_KEY environment variable.

Next, have a look at the various prompt .js files. These prompts are constructed programmatically, and you can include custom logic in them.

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