AI Glossary / Prompting and human-AI interaction / Intermediate
Generated knowledge prompting
Definition
Generated knowledge prompting is a prompting technique in which a language model is first asked to write out relevant facts, background or principles about a question, and those generated statements are then included in a second prompt that asks for the final answer. It is not retrieval, because the model draws on its own training rather than a trusted document store. The generated facts can be wrong, so the method needs checking.
What it means
Think of it as a two-step habit: first ask the model what is generally known about a topic, then ask it to answer using that list. The idea is that a model may answer better when relevant background is written down in front of it than when it must recall everything silently while answering.
The key point for a business reader is where the knowledge comes from. It comes from the model itself, not from your policies, contracts or databases. That makes the technique cheap and easy to try, and it also means the facts can be incomplete, out of date or simply invented. It helps most on common-sense and general-knowledge questions, and much less when the answer depends on your own records.
How it works
Step one is the knowledge prompt. You give the model the question and ask it to list a handful of short, relevant statements, often with a few example question-and-fact pairs to show the format. You can ask for several independent lists to see which points repeat. Nothing is answered yet at this stage.
Step two is the answer prompt. You paste the question again together with the generated statements and ask for the final answer. Some teams run this once per list and compare the results, or ask the model to say which statements it relied on. The model is only reading text you gave it, so the quality of the answer follows the quality of that text.
Step three, which is often skipped, is review. A person or a separate check compares the generated statements against a trusted source, drops any that do not hold up, and only then lets the answer stand. Practice varies, and reported gains depend on the task and the model, so test it on your own questions before relying on it.
Three practical examples
- Finance team: An analyst asks a model whether a late-payment fee is normally treated as revenue or as other income. The model first lists general accounting principles on fee income, then answers using that list. The analyst checks the list against the company's accounting policy before accepting the answer.
- Retailer: A merchandiser wants advice on whether to bundle umbrellas with raincoats. The model first writes short facts about seasonal demand and complementary purchases, then recommends a bundle test. The merchandiser treats the facts as hypotheses and confirms them with sales data.
- Support desk: An agent drafts a reply about why a smart thermostat loses its connection. The model first lists common causes such as weak signal and router changes, then writes a reply that works through them. A team lead edits the reply, because the facts are general and not specific to the product.
Think of it this way
It is like asking a colleague to jot down what they already know on a whiteboard before they give you a recommendation. Seeing the notes can sharpen their thinking. The analogy stops working because the colleague knows when they are unsure, while a model writes confident-sounding notes whether or not they are true.
Worked example
A small training company tests the technique on 40 general-knowledge questions that a person has already marked with correct answers. With a direct prompt, the model answers 26 correctly. With generated knowledge prompting, the model answers 30 correctly.
The arithmetic: direct accuracy is 26 divided by 40, which is 0.65 or 65 percent. Generated knowledge accuracy is 30 divided by 40, which is 0.75 or 75 percent. The gain is 10 percentage points, or 4 more correct answers out of 40.
The cost: each question now needs 2 model calls instead of 1. If the direct approach used 300 tokens per question, and the knowledge step added 200 tokens, the new total is 500 tokens per question. Across 40 questions that is 40 times 500, or 20,000 tokens, against 12,000 before. The team accepts 67 percent more tokens for 4 more correct answers, and notes that 40 questions is too small a sample to be sure the gain is real.
Illustrative case study
Fictional case: Larkfield Mutual, a made-up regional insurer, wanted a model to help staff answer general questions from customers about home maintenance and risk, such as whether a certain kind of heating system raises fire risk. Early direct answers were short and sometimes vague. The team added a first step in which the model listed five relevant facts, and a second step that wrote the reply from those facts. Answers became clearer and staff liked the structure.
Then a reviewer noticed that one generated fact about wiring standards was wrong, and the reply repeated it with confidence. The team had treated the fact list as a trusted source. They changed the process in three ways. Generated facts were now shown to the reviewer beside the draft. Any fact that touched safety, pricing or coverage had to be matched to an approved internal document or removed. For policy questions, they stopped using the technique and retrieved the actual policy text instead. Error reports on the reply drafts fell, and the technique was kept only for general background questions.
Common misconceptions and mistakes
Generated knowledge is the same as retrieval. It is not, because the facts come from the model's own training and not from a source you control, so they need to be verified.
More generated facts always produce better answers. Extra statements can add noise or errors, and a short, relevant list is usually safer than a long one.
If the answer reads well, the facts behind it must be right. Fluent text says nothing about accuracy, so the facts should be checked against a trusted reference.
The technique makes the model smarter. It only gives the model written context to read, and it cannot supply knowledge the model lacks.
Business use
To start, pick a low-risk task where general background matters, such as drafting explainers, brainstorming or answering common-sense questions. Write a fixed two-step prompt, keep the generated facts visible, and compare results against a plain prompt on a set of questions with known answers. If the gain is small, drop the extra step and save the cost.
Measure accuracy against a reference set, the share of generated facts that a reviewer rejects, the extra tokens and latency from the second call, and the time spent on review. The main risk is repeated errors that look well supported. Do not use it as the only basis for legal, medical, financial or policy answers. For anything that depends on your own documents, use retrieval from approved sources instead, and keep a person in the loop for decisions with real consequences.
People also ask
How is generated knowledge prompting different from retrieval-augmented generation?
Retrieval-augmented generation pulls text from documents you choose, while generated knowledge prompting asks the model to write its own background facts. The first is grounded in sources you control, and the second is only as reliable as the model's training.
Does generated knowledge prompting reduce hallucinations?
Not reliably. The generated facts can themselves be hallucinated, so the technique can repeat an error with more confidence unless the facts are checked.
When is generated knowledge prompting worth using?
It is most useful for general-knowledge or common-sense questions where background context helps and an error is cheap to catch. It is a poor fit when the answer depends on your own data or on strict rules.
Check your understanding
In the worked example, what is the accuracy gain from generated knowledge prompting?
Answer: Accuracy rises from 65 percent (26 of 40) to 75 percent (30 of 40), a gain of 10 percentage points or 4 more correct answers.
In the worked example, how many tokens does the second approach use across 40 questions?
Answer: It uses 500 tokens per question, so 40 times 500 equals 20,000 tokens, compared with 12,000 for the direct prompt.
Why did Larkfield Mutual stop using the technique for policy questions?
Answer: Policy answers depend on the insurer's actual documents, and model-generated facts could be wrong, so they switched to retrieving the real policy text.
What is the main risk of this technique?
Answer: The model may write confident but false facts and then build its answer on them, so the facts need review against a trusted source.
Related terms
- Chain-of-thought prompting
- Retrieval-augmented generation
- Prompt chaining
- Few-shot prompting
- Hallucination
- Grounding
- Prompt engineering
- Self-consistency
Learn next
Try the two-step pattern on ten questions you already know the answers to, and note how many generated facts you would have to correct. Then read about retrieval-augmented generation and grounding to see how to base answers on sources you trust, and about prompt chaining for splitting work across several prompts.
More in Prompting and human-AI interaction
- Few-shot learning - Few-shot learning is the challenge of adapting to a task or recognizing new classes from only a small number of labeled examples.
- Frequency penalty - A frequency penalty is a text-generation setting that lowers the chance of a language model choosing a word or token again in proportion to how many times...
- Generalized Few-shot Learning - Generalized few-shot learning is a classification setting in which a model must recognize both previously learned base classes and new classes introduced...
- Human-AI interaction - Human-AI interaction is the study and design of how people communicate, collaborate and make decisions with AI systems.
- Human-computer interaction - Human-computer interaction, or HCI, is the study and design of how people interact with computing systems.
- Human-in-the-loop - Human-in-the-loop describes an AI workflow in which people provide input, judgment, correction or approval at defined points that influence the system's...
Sources
DAIR.AI, Prompt Engineering Guide: https://www.promptingguide.ai/ OpenAI, Prompt engineering guide: https://platform.openai.com/docs/guides/prompt-engineering Wei et al., Chain-of-Thought Prompting Elicits Reasoning in Large Language Models: https://arxiv.org/abs/2201.11903 The sources were consulted for how prompting techniques are described and for related reasoning methods; the examples, analogy, worked example and case are original educational illustrations. Checked 9 Nov 2026.
Previous: Generalized total variation minimization Next: Generated regressor