Gemini: put your question after the long context, not before
With big documents or code, Google advises supplying all context first, then your specific instructions at the very end, bridged by a clear transition.
With big documents or code, Google advises supplying all context first, then your specific instructions at the very end, bridged by a clear transition.
Google recommends always including few-shot examples. Clear examples can even replace instructions for format and tone.
Wrap instructions, documents and examples in descriptive XML tags so Claude never confuses your data with your instructions.
Google's prompting framework: persona, task, context, format. Write concisely and clearly, reuse the same terms, and start fresh chats for new topics.