L
LLLOS.ai
Career
L
◆ AI Learning · Hard rule

Why did the AI model include its instructions in the answer?

An AI model can mistake instructions for content. When a developer uses special formatting for rules, the AI model might include that formatting and the rules in its output. The AI model does not always know the difference between an instruction and text for the user.

By Pawan Nayar · from the LLOS AI Learning record

The rule

An AI model can mistake instructions for content.

When a developer uses special formatting for rules, the AI model might include that formatting and the rules in its output. The AI model does not always know the difference between an instruction and text for the user.

The AI model saw special formatting in the instructions. This formatting made the instructions look like important text. The AI model then included these instructions in its response to the user. The AI model did not understand that these were commands for itself, not part of the answer.

A developer tells an AI model to follow 'GOLDEN RULES' written in bold. The developer uses colons to separate parts of the rules. The AI model then outputs the phrase 'GOLDEN RULES' in bold, followed by the developer's instructions, including the colons. The AI model thought the rules were part of the content to share.

Words you'll need

Resolved from this lesson's own record — real definitions, not invented for this page.

System Prompt

The instructions you give the AI before asking questions

Token Generation

One word at a time, step by step

Fine-Tuning

Adjusting AI for specific tasks or data

Pre-Training

Teaching AI by reading nearly everything first

Questions people ask

More from the same record, pulled by shared topic — not written new for this page.

How can an AI model better understand and use specific instructions from a user?

The AI model needs to treat each instruction as a separate, important guide. If a user gives a phrase, the AI model should use that phrase directly.

How can an AI model be stopped from doing something specific?

An AI model follows negative instructions most of the time. Use phrases like 'ABSOLUTELY DO NOT USE' for these instructions.

How can an AI model accurately follow user instructions?

An AI model needs clear and complete instructions. The user must state the desired outcome precisely.

How can a developer prevent an AI model from showing internal prompt parameters in its output?

A developer includes parameters in a prompt. These parameters help the AI model understand the task.

What to remember

An AI model can mistake instructions for content. When a developer uses special formatting for rules, the AI model might include that formatting and the rules in its output. The AI model does not always know the difference between an instruction and text for the user.