promptfoo / promptfoo-action

MIT License
12 stars 5 forks source link

chore(deps-dev): bump promptfoo from 0.87.1 to 0.88.0 #242

Closed dependabot[bot] closed 4 weeks ago

dependabot[bot] commented 4 weeks ago

Bumps promptfoo from 0.87.1 to 0.88.0.

Release notes

Sourced from promptfoo's releases.

0.88.0

Release Notes for 0.88.0

✨ Features

  • Added support for file:// prefix for local file paths in the tests: field in configuration (@​mldangelo)
  • Added --env-path as an alias for the --env-file option in CLI (@​mldangelo)
  • Introduced PROMPTFOO_LIGHTWEIGHT_RESULTS environment variable to optimize result storage (@​typpo)
  • Added validatePythonPath function and improved error handling for Python scripts (@​mldangelo)
  • Displayed custom named scores in the Web UI (@​khp)
  • Improved support for structured outputs in the OpenAI provider (@​mldangelo)
  • Added OpenAI Assistant's token usage statistics (@​albertlieyingadrian)
  • Added pricing information for Azure OpenAI models (@​mldangelo)
  • Improved API URL formatting for Azure OpenAI provider (@​mldangelo)

🐛 Bug Fixes

  • Fixed prompt normalization when reading configurations (@​mldangelo)
  • Resolved Docker image issues by adding Python, ensuring the next output directory exists, and disabling telemetry (@​mldangelo)
  • Improved message parsing for the Anthropic provider (@​mldangelo)
  • Fixed error in loading externally defined OpenAI function calls (@​mldangelo)
  • Corrected latency assertion error for zero milliseconds latency (@​albertlieyingadrian)

📚 Documentation

  • Added a new Red Team introduction and case studies to the documentation (@​typpo)
  • Updated model references and default LLM models in the documentation (@​mldangelo)
  • Fixed typos and broken image links in the documentation (@​mldangelo, @​typpo)

🔨 Refactoring

  • Refactored Red Team commands and types to improve code organization (@​mldangelo)
  • Moved evaluateOptions initialization to evalCommand (@​mldangelo)
  • Centralized cost calculation logic in providers (@​mldangelo)

New Contributors

Full Changelog: https://github.com/promptfoo/promptfoo/compare/0.87.1...0.88.0

Commits
  • 1b82b80 0.88.0
  • a15f74e ci: improve nexe build workflow and caching (#1683)
  • 038a3bf feat(webui): display custom namedScores (#1669)
  • ec5e81d chore(providers): add pricing information for Azure OpenAI models (#1681)
  • 28d64fc chore(openai): specify gpt-4o default version
  • 79ebf4b chore(deps): bump replicate from 0.32.1 to 0.33.0 (#1682)
  • d1a8880 refactor(providers): centralize cost calculation logic (#1679)
  • 0bf9676 feat(python): add validatePythonPath function and improve error handling (#1670)
  • cc0a42b ci: add push trigger to docker workflow (#1678)
  • 78f1201 fix(providers): improve parseMessages function for anthropic (#1666)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)