Skip to content

Advanced Prompting Topics

"The universe doesn’t allow perfection." Stephen Hawking (A Brief History of Time, 1988)

Appendix: Advanced Prompting Topics

This crash course has provided you with a solid foundation in AI prompting. As you become more comfortable, you might want to explore more advanced techniques and patterns to further enhance your interactions with AI. This appendix lists some of these topics for your future learning, showing how they build upon the core principles you've already mastered.

Building on First Principles Thinking (Crafting Your Prompt)

  • Audience Persona: This technique involves instructing the AI to tailor its output for a specific intended audience. It's a direct application of defining the 'Persona' component in First Principles, ensuring the AI's response is perfectly suited for the intended reader or listener. Reference: Master the Audience Persona Pattern in AI Prompt Engineering - YouTube
  • Template: This technique involves creating reusable prompt structures with placeholders. It directly supports the 'Format' component of First Principles, ensuring consistency in the AI's output and saving time for repetitive tasks. Reference: Prompt Engineering Guide - Template Pattern
  • Meta Language Creation: This technique involves defining a custom vocabulary or set of symbols for the AI. It enhances the 'Context' and 'Constraints/Rules' of First Principles by creating a precise, unambiguous language for specific interactions. Reference: Prompt Engineering for ChatGPT - Coursera
  • Semantic Filter: This technique allows you to control the AI's output by instructing it to include or exclude information based on its meaning. It's a powerful way to enforce 'Constraints/Rules' from First Principles, ensuring the AI's response adheres to specific content guidelines. Reference: Prompt Engineering: The Semantic Filter Pattern - Debabrata Pruseth
  • Tail Generation: This technique involves providing a partial input and instructing the AI to complete it. It's a specific application of defining a clear 'Goal' and 'Format' within First Principles, guiding the AI to generate a coherent continuation. Reference: Tail Generation Prompt Pattern - YouTube
  • Few-Shot Prompting: This technique involves providing the AI with a small number of examples directly within your prompt. It's a highly effective way to define the 'Format' and 'Style' components of First Principles, showing the AI exactly what kind of output you expect. Reference: Few-shot Prompting - IBM

Building on Chain of Thought Prompting (Guiding AI's Reasoning)

Building on Meta-Prompting (AI Helping You Prompt Better)

Hybrid & Specialized Patterns

  • Game Play: This technique involves framing your interaction with the AI as a game. It combines elements of First Principles (defining rules), Chain of Thought (sequential turns), and Meta-Prompting (AI as game master guiding the interaction), making it useful for interactive learning or simulations. Reference: The Game Play Pattern in Prompt Engineering - Medium
  • Menu Actions: This technique presents the AI with a predefined set of actionable options. It relates to First Principles by defining clear 'Constraints/Rules' and 'Format' for interaction, and can be used within a Chain of Thought to guide multi-step processes. Reference: Menu Actions Pattern: Prompt Engineering - Medium
  • Playoff Method: This technique asks the AI to generate multiple competing ideas and then iteratively select the best. It combines creative generation (related to First Principles brainstorming) with a structured evaluation process (similar to Chain of Thought) to optimize decision-making. Reference: The Playoff Method - God of Prompt
  • Fact Check List: This technique instructs the AI to extract and list fundamental facts from its output for verification. It directly supports the 'SENSE' check from Chapter 5, providing a structured way to ensure the reliability of AI-generated content. Reference: Fact Check List Prompt Pattern - YouTube