Every chatbot eventually faces a question it should not answer: something outside its topic, something it has no reliable information about, or something where a confident guess would do real harm. Left to itself, a model tends to answer anyway, fluently and sometimes wrongly. A knowledge cutoff is how you push back. It is a rule in the system prompt that draws a boundary around what the bot may claim to know, paired with fallback answers that tell the bot what to do when a question lands outside that boundary.
This guide shows how to write both parts with the free System Prompt Generator on Ovatly. It also states the limit plainly: a cutoff line is an instruction the model is asked to follow, not a hard technical limit, and the model may still get things wrong. Writing the rule well matters. Testing whether it holds matters just as much.
Contents
- Quick answer
- What a knowledge cutoff actually is
- Why the fallback matters as much as the cutoff
- Worked example: the support agent's rules already do this
- How to write a cutoff and fallback, step by step
- Limitations worth knowing
- Common mistakes
- FAQs
- Conclusion
Quick answer
Write the cutoff as one of the bot's always-follow rules, in the same plain style as any other rule: name the boundary and forbid guessing beyond it. Then write a second rule giving the fallback behaviour, what the bot should do instead, such as saying it does not know or asking a clarifying question. The System Prompt Generator assembles both lines into the rules section. Understand what you have built: an instruction the model is asked to follow, not a lock on its knowledge, so finish by testing the bot with questions beyond the boundary.
What a knowledge cutoff actually is
A system prompt is the standing instruction given to a model before the conversation starts. It sets identity, expertise, rules and answer format for every reply that follows. A knowledge cutoff lives in one of those parts: the always-follow rules.
That placement tells you what a cutoff is. It is not a setting in the model, and it does not remove anything the model knows. It is a line of instruction, written by you, that the model is asked to respect: questions outside this area should not be answered from memory or guesswork. The expertise field supports it by defining the area the bot does cover. But the cutoff itself is a rule, with the same strength and weakness as every other rule in the prompt.
The weakness deserves emphasis. A system prompt guides a model; it cannot guarantee behaviour. A cutoff rule raises the odds that the bot declines gracefully instead of bluffing. It does not make bluffing impossible. Anyone who treats it as a hard technical limit will eventually be surprised by an answer that steps over it.
Why the fallback matters as much as the cutoff
A boundary by itself leaves the bot with a problem: a user has asked something, the rule says do not answer it, and nothing says what to do instead. Bots fill gaps like that unpredictably. The fallback rule turns a refusal into a behaviour. Useful fallback patterns include:
- Admit and stop. The bot says plainly that it does not know, rather than guessing.
- Ask instead. The bot asks a clarifying question, the right move when the missing piece is something the user can supply.
- Redirect. The bot points the user to where the answer lives: a document, a team, a human.
Each pattern is written like any other rule: one line, one behaviour, no ambiguity. The optional example exchange earns its place here, because showing one sample question beyond the boundary, with the expected fallback reply, demonstrates the behaviour instead of only describing it.
Worked example: the support agent's rules already do this
The worked example built into the generator is a support agent for home Wi-Fi routers. Its fields are a persona ("a concise technical support agent"), an expertise area ("home Wi-Fi routers"), two output rules ("Answer in plain English", "Keep answers under 120 words"), and two always-follow rules:
- Never guess a password
- Ask one question at a time
Look at those two rules together and you can see a cutoff and fallback already working. "Never guess a password" is a boundary rule: a password is a fact the bot either has or does not have, and the rule forbids inventing one. "Ask one question at a time" is the fallback: when the bot lacks what it needs, it does not stall or bluff, it asks. The expertise line draws the wider boundary too, since the bot's area is home Wi-Fi routers and anything else is outside the territory the prompt claims.
To add an explicit knowledge cutoff to a bot like this, you write one more line in the same style, in the same field: a rule stating that if a question falls outside the bot's area, it should say so and suggest where to ask instead. The generator numbers it alongside the others; nothing about the format changes. Only the coverage of your rule set changes.
How to write a cutoff and fallback, step by step
- Open the System Prompt Generator.
- Write the persona in one phrase and set the expertise area carefully. The expertise line defines the inside of the boundary, so make it as specific as the bot's real job.
- Add the cutoff as an always-follow rule, one per line with the other rules: state what the bot must not do beyond the boundary, in the direct style of "Never guess a password".
- Add the fallback as its own rule: what the bot does instead, whether that is admitting it does not know, asking one question at a time, or redirecting the user.
- Optionally add an example exchange showing a question beyond the boundary and the fallback reply you expect. Then pick plain, Markdown or JSON and copy the generated system prompt.
- Test the result with real questions, especially questions just beyond the boundary, and adjust the wording where the bot steps over the line.
Limitations worth knowing
The generator is template assembly: it arranges your fields and never invents rules you did not write, so the quality of the cutoff is the quality of your wording. JSON format changes nothing about how binding the rule is. The standing limit applies with full force: the prompt guides the model and cannot guarantee behaviour. The model may still answer past the boundary, or answer wrongly inside it. A cutoff reduces a risk; it does not eliminate one, and any use where a wrong answer is dangerous needs human review behind the bot as well.
Common mistakes
- Treating the cutoff as a lock. It is an instruction, not a technical limit. Plan and test accordingly.
- Writing a cutoff with no fallback. A boundary without a "do this instead" rule leaves the bot to improvise at exactly the moment you wanted control.
- Making the boundary vague. "Only answer questions you are sure about" gives the model no line it can recognise. Name the area, as the expertise field does, and name the behaviour.
- Conflicting rules. A rule demanding an answer to every question fights the cutoff rule, and conflicting rules get resolved unpredictably. Read the set as a whole.
- Never testing past the boundary. The failure you are designing against only appears when someone asks the wrong question. Ask it yourself first.
FAQs
Is a knowledge cutoff in a system prompt a hard limit? No. The line is an instruction inside the prompt, and a system prompt guides a model rather than guaranteeing its behaviour. The bot is being asked to respect the boundary, which is why testing matters.
What should a fallback answer do? It should replace the guess with a safe behaviour: say plainly that the bot does not know, ask a clarifying question, or point the user to the place where the answer lives. The entry example uses the same pattern: never guess a password, ask one question at a time.
Where does the cutoff rule go in the prompt? In the always-follow rules, one rule per line, alongside the bot's other standing rules. That is the field the generator numbers under the rules heading in the assembled prompt.
Can the generator write the cutoff rule for me? No. Every rule in the output is a line you typed; the tool only numbers and arranges them. The wording of the boundary is yours to write and yours to test.
How do I know whether the bot follows the cutoff? Test it with real questions, including questions that sit beyond the boundary you set. A system prompt cannot guarantee behaviour, so the test results, not the wording, tell you how well the cutoff holds.
Conclusion
A knowledge cutoff is two lines of honest writing: a boundary the bot is asked to respect, and a fallback that tells it what to do instead of guessing. Write both with the System Prompt Generator, keep them in the same plain style as the rules around them, and test the bot with the questions you hope it declines. If you are still deciding how much else belongs in the prompt, the companion guide on how long a system prompt should be covers the length question. For more guides like this one, see the AI and Prompt Tools guides.