Today, we're putting your prompt engineering skills to the test! This lesson is all about practicing what you've learned this week and planning your continued learning journey. You'll review key concepts, experiment with complex prompts, and begin to think about how you can apply prompt engineering to your own interests.
Let's refresh our memories! Prompt engineering is the art and science of crafting effective prompts to elicit desired responses from large language models (LLMs). Throughout this week, we’ve explored different techniques, including:
Example: Let's refresh our understanding. Recall the tasks and results from the previous lessons. Re-evaluate the prompts and how you could have changed them to get better outputs.
Now, it's time to try more advanced concepts. We’re going to look at prompts that combine multiple techniques. You can also combine the following techniques.
Example: (Chain-of-Thought)
* Prompt: "I am planning a trip to Italy. I want to visit Rome, Florence, and Venice. Please provide a suggested itinerary for a 7-day trip, including travel times between cities and suggested activities. Let's think step by step."
Where can you find inspiration and examples? There are numerous online prompt repositories and communities. Exploring these can help you broaden your understanding of prompt engineering. Here are a few places to get started:
Example: (Using a Reddit Prompt)
* Go to r/PromptEngineering and find a prompt that interests you. Try to reproduce its results. Analyze its structure. How effective is it? Try to adapt it to a different scenario.
The most important part is to practice. To enhance your skills, you should:
Action: Think of 3 applications of your new skills, in line with your interests.
Explore advanced insights, examples, and bonus exercises to deepen understanding.
Today, you're not just practicing; you're becoming a prompt engineering architect! You've laid the foundation, and now it's time to build a skyscraper. This extended lesson pushes you beyond the basics, encouraging you to integrate multiple techniques, explore real-world applications, and chart your own learning path. Let's go!
Prompt engineering isn't a one-and-done deal. It's an iterative process. Think of it like sculpting: you start with a rough outline, and with each refinement, you add detail and polish. The key is to embrace experimentation and learn from both successes and failures. Consider these key aspects:
Choose a complex scientific concept (e.g., quantum entanglement, the Big Bang theory). Write a prompt that instructs the LLM to explain this concept in simple terms, suitable for a five-year-old. Experiment with different prompt styles (e.g., role-playing as a teacher, using analogies). Refine your prompt until you achieve a clear and understandable explanation.
Imagine you're a marketing professional. Create a detailed creative brief for a fictional product (e.g., a self-folding laundry basket, a teleportation device for pets). The brief should include:
Take a prompt you created earlier in the week (or find one online) and attempt to drastically improve its output. Experiment with adding more context, changing the structure, using different formatting techniques, and adding constraints. Track all the changes and the impact they had on the resulting output.
Prompt engineering skills are valuable in numerous professional and personal contexts:
Consider how you can integrate prompt engineering into your current role or daily life. Identify specific tasks that can be streamlined or improved.
Take on these advanced tasks:
Your prompt engineering journey doesn't end here! Explore these areas to deepen your knowledge:
Congratulations! You've completed the core lessons. Keep experimenting, keep learning, and keep refining your skills. The future of AI is in your hands!
Design a prompt that generates a recipe based on user-provided ingredients and dietary restrictions. Include ingredients, instructions, and nutritional information. Use role-playing (e.g., 'You are a professional chef...'), formatting instructions, and potentially few-shot examples to guide the LLM.
Find a long article (news article, blog post, etc.). Write a prompt to summarize the article in the following format: a bulleted list with 5-7 main points and must be less than 150 words. Refine your prompt by adding constraints. Does this improve the results?
Visit a prompt repository (GitHub, Reddit, etc.). Select a prompt. Analyze: What techniques does it use? How effective is it? How could it be improved? Then, rewrite the prompt to fit a different use case. How does it change?
Based on your interests, brainstorm at least three potential project ideas where you could apply your prompt engineering skills. Describe the goal and how you would use prompt engineering to achieve it.
Design a prompt that can write social media posts for a company. The prompt should ask the user for the product or service, the target audience, and desired tone. It should then generate 3 different social media posts, each with a different style (e.g., engaging, informative, humorous).
Prepare for Lesson 8 by brainstorming a personal project idea that interests you and involves prompt engineering. Consider the goal, the techniques you might use, and how you would evaluate the results. Make sure you prepare a short summary (e.g. a paragraph) describing your idea, and also be ready to experiment with a specific prompt.
We're automatically tracking your progress. Sign up for free to keep your learning paths forever and unlock advanced features like detailed analytics and personalized recommendations.