AI engineering glossary · Prompt context engineering

What is generated knowledge prompting?

Generated knowledge prompting: A two-step technique where the model first writes out relevant facts about the topic, and those facts are then added to the prompt when answering the actual question. It can help commonsense questions, though generated facts may be wrong.

Level: advancedTopic: Prompt context engineering

Generated knowledge prompting: an example

For 'Can a penguin fly?', the model first writes 'Penguins are flightless birds', then answers using that statement.

Related terms

More Prompt context engineering terms

Where you learn it

Generated knowledge prompting is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.