Promptfoo

Latest version: v0.1.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 28

0.56.0

What's Changed
* feat: Intergration with Langfuse by tam0201 in https://github.com/promptfoo/promptfoo/pull/707
* feat(webui): improved comment dialog by typpo in https://github.com/promptfoo/promptfoo/pull/713
* feat: Support IBM Research BAM provider by abratnap in https://github.com/promptfoo/promptfoo/pull/711
* fix: Make errors uncached in Python completion. by grahl in https://github.com/promptfoo/promptfoo/pull/706
* fix(vertex/gemini): support nested generationConfig by typpo in https://github.com/promptfoo/promptfoo/pull/714
* fix: include python tracebacks in python errors by typpo in https://github.com/promptfoo/promptfoo/pull/724
* fix: `getCache` should return a memory store when disk caching is disabled by typpo in https://github.com/promptfoo/promptfoo/pull/715
* chore(webui): improve eval view performance by typpo in https://github.com/promptfoo/promptfoo/pull/719
* chore(webui): always show provider in header by typpo in https://github.com/promptfoo/promptfoo/pull/721
* chore: add support for OPENAI_BASE_URL envar by typpo in https://github.com/promptfoo/promptfoo/pull/717

New Contributors
* grahl made their first contribution in https://github.com/promptfoo/promptfoo/pull/706
* tam0201 made their first contribution in https://github.com/promptfoo/promptfoo/pull/707
* abratnap made their first contribution in https://github.com/promptfoo/promptfoo/pull/711

**Full Changelog**: https://github.com/promptfoo/promptfoo/compare/0.55.0...0.56.0

0.55.0

What's Changed
* [Docs] Add llama3 example to ollama docs by chanonroy in https://github.com/promptfoo/promptfoo/pull/695
* bugfix in answer-relevance by alexandres in https://github.com/promptfoo/promptfoo/pull/697
* feat: add support for provider `transform` property by typpo in https://github.com/promptfoo/promptfoo/pull/696
* feat: add support for provider-specific delays by typpo in https://github.com/promptfoo/promptfoo/pull/699
* feat: portkey.ai integration by typpo in https://github.com/promptfoo/promptfoo/pull/698
* feat: `eval -n` arg for running the first n test cases by typpo in https://github.com/promptfoo/promptfoo/pull/700
* feat: ability to write outputs to google sheet by typpo in https://github.com/promptfoo/promptfoo/pull/701
* feat: first-class support for openrouter by typpo in https://github.com/promptfoo/promptfoo/pull/702
* Fix concurrent cache request behaviour by chrisprice in https://github.com/promptfoo/promptfoo/pull/703

New Contributors
* chanonroy made their first contribution in https://github.com/promptfoo/promptfoo/pull/695
* alexandres made their first contribution in https://github.com/promptfoo/promptfoo/pull/697
* chrisprice made their first contribution in https://github.com/promptfoo/promptfoo/pull/703

**Full Changelog**: https://github.com/promptfoo/promptfoo/compare/0.54.1...0.55.0

0.54.1

What's Changed
* Add support for Mixtral 8x22B by streichsbaer in https://github.com/promptfoo/promptfoo/pull/687
* fix: google sheets async loading by typpo in https://github.com/promptfoo/promptfoo/pull/688
* fix: trim spaces in csv assertions that can have file:// prefixes by typpo in https://github.com/promptfoo/promptfoo/pull/689
* fix: apply thresholds to custom python asserts by typpo in https://github.com/promptfoo/promptfoo/pull/690
* fix: include detail from external python assertion by typpo in https://github.com/promptfoo/promptfoo/pull/691
* chore(webui): allow configuration of results per page by typpo in https://github.com/promptfoo/promptfoo/pull/694
* fix: ability to override rubric prompt for all model-graded metrics by typpo in https://github.com/promptfoo/promptfoo/pull/692


**Full Changelog**: https://github.com/promptfoo/promptfoo/compare/0.54.0...0.54.1

