PRODUCTION SCENARIO
A legal assistant sends three 30,000-token contracts and a question in one prompt. The engineer currently writes the question first and appends the contracts after it.
How should the prompt be reordered?
Answering here is anonymous. Nothing is saved unless you sign in.
Show answer and explanation
Answer: Put the contracts near the top and the question and instructions after them
The prompting best practices say to put longform data near the top of the prompt, above the query, instructions, and examples, and that this improves performance across all models.