promptfoo 0.83.2 → 0.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/src/commands/eval.d.ts.map +1 -1
  3. package/dist/src/commands/eval.js +0 -2
  4. package/dist/src/commands/eval.js.map +1 -1
  5. package/dist/src/config.d.ts.map +1 -1
  6. package/dist/src/config.js +1 -0
  7. package/dist/src/config.js.map +1 -1
  8. package/dist/src/database/tables.d.ts +168 -144
  9. package/dist/src/database/tables.d.ts.map +1 -1
  10. package/dist/src/index.d.ts +22 -0
  11. package/dist/src/index.d.ts.map +1 -1
  12. package/dist/src/index.js +12 -0
  13. package/dist/src/index.js.map +1 -1
  14. package/dist/src/matchers.d.ts.map +1 -1
  15. package/dist/src/matchers.js +70 -0
  16. package/dist/src/matchers.js.map +1 -1
  17. package/dist/src/providers/ollama.d.ts.map +1 -1
  18. package/dist/src/providers/ollama.js +1 -0
  19. package/dist/src/providers/ollama.js.map +1 -1
  20. package/dist/src/providers/openai.js +2 -2
  21. package/dist/src/providers/openai.js.map +1 -1
  22. package/dist/src/providers/vertex.d.ts.map +1 -1
  23. package/dist/src/providers/vertex.js +19 -1
  24. package/dist/src/providers/vertex.js.map +1 -1
  25. package/dist/src/providers/vertexUtil.d.ts +12 -1
  26. package/dist/src/providers/vertexUtil.d.ts.map +1 -1
  27. package/dist/src/providers/vertexUtil.js.map +1 -1
  28. package/dist/src/redteam/plugins/index.d.ts.map +1 -1
  29. package/dist/src/redteam/plugins/index.js +16 -10
  30. package/dist/src/redteam/plugins/index.js.map +1 -1
  31. package/dist/src/redteam/providers/crescendo/index.d.ts.map +1 -1
  32. package/dist/src/redteam/providers/crescendo/index.js +5 -4
  33. package/dist/src/redteam/providers/crescendo/index.js.map +1 -1
  34. package/dist/src/redteam/providers/iterative.d.ts.map +1 -1
  35. package/dist/src/redteam/providers/iterative.js +5 -3
  36. package/dist/src/redteam/providers/iterative.js.map +1 -1
  37. package/dist/src/redteam/providers/iterativeImage.d.ts.map +1 -1
  38. package/dist/src/redteam/providers/iterativeImage.js +4 -3
  39. package/dist/src/redteam/providers/iterativeImage.js.map +1 -1
  40. package/dist/src/redteam/providers/iterativeTree.d.ts.map +1 -1
  41. package/dist/src/redteam/providers/iterativeTree.js +4 -3
  42. package/dist/src/redteam/providers/iterativeTree.js.map +1 -1
  43. package/dist/src/redteam/strategies/index.d.ts +1 -2
  44. package/dist/src/redteam/strategies/index.d.ts.map +1 -1
  45. package/dist/src/redteam/strategies/multilingual.d.ts.map +1 -1
  46. package/dist/src/redteam/strategies/multilingual.js +2 -8
  47. package/dist/src/redteam/strategies/multilingual.js.map +1 -1
  48. package/dist/src/types/index.d.ts +4481 -3848
  49. package/dist/src/types/index.d.ts.map +1 -1
  50. package/dist/src/types/providers.d.ts +19 -19
  51. package/dist/src/types/providers.d.ts.map +1 -1
  52. package/dist/src/types/providers.js +4 -1
  53. package/dist/src/types/providers.js.map +1 -1
  54. package/dist/src/util/index.d.ts +47 -36
  55. package/dist/src/util/index.d.ts.map +1 -1
  56. package/dist/src/util/index.js +11 -1
  57. package/dist/src/util/index.js.map +1 -1
  58. package/dist/src/util/json.d.ts +1 -0
  59. package/dist/src/util/json.d.ts.map +1 -1
  60. package/dist/src/util/json.js +10 -0
  61. package/dist/src/util/json.js.map +1 -1
  62. package/dist/src/validators/providers.d.ts +484 -415
  63. package/dist/src/validators/providers.d.ts.map +1 -1
  64. package/dist/src/validators/providers.js +21 -18
  65. package/dist/src/validators/providers.js.map +1 -1
  66. package/dist/src/validators/redteam.d.ts +168 -144
  67. package/dist/src/validators/redteam.d.ts.map +1 -1
  68. package/dist/src/web/nextui/404/index.html +1 -1
  69. package/dist/src/web/nextui/404.html +1 -1
  70. package/dist/src/web/nextui/_next/static/chunks/app/{layout-cde76a4fed4cb71f.js → layout-cd2ab2a02e6ca1f4.js} +1 -1
  71. package/dist/src/web/nextui/_next/static/chunks/main-app-0dc90092cd7acaaf.js +1 -0
  72. package/dist/src/web/nextui/auth/login/index.html +1 -1
  73. package/dist/src/web/nextui/auth/login/index.txt +2 -2
  74. package/dist/src/web/nextui/auth/signup/index.html +1 -1
  75. package/dist/src/web/nextui/auth/signup/index.txt +2 -2
  76. package/dist/src/web/nextui/datasets/index.html +1 -1
  77. package/dist/src/web/nextui/datasets/index.txt +2 -2
  78. package/dist/src/web/nextui/eval/index.html +1 -1
  79. package/dist/src/web/nextui/eval/index.txt +3 -3
  80. package/dist/src/web/nextui/index.html +1 -1
  81. package/dist/src/web/nextui/index.txt +2 -2
  82. package/dist/src/web/nextui/progress/index.html +1 -1
  83. package/dist/src/web/nextui/progress/index.txt +2 -2
  84. package/dist/src/web/nextui/prompts/index.html +1 -1
  85. package/dist/src/web/nextui/prompts/index.txt +2 -2
  86. package/dist/src/web/nextui/report/index.html +1 -1
  87. package/dist/src/web/nextui/report/index.txt +2 -2
  88. package/dist/src/web/nextui/setup/index.html +1 -1
  89. package/dist/src/web/nextui/setup/index.txt +2 -2
  90. package/dist/test/index.test.d.ts +2 -0
  91. package/dist/test/index.test.d.ts.map +1 -0
  92. package/dist/test/index.test.js +98 -0
  93. package/dist/test/index.test.js.map +1 -0
  94. package/package.json +1 -1
  95. package/dist/src/web/nextui/_next/static/chunks/main-app-cf76b7c55faa5c9b.js +0 -1
  96. /package/dist/src/web/nextui/_next/static/{qsPTZTwnOpgwnGEyIAMiy → CvuPvd-3y8Il_b6bK8bfx}/_buildManifest.js +0 -0
  97. /package/dist/src/web/nextui/_next/static/{qsPTZTwnOpgwnGEyIAMiy → CvuPvd-3y8Il_b6bK8bfx}/_ssgManifest.js +0 -0
  98. /package/dist/src/web/nextui/_next/static/chunks/{258-7ed3ed99c1faa317.js → 258-5aac745397a7d5f4.js} +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.