ルールリファレンス · 出力の指定

出力形式の欠落

  • 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 トークン · 検出結果 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 トークン · 検出結果 0 件

修正で解消されたもの

  • missing_output_format: No output format is specified.

このページのスコア、トークン数(GPT-4.1 トークナイザー)、検出結果は、サイトのビルド時にエンジンが計算したものです。

スコアへの影響

検出結果ごとに 100 から固定のペナルティを引きます。重大 30、警告 10、情報 3。このルールは出力の指定の評価軸に計上されます。計算式の全体はスコアリングモデルを参照してください。

全 20 ルール →