规则参考 · 完整性
指代不明
触发条件: “这个”或“上面的内容”,但没有附上可指代的材料。
在聊天中模型也许能看到之前的消息,但在 API 调用、模板或智能体的某一步里,它只能看到这条提示词。“解释一下这个是做什么的”就没有可指的对象。
把材料粘贴到带分隔的块中(代码围栏或标签),或者在有工具会去获取它时,精确地写出名称(文件路径、函数名)。
示例提示词以及引擎的消息、解释和修复,按引擎返回的原样以英文显示。
触发它的示例
Fix this and explain what was wrong.提示 The prompt refers to something ("this", "the above", "the file") that is not included.
为什么重要。 The model cannot see what the reference points to, so it will answer generically or invent it.
修复。 Paste the material in a delimited block, or name the file, function, or snippet.
质量 97/100 · 8 个 token · 1 个发现
修复后的版本
Fix the function below so it handles an empty list, and explain what was wrong. Answer in 3 bullet points.
```python
def mean(xs):
return sum(xs) / len(xs)
```质量 100/100(+3)· 41 个 token · 0 个发现
已被修复解决
unclear_reference: The prompt refers to something ("this", "the above", "the file") that is not included.
本页的分数、token 数(GPT-4.1 分词器)和发现,都是在构建网站时由引擎计算的。
它如何影响分数
每个发现都会从 100 分中扣除固定的分数:严重 30,警告 10,提示 3。此规则计入完整性维度。完整公式参见评分模型。
其他完整性规则
- 缺少目标: 没有任务关键词、祈使句或问句。