AI engineering glossary · Prompt context engineering

What is long-context prompting?

Long-context prompting: Working with prompts that carry very large inputs, such as whole books or codebases, and applying habits that help: putting documents before questions, labelling sections and asking for quotes. Capacity alone does not guarantee good use of the text.

Level: intermediateTopic: Prompt context engineering

Long-context prompting: an example

Place three 40-page reports at the top in tagged blocks, then ask the comparison question at the end.

Related terms

More Prompt context engineering terms

Where you learn it

Long-context 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.