@mastra/evals 0.1.21-alpha.1 → 0.1.21-alpha.3
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.
|
@@ -1132,7 +1132,6 @@ var HallucinationMetric = class extends _eval.Metric {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
async measure(input, output) {
|
|
1134
1134
|
const verdicts = await this.judge.evaluate(output, this.context);
|
|
1135
|
-
console.log("verdicts", verdicts);
|
|
1136
1135
|
const score = this.calculateScore(verdicts);
|
|
1137
1136
|
const reason = await this.judge.getReason({
|
|
1138
1137
|
input,
|
|
@@ -1130,7 +1130,6 @@ var HallucinationMetric = class extends Metric {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
async measure(input, output) {
|
|
1132
1132
|
const verdicts = await this.judge.evaluate(output, this.context);
|
|
1133
|
-
console.log("verdicts", verdicts);
|
|
1134
1133
|
const score = this.calculateScore(verdicts);
|
|
1135
1134
|
const reason = await this.judge.getReason({
|
|
1136
1135
|
input,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/evals",
|
|
3
|
-
"version": "0.1.21-alpha.
|
|
3
|
+
"version": "0.1.21-alpha.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"sentiment": "^5.0.2",
|
|
63
63
|
"string-similarity": "^4.0.4",
|
|
64
64
|
"zod": "^3.24.2",
|
|
65
|
-
"@mastra/core": "^0.9.2-alpha.
|
|
65
|
+
"@mastra/core": "^0.9.2-alpha.3"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"ai": "^4.0.0"
|