@orangekame3/pi-qcaleval 0.0.2-beta.6 → 0.0.2-beta.9
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/extensions/qcaleval.ts +3 -0
- package/package.json +1 -1
package/extensions/qcaleval.ts
CHANGED
|
@@ -349,6 +349,8 @@ export interface EvaluationDetails {
|
|
|
349
349
|
prompt?: string;
|
|
350
350
|
/** How many labeled examples were shown before the figure. */
|
|
351
351
|
examples_used?: number;
|
|
352
|
+
/** The system prompt the model was sent, so the host can show the whole request. */
|
|
353
|
+
system_prompt?: string;
|
|
352
354
|
}
|
|
353
355
|
|
|
354
356
|
function failure(spec: ModelSpec | undefined, text: string): AgentToolResult<EvaluationDetails> {
|
|
@@ -432,6 +434,7 @@ export default function qcalevalExtension(pi: ExtensionAPI) {
|
|
|
432
434
|
diagnosis: diagnosis ?? null,
|
|
433
435
|
...(diagnosis ? {} : { raw: text }),
|
|
434
436
|
prompt,
|
|
437
|
+
system_prompt: SYSTEM_PROMPT,
|
|
435
438
|
...(examplesUsed ? { examples_used: examplesUsed } : {}),
|
|
436
439
|
},
|
|
437
440
|
...(message.usage ? { usage: message.usage } : {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orangekame3/pi-qcaleval",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.9",
|
|
4
4
|
"description": "pi extension that sends calibration plots to a calibration-evaluation VLM such as NVIDIA Ising-Calibration and returns a structured diagnosis",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|