This article provides a practical guide to prompt engineering for large language models, emphasizing clear and specific instructions over brevity. It introduces principles, tactics, and patterns for effectively interacting with models like ChatGPT and Claude. The guide includes a Python helper function for generating model completions and details techniques such as using delimiters and providing context to achieve reliable and structured outputs for various applications. AI
IMPACT Provides practical techniques for users to better leverage existing LLMs for applications.
RANK_REASON The article is a guide on prompt engineering techniques for LLMs, not a release of a new model or product.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →