@mastra/evals 0.13.10 → 0.14.0-alpha.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 (30) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/{dist-U76IQBNC.js → dist-EKFCQ7IX.js} +1207 -1199
  3. package/dist/dist-EKFCQ7IX.js.map +1 -0
  4. package/dist/{dist-IEBPVOY3.cjs → dist-PGA5XTSX.cjs} +1207 -1199
  5. package/dist/dist-PGA5XTSX.cjs.map +1 -0
  6. package/dist/index.cjs +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/{magic-string.es-WQRLTQPQ.js → magic-string.es-7ORA5OGR.js} +20 -5
  9. package/dist/magic-string.es-7ORA5OGR.js.map +1 -0
  10. package/dist/{magic-string.es-VZN2EYER.cjs → magic-string.es-NZ2XWFKN.cjs} +20 -5
  11. package/dist/magic-string.es-NZ2XWFKN.cjs.map +1 -0
  12. package/dist/scorers/llm/answer-relevancy/index.d.ts +2 -2
  13. package/dist/scorers/llm/answer-relevancy/index.d.ts.map +1 -1
  14. package/dist/scorers/llm/bias/index.d.ts +2 -2
  15. package/dist/scorers/llm/bias/index.d.ts.map +1 -1
  16. package/dist/scorers/llm/faithfulness/index.d.ts +2 -2
  17. package/dist/scorers/llm/faithfulness/index.d.ts.map +1 -1
  18. package/dist/scorers/llm/hallucination/index.d.ts +2 -2
  19. package/dist/scorers/llm/hallucination/index.d.ts.map +1 -1
  20. package/dist/scorers/llm/index.cjs +4 -1
  21. package/dist/scorers/llm/index.cjs.map +1 -1
  22. package/dist/scorers/llm/index.js +4 -1
  23. package/dist/scorers/llm/index.js.map +1 -1
  24. package/dist/scorers/llm/toxicity/index.d.ts +3 -3
  25. package/dist/scorers/llm/toxicity/index.d.ts.map +1 -1
  26. package/package.json +6 -6
  27. package/dist/dist-IEBPVOY3.cjs.map +0 -1
  28. package/dist/dist-U76IQBNC.js.map +0 -1
  29. package/dist/magic-string.es-VZN2EYER.cjs.map +0 -1
  30. package/dist/magic-string.es-WQRLTQPQ.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @mastra/evals
2
2
 
3
+ ## 0.14.0-alpha.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
8
+
9
+ - Standardize model configuration across all components to support flexible model resolution ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
10
+
11
+ All model configuration points now accept `MastraModelConfig`, enabling consistent model specification across:
12
+ - Scorers (`createScorer` and all built-in scorers)
13
+ - Input/Output Processors (`ModerationProcessor`, `PIIDetector`)
14
+ - Relevance Scorers (`MastraAgentRelevanceScorer`)
15
+
16
+ **Supported formats:**
17
+ - Magic strings: `'openai/gpt-4o-mini'`
18
+ - Config objects: `{ id: 'openai/gpt-4o-mini' }` or `{ providerId: 'openai', modelId: 'gpt-4o-mini' }`
19
+ - Custom endpoints: `{ id: 'custom/model', url: 'https://...', apiKey: '...' }`
20
+ - Dynamic resolution: `(ctx) => 'openai/gpt-4o-mini'`
21
+
22
+ This change provides a unified model configuration experience matching the `Agent` class, making it easier to switch models and use custom providers across all Mastra components.
23
+
24
+ ### Patch Changes
25
+
26
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
27
+
28
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
29
+
30
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
31
+
32
+ - Updated dependencies [[`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
33
+ - @mastra/core@0.21.0-alpha.0
34
+
3
35
  ## 0.13.10
4
36
 
5
37
  ### Patch Changes