Cheat-Sheet
Продовжуй тестувати, експериментувати та вдосконалювати свої навички промптингу. Змішуй техніки та користуйся різними моделями. Постійна практика — запорука успіху.
Simple Prompts
| Prompt Type | Prompt Example | Best Use Cases |
|---|---|---|
| Instruction-Based Prompt (Zero-Shot) | Generate interview questions. | - Fast ideation or brainstorming - When minimal context is needed - Suitable for generic outputs |
| Basic Role-Based Prompt | You’re a recruiter. Generate interview questions. | - Role-specific outputs - Great for simulating personas (e.g. a teacher, a coach) - Slightly more personalized and relevant |
| Context-Rich Role-Based Prompt | You’re a hiring manager at a tech company. You’re preparing for junior software developer interviews. Generate interview questions. | - Context-aware responses - Better for job prep, project planning, or technical writing - Produces tone-specific, professional outputs |
| One-Shot Prompt | You’re an experienced tech recruiter screening junior developers for a position of junior software developer. Generate interview questions. Example: “Can you describe a time when you had to debug a complex UI issue? What was the problem and how did you approach solving it?” (Behavioral – Testing problem-solving skills in real-world scenarios.) | - Establishes desired format and tone - Ideal when exact structure or style is important - Helpful in educational or recruiting contexts |
| Few-Shot Prompt | You are an experienced tech recruiter preparing interview questions for a Junior Full-Stack Developer position. Example 1 (to assess practical experience): “Describe a project where you used both front-end and back-end technologies…” Example 2 (to test backend knowledge): “What is the difference between SQL and NoSQL databases…” Example 3 (to assess communication style.): “How do you stay motivated and focused while working remotely?”. Now generate similar questions. | - Enhances consistency and precision - Best for nuanced tasks like QA generation, learning content, or user simulation - Provides strong signal for pattern imitation |
| Structured Format Prompt | Generate 15 original questions. Include a mix of technical and behavioral questions, each with a short note explaining what the question is designed to assess. | - Required when a specific layout is needed - Great for documentation, training material, and structured interviews - Improves downstream usability of AI output |
CIDI and OPRO Frameworks
| Prompt Type | Prompt Example | Best Use Cases |
|---|---|---|
| Structured Prompting (CIDI) | Context: Act as a social media copywriter for Knowely. Instruction: I will give you a message and platform. Write a platform-optimized post. Details: The tone is neutral with a hint of friendly. Input: Message: launching a GenAI course; Platform: LinkedIn. | Clear, repeatable tasks like content creation, summarization, or data analysis where precision is needed. |
| Conversational Prompting (OPRO) | Prompt: I’m stuck working on my project. Give me 10 ideas to get unstuck. (Follow up by refining and adding more directions based on AI’s responses.) | Open-ended, creative tasks such as brainstorming, ideation, refining concepts, or exploring possibilities. |