RAG system prompt from the embeddings QA recipe. The closing sentence is what stops hallucinations on questions outside the retrieved articles. Paired role message: You answer ques
RAG system prompt from the embeddings QA recipe. The closing sentence is what stops hallucinations on questions outside the retrieved articles. Paired role message: You answer ques
Production system prompt from the OpenAI structured outputs cookbook recipe. It instructs the model to emit each solution step as an equation alongside an explanation field, ready
Reasoning model system prompt for catching inconsistencies in tabular data. Returns a tight JSON contract that downstream code can branch on. Source: https://cookbook.openai.com/ex
One line system prompt from the function calling recipe. It is responsible for the model's habit of asking clarifying questions rather than fabricating function arguments. Pair it
OpenAI's recommended pattern for summarizing an article into a fixed schema. Each field is described inline so the model knows exactly what the JSON shape means. Source: https://co
Three short agent prompts from the Swarm style orchestration cookbook. Each agent's "routine" is what the LLM treats as its operating procedure when control is handed off. Source:
Synthetic eval data generator from the OpenAI Evals cookbook. Used to bootstrap a test set from nothing more than a table schema. Source: https://cookbook.openai.com/examples/evalu
Entity extraction system prompt that drives a tool calling search over a product database. Notice how the prompt enumerates valid categories so the model snaps its parameter values
Named entity recognition prompt that locks the model to a single, closed label set. Pinning the categories is what makes the output safe to feed into a downstream parser. User turn
The three pillars OpenAI recommends prepending to any GPT 4.1 coding agent. They turn a one shot model into a loop that keeps working until the task is actually finished. Source: h