Unlock ChatGPT's Power: 3 Rules to Master AI Prompts
Greg Schwartz, a freelance prompt engineer, shares three key rules for writing effective prompts for AI chatbots like ChatGPT:
- Give the chatbot a role: Tell the chatbot what kind of persona it should adopt, such as "writer," "party planner," or "programmer."
- Provide plenty of context: Give the chatbot specific instructions and background information about the task you want it to complete.
- Break complex tasks into multiple prompts: For intricate tasks, provide step-by-step instructions in separate prompts.
Summary
- Schwartz transitioned from UX design to prompt engineering in 2023. He now helps clients improve their prompts for large language models like ChatGPT.
- Clear and specific prompts are crucial for generating good results. Schwartz emphasizes three key principles:
- Role definition: Specify the chatbot's role or persona to guide its response.
- Context: Provide ample background information and instructions for the task.
- Step-by-step prompting: Break down complex tasks into multiple prompts for better understanding.
- An example is given: A client wanted ChatGPT to turn a document into a memo, but without clear instructions, the output was poor. Specifying the memo's length and structure would improve the outcome.
- Another example demonstrates breaking down tasks: To identify the most mentioned US locations in an article, provide separate prompts to:
- List all mentioned locations and their frequencies.
- Filter for locations in the US.
- Sort by frequency and select the top three.
READ ARTICLE