Contextual Prompting: Adding Background to a Prompt

Contextual Prompting

A method that uses context to improve the model's understanding. The approach means giving the model extra information or background so it can produce more accurate and relevant answers.

AdvantagesDrawbacks
Improves the accuracy and relevance of answersCan increase the length and complexity of the prompt
Lets the model grasp nuance and subtext betterRequires careful selection of relevant context
Effective for tasks that need specific knowledgeExcess context can distract the model from the main task

Contextual Prompting example:

Context: In 1969, a human set foot on the Moon for the first time as part of the Apollo 11 mission. The event was the culmination of the space race between the superpowers of the era and opened a new chapter in space exploration.
Given this context, answer the following questions:
- What did the Moon landing mean for the progress of science and technology?
- How did the event affect the geopolitical situation of the time?
- What long-term consequences of the event do we still see in the space industry today?

Try it in GPTunneL