config-nunjucks-custom-filters (Nunjucks Custom Filters)
You can run this example with:
Content
config-nunjucks-custom-filters (Nunjucks Custom Filters)
You can run this example with:
npx promptfoo@latest init --example config-nunjucks-custom-filters
cd config-nunjucks-custom-filters
Usage
This example is pre-configured in promptfooconfig.yaml. That means you can just run:
promptfoo eval
allcaps.js is a standard Nunjucks custom filter.
Source and license
- Source
- Promptfoo
- Original
- promptfoo/promptfoo/examples/config-nunjucks-custom-filters
- License
- MIT