Back
Prompt Patterns
Prompt patterns from PromptHub Blog Post
- 🧩
Meta Language Creation
Define a custom language or notation for interacting with the LLM. This allows expressing ideas more concisely or clearly using an alternative language.
PromptHub - 📋
Template
Ensure LLM output follows a precise template or format, producing structured output required by an application or use case.
PromptHub - 👤
Persona
Provide the LLM with a specific role or perspective to adopt when generating output, helping simulate an expert or specific role.
PromptHub - 📊
Visualization Generator
Generate text-based descriptions that can be used to create visualizations, facilitating understanding through visual aids.
PromptHub - 🍴
Recipe
Provide a sequence of steps or actions to achieve a specific end result, offering clear guidance for complex tasks.
PromptHub - 🤖
Output Automater
Direct the LLM to generate scripts or automation artifacts based on its output, reducing manual effort and errors.
PromptHub - ✔️
Fact Check List
Generate a list of facts included in the output that should be verified for accuracy, ensuring reliable and factual information.
PromptHub - 🤔
Reflection
Prompt the LLM to introspect on its output and identify any potential errors or areas for improvement, enhancing quality and accuracy.
PromptHub - ✍️
Question Refinement
Engage the LLM in refining user questions to obtain more accurate and relevant answers, improving initial prompts.
PromptHub - 🔄
Alternative Approaches
Ensure the LLM always offers alternative ways of accomplishing a task or solving a problem, providing multiple options and perspectives.
PromptHub - 🧠
Cognitive Verifier
Break down a complex question into smaller, more manageable questions to improve the accuracy of the LLM's responses.
PromptHub - ❗
Refusal Breaker
Prompt the LLM to rephrase or reframe a user's question if it initially refuses to provide an answer, overcoming unclear or restricted prompts.
PromptHub - 💬
Flipped Interaction
Prompt the LLM to take the lead in the conversation by asking questions to gather information needed to achieve a specific goal.
PromptHub - 🎮
Game Play
Create a game or interactive scenario around a specific topic to engage the user in a fun and educational manner.
PromptHub - 🔁
Infinite Generation
Automatically generate a continuous series of outputs without requiring the user to re-enter the prompt each time, streamlining repetitive tasks.
PromptHub - 🗨️
Context Manager
Maintain and manage the context of the conversation to ensure coherence and relevance in ongoing interactions.
PromptHub