项目 10 · 把"好"写成 JSON Schema
把你心里的"好"标准,写成代码可以读、AI 可以执行的格式。这是审美工程化的第一步。
怎么算"成"?
有一份 rubric.json,能被一个判官系统读取,并对一组 10 件作品打分。
步骤 1 · 写出 5–7 条标准(自然语言)
从中阶版项目 07("定义好")继续。把那 5 条精炼到能写成判断条件。
步骤 2 · 翻译成 JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "我的'好东西'评分标准 v1.0",
"type": "object",
"properties": {
"specificity": {
"type": "integer", "minimum": 0, "maximum": 10,
"description": "有多具体?通用的句子扣分,具体的细节加分。"
},
"intentionality": {
"type": "integer", "minimum": 0, "maximum": 10,
"description": "看得出作者真的想说什么吗?还是只是堆砌?"
},
"restraint": {
"type": "integer", "minimum": 0, "maximum": 10,
"description": "有没有不必要的修饰?多则减一分。"
},
"earnestness": {
"type": "integer", "minimum": 0, "maximum": 10,
"description": "有没有为了显得好看而做?真诚程度。"
},
"memorable": {
"type": "integer", "minimum": 0, "maximum": 10,
"description": "明天还能想起其中至少一句话吗?"
}
},
"required": ["specificity", "intentionality", "restraint", "earnestness", "memorable"]
}
步骤 3 · 写一份 prompt 模板
这份 prompt 之后会喂给判官 LLM:
你是一个审美评判系统。下面是评分标准:
{schema}
请对下面这件作品按每条 0–10 打分,每条给一句话理由:
{work}
输出 JSON 格式。
步骤 4 · 第一次验证
选 3 件你心里"特别好"和 3 件"很差"的作品。写下你自己心里的预测分数。然后下一节用判官系统跑一次。看判官打分和你的直觉差多少。差距大的地方,要么改 schema,要么改你自己的直觉。