mirror of
https://github.com/linshenkx/prompt-optimizer.git
synced 2026-07-01 15:04:21 +08:00
- 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
35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
||
"type": "result",
|
||
"evaluationModelKey": "dashscope",
|
||
"mode": {
|
||
"functionMode": "basic",
|
||
"subMode": "user"
|
||
},
|
||
"target": {
|
||
"workspacePrompt": "请写一首关于秋日思念的七言律诗。具体要求:1. 八句四联,押平声韵。2. 通过秋景间接表达思念。3. 语言凝练含蓄,不要解释。",
|
||
"referencePrompt": "写一首诗"
|
||
},
|
||
"testCase": {
|
||
"id": "a-test-case",
|
||
"label": "测试内容",
|
||
"input": {
|
||
"kind": "text",
|
||
"label": "测试内容",
|
||
"content": "无额外测试输入,输出直接基于当前提示词生成。"
|
||
}
|
||
},
|
||
"snapshot": {
|
||
"id": "a",
|
||
"label": "A",
|
||
"testCaseId": "a-test-case",
|
||
"promptRef": {
|
||
"kind": "original",
|
||
"label": "原始"
|
||
},
|
||
"promptText": "写一首诗",
|
||
"output": "《秋思》\n\n风起云飞叶落时,孤灯照影夜迟迟。\n庭前菊老香犹在,檐下雁归声未移。\n\n旧梦依稀如雾散,新愁漫漫似烟滋。\n凭栏远望天涯路,一缕斜阳照客思。\n\n——愿这首诗能寄托你心中的思绪。",
|
||
"modelKey": "siliconflow",
|
||
"versionLabel": "原始"
|
||
}
|
||
}
|