0.54.0

What's Changed
* feat: support for authenticated google sheets access by typpo in https://github.com/promptfoo/promptfoo/pull/686
* fix: bugs in `Answer-relevance` calculation by anthonyivn2 in https://github.com/promptfoo/promptfoo/pull/683
* fix: Add tool calls to response from azure openai by CamdenClark in https://github.com/promptfoo/promptfoo/pull/685


**Full Changelog**: https://github.com/promptfoo/promptfoo/compare/0.53.0...0.54.0

0.53.0

Breaking

When using promptfoo as a node library, `Assertion` value functions are now invoked with the same args as when using the CLI. See [AssertionValueFunction](https://github.com/promptfoo/promptfoo/pull/674/files#diff-c54113cf61ec99691748a3890bfbeb00e10efb3f0a76f03a0fd9ec49072e410aR404-R421) for type details.

In practice, this change means that instead of:
js
function assertValue(output, testCase, assertion) { ... }


You can do:
js
function assertValue(output, { prompt, vars, test }) { ... }


The reason for this change is that it's confusing that the CLI and library accept different functions, and only the CLI function signature was documented.

What's Changed
* fix!: make `javascript` assert function call consistent with external js function call by typpo in https://github.com/promptfoo/promptfoo/pull/674
* fix: node library supports prompt files by typpo in https://github.com/promptfoo/promptfoo/pull/668
* feat: Enable post-hoc evaluations through defining and using output value in TestSuite by anthonyivn2 in https://github.com/promptfoo/promptfoo/pull/671
* feat: Allow local files to define providerOutput value for TestCase by anthonyivn2 in https://github.com/promptfoo/promptfoo/pull/675
* feat: detect suitable anthropic default provider by typpo in https://github.com/promptfoo/promptfoo/pull/677
* feat: Ability to delete evals by typpo in https://github.com/promptfoo/promptfoo/pull/676
* feat: ability to create derived metrics by typpo in https://github.com/promptfoo/promptfoo/pull/670

New Contributors
* anthonyivn2 made their first contribution in https://github.com/promptfoo/promptfoo/pull/671

**Full Changelog**: https://github.com/promptfoo/promptfoo/compare/0.52.0...0.53.0

0.52.0

What's Changed
* feat: support for inline yaml for is-json, contains-json in csv by jernkuan in https://github.com/promptfoo/promptfoo/pull/651
* feat(webui): add pagination by typpo in https://github.com/promptfoo/promptfoo/pull/649
* feat: run providers 1 at a time with --interactive-providers by typpo in https://github.com/promptfoo/promptfoo/pull/645
* feat: --env-file arg by typpo in https://github.com/promptfoo/promptfoo/pull/615
* fix: Do not fail with api error when azure datasource is used by alepek in https://github.com/promptfoo/promptfoo/pull/644
* fix: allow loading of custom provider in windows (518) by jernkuan in https://github.com/promptfoo/promptfoo/pull/652
* fix: don't show telemetry message without telemtry by will-holley in https://github.com/promptfoo/promptfoo/pull/658
* fix: `E2BIG` error during the execution of Python asserts by sangwoo-joh in https://github.com/promptfoo/promptfoo/pull/660
* fix(webui): handle invalid search regexes by typpo in https://github.com/promptfoo/promptfoo/pull/663
* fix: support relative filepaths for non-code assert values by typpo in https://github.com/promptfoo/promptfoo/pull/664

New Contributors
* alepek made their first contribution in https://github.com/promptfoo/promptfoo/pull/644
* jernkuan made their first contribution in https://github.com/promptfoo/promptfoo/pull/652
* will-holley made their first contribution in https://github.com/promptfoo/promptfoo/pull/658
* sangwoo-joh made their first contribution in https://github.com/promptfoo/promptfoo/pull/660

**Full Changelog**: https://github.com/promptfoo/promptfoo/compare/0.51.0...0.52.0

Page 10 of 28

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.