规则参考 · 输出规范

缺少输出格式

  • missing_output_format
  • 此示例中的提示
  • 输出规范
  • 阶段 · 输出格式分析

触发条件: 没有指明输出格式。

格式是你的代码或读者最依赖的输出部分。不指定的话,它每次运行都会变:一次是散文,下一次是列表,再下一次是表格。

写明确切的形状:“返回包含这些键的 JSON……”“带这些列的 Markdown 表格……”“3 个要点”。对于由机器读取的输出,还要说明数据缺失时该返回什么。

示例提示词以及引擎的消息、解释和修复,按引擎返回的原样以英文显示。

触发它的示例

Analyze the customer reviews below and identify the three most common complaints and what customers say about each of them.

<reviews>
{{reviews}}
</reviews>

提示 No output format is specified.

为什么重要。 Without a format the model chooses one, which makes the output harder to parse or compare across runs.

修复。 Say exactly what to return, e.g. "Return JSON with keys title, summary, tags" or "Answer in 3 bullet points".

质量 97/100 · 30 个 token · 1 个发现

修复后的版本

Analyze the customer reviews below and identify the three most common complaints. Return a Markdown table with the columns complaint, number of reviews, and example quote.

<reviews>
{{reviews}}
</reviews>

质量 100/100(+3)· 39 个 token · 0 个发现

已被修复解决

  • missing_output_format: No output format is specified.

本页的分数、token 数(GPT-4.1 分词器)和发现,都是在构建网站时由引擎计算的。

它如何影响分数

每个发现都会从 100 分中扣除固定的分数:严重 30,警告 10,提示 3。此规则计入输出规范维度。完整公式参见评分模型。

全部 20 条规则 →