Chain-of-Thought Prompting: 1. State the complex problem clearly. 2. Instruct ChatGPT to 'think step-by-step' or 'reason through this logically.' 3. Ask for the final answer after the reasoning process. Example: 'Solve this math problem. Show your work step-by-step: (5 + 3) 2 - 1 = ?'*
Few-Shot Learning: 1. Provide 1-3 examples of desired input-output pairs. 2. Present your new input that follows the same pattern. Example: 'Translate the following: English: Hello, French: Bonjour. English: Goodbye, French: Au revoir. English: Thank you, French: ' (ChatGPT will likely respond 'Merci')
Zero-Shot Learning (Implicit): 1. Formulate a prompt that implicitly requires the model's general knowledge or reasoning without explicit examples. Example: 'Summarize the main arguments for and against universal basic income.'
Explicit Constraints: 1. Clearly state what the output must include. 2. Use keywords like 'Must include,' 'Format as,' 'Only use.' Example: 'Summarize this article in exactly three bullet points, each starting with an action verb.'
Negative Constraints: 1. Clearly state what the output must NOT include. 2. Use keywords like 'Do NOT mention,' 'Exclude,' 'Without.' Example: 'Describe the benefits of cloud computing, but do NOT mention Amazon Web Services.'
Role-Playing: 1. Assign a specific persona to ChatGPT. 2. Specify their expertise, tone, and perspective. 3. Ask your question. Example: 'Act as a seasoned venture capitalist. Evaluate this startup pitch deck and provide feedback on its market potential and risks.'
Prompt Chaining: 1. Break a complex task into sequential sub-tasks. 2. Use the output of one prompt as the input for the next. 3. (Manual or automated via API/Custom GPTs) Example: 'Prompt 1: Generate 5 blog post titles about AI in healthcare. Prompt 2: Using the third title from the previous output, write a 200-word introduction.'
Iterative Refinement: 1. Submit an initial prompt. 2. Analyze the output for areas needing improvement. 3. Provide follow-up prompts with specific feedback and adjustments. Example: 'Initial: 'Write an email to a client.' Follow-up: 'Make it more formal and include a call to action to schedule a meeting next week.'