@smithers-orchestrator/scorers 0.23.0 → 0.24.2
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.
- package/package.json +7 -7
- package/src/index.d.ts +1 -1
- package/src/llmJudge.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithers-orchestrator/scorers",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.2",
|
|
4
4
|
"description": "Smithers scorer definitions, execution, aggregation, and persistence helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"drizzle-orm": "^0.45.2",
|
|
34
34
|
"effect": "^3.21.1",
|
|
35
35
|
"zod": "^4.3.6",
|
|
36
|
-
"@smithers-orchestrator/
|
|
37
|
-
"@smithers-orchestrator/errors": "0.
|
|
38
|
-
"@smithers-orchestrator/
|
|
39
|
-
"@smithers-orchestrator/graph": "0.
|
|
40
|
-
"@smithers-orchestrator/
|
|
41
|
-
"@smithers-orchestrator/
|
|
36
|
+
"@smithers-orchestrator/agents": "0.24.2",
|
|
37
|
+
"@smithers-orchestrator/errors": "0.24.2",
|
|
38
|
+
"@smithers-orchestrator/db": "0.24.2",
|
|
39
|
+
"@smithers-orchestrator/graph": "0.24.2",
|
|
40
|
+
"@smithers-orchestrator/scheduler": "0.24.2",
|
|
41
|
+
"@smithers-orchestrator/observability": "0.24.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/bun": "latest",
|
package/src/index.d.ts
CHANGED
|
@@ -196,7 +196,7 @@ type Scorer$7 = Scorer$8;
|
|
|
196
196
|
* id: "tone",
|
|
197
197
|
* name: "Professional Tone",
|
|
198
198
|
* description: "Evaluates professional tone",
|
|
199
|
-
* judge: new AnthropicAgent({ model: "claude-
|
|
199
|
+
* judge: new AnthropicAgent({ model: "claude-fable-5" }),
|
|
200
200
|
* instructions: "You evaluate text for professional tone.",
|
|
201
201
|
* promptTemplate: ({ output }) =>
|
|
202
202
|
* `Rate the professionalism of this text (0-1 JSON):\n\n${String(output)}`,
|
package/src/llmJudge.js
CHANGED
|
@@ -77,7 +77,7 @@ function parseJudgeJson(text) {
|
|
|
77
77
|
* id: "tone",
|
|
78
78
|
* name: "Professional Tone",
|
|
79
79
|
* description: "Evaluates professional tone",
|
|
80
|
-
* judge: new AnthropicAgent({ model: "claude-
|
|
80
|
+
* judge: new AnthropicAgent({ model: "claude-fable-5" }),
|
|
81
81
|
* instructions: "You evaluate text for professional tone.",
|
|
82
82
|
* promptTemplate: ({ output }) =>
|
|
83
83
|
* `Rate the professionalism of this text (0-1 JSON):\n\n${String(output)}`,
|