Files
prompt-optimizer/docs/workspace/compare-evaluation-analysis/real-api-samples/basic-user-compare/request.json
linshen 2cdd095c2b docs(workspace): consolidate compare evaluation specs and acceptance evidence
- fold earlier planning notes into a single current-spec and archived history structure
- keep manual acceptance steps and real API samples aligned with the refactored analysis/result/compare model
- retain supporting workspace notes needed to review version-selection and evaluation behavior changes
2026-03-18 09:35:44 +08:00

63 lines
1.9 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"type": "compare",
"evaluationModelKey": "dashscope",
"mode": {
"functionMode": "basic",
"subMode": "user"
},
"target": {
"workspacePrompt": "请写一首关于秋日思念的七言律诗。具体要求1. 八句四联押平声韵。2. 通过秋景间接表达思念。3. 语言凝练含蓄,不要解释。",
"referencePrompt": "写一首诗"
},
"testCases": [
{
"id": "shared-test-case-a",
"label": "测试内容-无附加输入",
"input": {
"kind": "text",
"label": "测试内容",
"content": "无额外测试输入,输出直接基于当前提示词生成。"
}
},
{
"id": "shared-test-case-b",
"label": "测试内容-指定意象",
"input": {
"kind": "text",
"label": "测试内容",
"summary": "额外限制了意象范围",
"content": "请尽量使用霜叶、孤灯、归雁三个意象。"
}
}
],
"snapshots": [
{
"id": "a",
"label": "A",
"testCaseId": "shared-test-case-a",
"promptRef": {
"kind": "original",
"label": "原始"
},
"promptText": "写一首诗",
"output": "《秋思》\n\n秋风秋雨愁煞人。\n\n这首诗表达思念。",
"modelKey": "siliconflow",
"versionLabel": "原始"
},
{
"id": "b",
"label": "B",
"testCaseId": "shared-test-case-b",
"promptRef": {
"kind": "workspace",
"label": "工作区"
},
"promptText": "请写一首关于秋日思念的七言律诗。具体要求1. 八句四联押平声韵。2. 通过秋景间接表达思念。3. 语言凝练含蓄,不要解释。",
"output": "《秋思》\n\n霜叶摇灯夜色长孤窗一点对潇湘。\n归雁无声穿暮霭离怀有意入秋光。",
"reasoning": "该版本没有再追加解释性尾注。",
"modelKey": "dashscope",
"versionLabel": "工作区"
}
]
}