<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Digital Alchemy Lab: AI Chronicles]]></title><description><![CDATA[AI Chronicles]]></description><link>https://digitalalchemylabs.com/s/ai-labs</link><image><url>https://substackcdn.com/image/fetch/$s_!VGm8!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png</url><title>Digital Alchemy Lab: AI Chronicles</title><link>https://digitalalchemylabs.com/s/ai-labs</link></image><generator>Substack</generator><lastBuildDate>Sun, 12 Apr 2026 21:28:27 GMT</lastBuildDate><atom:link href="https://digitalalchemylabs.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Devon Artis]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[digitalalchemylab@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[digitalalchemylab@substack.com]]></itunes:email><itunes:name><![CDATA[Devon Artis]]></itunes:name></itunes:owner><itunes:author><![CDATA[Devon Artis]]></itunes:author><googleplay:owner><![CDATA[digitalalchemylab@substack.com]]></googleplay:owner><googleplay:email><![CDATA[digitalalchemylab@substack.com]]></googleplay:email><googleplay:author><![CDATA[Devon Artis]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Teaching Others Is How You Know You've Got It]]></title><description><![CDATA[The final test: Explaining prompt crafting concepts in your own words]]></description><link>https://digitalalchemylabs.com/p/day-12-teaching-others-is-how-you</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-12-teaching-others-is-how-you</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 17 Jun 2025 20:32:18 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!wacS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wacS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wacS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wacS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wacS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wacS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wacS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg" width="1440" height="1440" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1440,&quot;width&quot;:1440,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:193746,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/165797960?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wacS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wacS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wacS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wacS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa0576dde-91f7-4b37-be70-4da4cf00dc68_1440x1440.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey Alchemists,</p><p>So we did the transfer test applying prompt crafting principles to completely new situations. Taking what you've learned and remixing it for problems you've never seen before.</p><p>Today is the final test: <strong>Can you teach it?</strong></p><p>Because here's what I've learned after years of helping people master new skills: <strong>You don't really understand something until you can explain it to someone else.</strong></p><p>This isn't just about prompt crafting. This is about how learning actually works.</p><p></p><div><hr></div><p></p><h2>Why Teaching Is the Real Test</h2><p>Six months ago, I thought I understood prompt engineering because I could use other people's prompts effectively.</p><p>Then someone asked me to explain why certain prompts work better than others.</p><p>I froze.</p><p>I knew what worked, but I couldn't explain why. </p><p>I could follow patterns, but I couldn't break down the principles. I was using prompts, not crafting them.</p><p><strong>That's when I realized: If you can't teach it, you don't really own it.</strong></p><p>So today, we're flipping the script. Instead of me teaching you, you're going to teach someone else.</p><p></p><div><hr></div><p></p><h2>The Teaching Challenge</h2><p>Here's how this works:</p><p>Imagine you're explaining prompt crafting to three different people:</p><ol><li><p><strong>Your 65-year-old parent</strong> who just started using ChatGPT and keeps getting frustrated with vague responses</p></li><li><p><strong>A colleague at work</strong> who thinks AI is just hype and doesn't see how it could help them do their job better</p></li><li><p><strong>A friend who's already using AI daily</strong> but keeps copying prompts from Reddit and wants to understand why they sometimes work and sometimes don't</p><p></p></li></ol><p>For each person, your job is to explain the core principles we've covered in your own words. No jargon. No complex frameworks. Just clear explanations that actually help them get better results.</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p></p><div><hr></div><blockquote><p><strong>Note: Please change it to anyone you know if the people I picked dont work for you </strong></p></blockquote><div><hr></div><p></p><h2>Challenge 1: Explaining to Your Parent</h2><p><strong>The situation:</strong> Your parent has been asking ChatGPT things like "Help me with my garden" and getting generic advice that doesn't fit their specific yard, climate, or experience level. They're getting frustrated and think "this AI thing doesn't work."</p><p><strong>Your task:</strong> Explain why their prompts aren't working and teach them how to ask better questions.</p><p>How would you explain:</p><ul><li><p>Why being specific matters more than being polite?</p></li><li><p>How to give AI the context it needs to help them?</p></li><li><p>What information AI actually needs to give useful gardening advice?</p></li></ul><p>Write this like you're actually talking to them. Use their language, not AI terminology.</p><p></p><div><hr></div><h2>Challenge 2: Explaining to Your Skeptical Colleague</h2><p><strong>The situation:</strong> Your coworker thinks AI is overhyped. They've tried it a few times, got mediocre results, and concluded it's not worth the effort. They see you getting good results and wonder what they're missing.</p><p><strong>Your task:</strong> Convince them that the problem isn't AI it's how they're using it.</p><p>How would you explain:</p><ul><li><p>The difference between asking AI for answers vs. asking it to think?</p></li><li><p>Why structure matters when you're trying to solve work problems?</p></li><li><p>How AI can actually save them time if they set it up right?</p></li></ul><p>Make this practical. Show them how it applies to their actual job.</p><p></p><div><hr></div><h2>Challenge 3: Explaining to Your AI-Savvy Friend</h2><p><strong>The situation:</strong> Your friend uses AI constantly but gets inconsistent results. Sometimes the prompts they find online work great, sometimes they're useless. They want to understand what makes the difference.</p><p><strong>Your task:</strong> Teach them how to evaluate and improve prompts instead of just collecting them.</p><p>How would you explain:</p><ul><li><p>What to look for in a good prompt vs. a mediocre one?</p></li><li><p>How to adapt someone else's prompt for your specific situation?</p></li><li><p>When to add more context vs. when to simplify?</p></li></ul><p>This person already knows the basics, so go deeper.</p><p></p><div><hr></div><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>The Real Teaching Test</h2><p>As you work through these challenges, ask yourself:</p><p><strong>Can you explain it without using my examples?</strong> If you're just repeating the stories from this series, you haven't internalized the concepts yet.</p><p><strong>Can you create your own examples?</strong> Real understanding means you can generate new examples that illustrate the same principles.</p><p><strong>Can you explain why it works, not just how?</strong> Teaching the reasoning behind the techniques, not just the techniques themselves.</p><p><strong>Can you adapt your explanation to different audiences?</strong> Your parent needs different examples than your colleague.</p><p></p><div><hr></div><p></p><h2>What I'd Say (My Version)</h2><p>Here's how I'd explain the core principle to someone who's new to this:</p><p><em>"Think of AI like a really smart intern who just started working for you. They're capable of great work, but they don't know anything about your specific situation. If you just say 'help me with marketing,' they'll give you generic textbook advice. But if you say 'I run a small bakery, my customers are mostly local families, I want to increase weekend sales without spending money on ads, and I need ideas I can implement this month' now they can actually help you.</em></p><p><em>The key is giving AI enough context to understand your real situation, then asking it to think through the problem step by step instead of just giving you the first answer that comes to mind."</em></p><p>That's my version. What's yours?</p><p></p><div><hr></div><p></p><h2>Your Teaching Assignment</h2><p>Pick one of the three people (parent, colleague, or friend) and write out how you'd explain prompt crafting to them.</p><p>But here's the twist: <strong>Actually send it to someone.</strong></p><p>Find a real person who fits one of those descriptions and explain what you've learned. Get them to try it. See if your explanation actually helps them get better results.</p><p>Because that's the ultimate test. Not whether you can write a good explanation, but whether your explanation actually helps someone else succeed.</p><p></p><div><hr></div><h2>Why This Matters Beyond Prompts</h2><p>This teaching exercise isn't just about prompt crafting. It's about a fundamental truth:</p><p><strong>The moment you can teach something clearly, you've moved from copying to creating.</strong></p><p>Whether it's prompting, coding, business strategy, or any other skill&#8212;you know you've mastered it when you can break it down for someone else.</p><p>And here's the bonus: <strong>Teaching forces you to understand things you thought you already knew.</strong></p><p>When you try to explain why context matters, you realize there are layers you hadn't considered. When you create examples for someone else's situation, you discover new applications of the principles.</p><p>Teaching doesn't just prove you understand something. It makes you understand it better.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>What's Next?</h2><p>This concludes our 6-day deep dive into prompt crafting:</p><ul><li><p><strong><a href="https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with">Day 7:</a></strong><a href="https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with"> Stop trying to be clever, clarity beats creativity</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous">Day 8:</a></strong><a href="https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous"> Structure makes you dangerous</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-9-context-isnt-optional">Day 9:</a></strong><a href="https://digitalalchemylabs.com/p/day-9-context-isnt-optional"> Context isn't optional</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking">Day 10:</a></strong><a href="https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking"> Guide thinking, make AI work through problems</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-11-can-you-transfer-what-youve">Day 11:</a></strong><a href="https://digitalalchemylabs.com/p/day-11-can-you-transfer-what-youve"> Transfer test</a></p><p></p></li></ul><p>You now have everything you need to craft prompts that work for your specific situations, in your voice, for your problems.</p><p>No more copying templates. No more generic frameworks. Just clear principles you can apply anywhere.</p><p><strong>Now </strong>I'm going back to mixing topics some technical, some strategic, some personal. Whatever's on my mind and might be useful for you.</p><p>But first: <strong>Go teach someone what you've learned.</strong></p><p>Because that's how you'll know you've really got it.</p><p>Drop a comment: Who are you going to teach this to? And what's the one thing about prompt crafting that you now understand that you didn't a week ago?</p><p></p><p><em><strong>The prompt crafting series is complete. Now you're dangerous.</strong></em></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[Can You Transfer What You've Learned?]]></title><description><![CDATA[Hey Alchemists,]]></description><link>https://digitalalchemylabs.com/p/day-11-can-you-transfer-what-youve</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-11-can-you-transfer-what-youve</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 17 Jun 2025 20:10:53 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!wXHE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wXHE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wXHE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!wXHE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!wXHE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!wXHE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wXHE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png" width="604" height="604" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:604,&quot;bytes&quot;:2013757,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/165797915?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wXHE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!wXHE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!wXHE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!wXHE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ff7f36e-5452-4d9e-8d40-285c47e7407b_1024x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey Alchemists,</p><p>Yesterday I showed you how to guide AI's thinking instead of just asking for answers. How chain of thought prompting gets you deeper insights by making AI work through problems step by step.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;984216f9-09fa-47d5-82c2-23e02183a33c&quot;,&quot;caption&quot;:&quot;Hey Alchemists,&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Day 10: Guide Thinking, Not Just Asking&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-06-17T18:31:18.183Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:165797793,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><p>Today we're doing something different: <strong>The Transfer Test.</strong></p><p>This is where we find out if you actually understand prompt crafting or if you've just been following templates.</p><p>Because here's the thing: <strong>Anyone can copy a prompt. But can you craft one from scratch for a situation you've never seen before?</strong></p><p></p><div><hr></div><h2>Why Transfer Matters</h2><p>I've been teaching people to use AI for months now. And I've noticed a pattern:</p><p>People get really good at using prompts for the exact situations I show them. </p><p></p><ul><li><p>Marketing emails? Nailed it. </p></li><li><p>Content planning? Perfect. </p></li><li><p>Business strategy? They've got it down.</p></li></ul><p></p><p>But then they hit a situation that's slightly different maybe they need to use AI for research, or data analysis, or creative problem-solving and they're stuck.</p><p></p><p><strong>They learned the examples, but they didn't learn the principles.</strong></p><p>That's what we're testing today. Can you take everything we've covered clarity over creativity, structure, context, guided thinking and apply it to something completely new?</p><p></p><div><hr></div><p></p><h2>The Remix Challenge</h2><p>Here's how this works. I'm going to give you 5 completely different scenarios. For each one, your job is to craft a prompt using the principles from Days 7-10:</p><p></p><ul><li><p><strong><a href="https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with">Clarity over creativity</a></strong><a href="https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with"> (Day 7): Be specific, not clever</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous">Structure makes you dangerous</a></strong><a href="https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous"> (Day 8): Use the GAFF framework or similar</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-9-context-isnt-optional">Context isn't optional</a></strong><a href="https://digitalalchemylabs.com/p/day-9-context-isnt-optional"> (Day 9): Add real stakes and constraints</a></p></li><li><p><strong><a href="https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking">Guide thinking</a></strong><a href="https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking"> (Day 10): Make AI work through the problem step by step</a></p></li></ul><p></p><p>Ready? Let's see what you've got.</p><p></p><h2>Scenario 1: The Career Pivot</h2><p><strong>Situation:</strong> You're 28, work in accounting, but want to transition into UX design. You have no design experience but you're willing to learn. You need AI to help you create a realistic 12-month transition plan.</p><p><strong>Your challenge:</strong> Write a prompt that gets AI to think through this career change strategically, not just give you generic "follow your dreams" advice.</p><p>Think about:</p><ul><li><p>What context does AI need about your situation?</p></li><li><p>What constraints matter (time, money, current responsibilities)?</p></li><li><p>How can you structure this to get a practical roadmap?</p></li><li><p>What thinking process should AI follow?</p></li></ul><p>Take 5 minutes and actually write the prompt. Don't just read and move on.</p><p></p><h2>Scenario 2: The Research Deep Dive</h2><p><strong>Situation:</strong> You need to understand the competitive landscape for AI-powered productivity tools. Not just a list of companies you need strategic insights about market gaps, pricing strategies, and where opportunities might exist.</p><p><strong>Your challenge:</strong> Craft a prompt that gets AI to conduct actual analysis, not just give you a surface-level overview.</p><p>Consider:</p><ul><li><p>What specific information do you need?</p></li><li><p>How should AI structure its research process?</p></li><li><p>What context about your goals matters?</p></li><li><p>How can you avoid generic market research output?</p></li></ul><p></p><h2>Scenario 3: The Personal Relationship Challenge</h2><p><strong>Situation:</strong> You're having ongoing conflict with a family member about money. Every conversation turns into an argument. You need help figuring out how to address this without damaging the relationship.</p><p><strong>Your challenge:</strong> Write a prompt that gets thoughtful relationship advice, not generic "communicate better" tips.</p><p>Think about:</p><ul><li><p>What context helps AI understand the real dynamics?</p></li><li><p>How do you structure this for practical guidance?</p></li><li><p>What constraints exist (family dynamics, cultural considerations)?</p></li><li><p>What thinking process leads to actionable advice?</p></li></ul><p></p><h2>Scenario 4: The Learning Optimization</h2><p><strong>Situation:</strong> You're trying to learn Spanish but keep giving up after a few weeks. You've tried apps, classes, and YouTube videos. You need a completely different approach that works with your specific learning style and schedule.</p><p><strong>Your challenge:</strong> Create a prompt that gets AI to design a personalized learning system, not just recommend more resources.</p><p>Consider:</p><ul><li><p>What information about your previous attempts matters?</p></li><li><p>How do you structure this for a custom solution?</p></li><li><p>What context about your lifestyle and goals is relevant?</p></li><li><p>How can AI think through what went wrong before?</p><p></p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>Scenario 5: The Creative Problem</h2><p><strong>Situation:</strong> You want to surprise your partner for their birthday, but you're not naturally creative and you're on a tight budget. You need ideas that are personal and meaningful, not expensive or generic.</p><p><strong>Your challenge:</strong> Write a prompt that generates genuinely thoughtful gift ideas based on your specific relationship and constraints.</p><p>Think about:</p><ul><li><p>What context makes ideas personal rather than generic?</p></li><li><p>How do you structure this for creative but practical output?</p></li><li><p>What constraints shape realistic options?</p></li><li><p>What process leads to meaningful rather than obvious suggestions?</p></li></ul><p></p><h2>The Real Test Questions</h2><p>For each scenario, ask yourself:</p><ol><li><p><strong>Did I include specific context?</strong> (Not just "I want to change careers" but actual details about your situation)</p></li><li><p><strong>Did I structure the thinking process?</strong> (Not just "give me advice" but "first analyze this, then consider that, then recommend...")</p></li><li><p><strong>Did I add real constraints?</strong> (Time, money, relationships, other limitations that matter)</p></li><li><p><strong>Am I asking for analysis or just answers?</strong> (Making AI think through the problem vs. just giving quick solutions)</p></li></ol><p></p><h2>What Good Transfer Looks Like</h2><p>Here's how I'd approach Scenario 1 (career pivot):</p><pre><code>You are a career transition coach helping someone move from accounting to UX design. Here's the situation: 28 years old, 5 years in accounting at mid-size firm, no design experience but strong analytical skills, can dedicate 10-15 hours per week to learning, has $3,000 budget for courses/tools, needs to maintain current income for at least 8 months.

Walk through creating a 12-month transition plan: 1. First, analyze what transferable skills from accounting apply to UX work 2. Then map out the essential UX skills needed and realistic timeframes to develop each 3. Consider different transition paths: freelance vs. junior role vs. career change program 4. For the most viable path, create month-by-month milestones with specific deliverables 5. Identify potential obstacles and contingency plans

Focus on practical steps and realistic timelines. Don't give generic advice&#8212;create a specific roadmap for this exact situation.
</code></pre><p>See how this uses all four principles? Clear context, structured thinking process, real constraints, and guided analysis rather than quick answers.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>Your Turn</h2><p></p><p>Pick 2 of the 5 scenarios above. Actually write prompts for them using what you've learned.</p><p>Don't copy my style exactly use the principles to craft prompts in your own voice for your own situations.</p><p>Because that's what transfer really means: <strong>Taking principles and making them your own.</strong></p><p><strong>Tomorrow:</strong> The final test. Teaching others is how you know you've got it explaining prompt crafting concepts in your own words.</p><p>Drop a comment: Which scenario did you choose? Share your prompt and let's see how you applied the principles.</p><p><em>One more day and you'll never need to copy someone else's prompts again.</em></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[Guide Thinking, Not Just Asking]]></title><description><![CDATA[Chain of thought prompting: Getting AI to work through problems step by step]]></description><link>https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-10-guide-thinking-not-just-asking</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 17 Jun 2025 18:31:18 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!2uu4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2uu4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2uu4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2uu4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2uu4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2uu4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!2uu4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg" width="1456" height="823" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:823,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1020989,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/165797793?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2uu4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 424w, https://substackcdn.com/image/fetch/$s_!2uu4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 848w, https://substackcdn.com/image/fetch/$s_!2uu4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!2uu4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F53e32431-23fa-4534-af60-1b7766606875_2208x1248.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey Alchemists,</p><p>Yesterday I showed you why context isn't optional. How adding real stakes, relationship reality, and constraints turns generic AI responses into strategic ones.</p><p>But here's what I didn't tell you: <strong>Even with perfect structure and context, AI still gives you first-draft thinking.</strong></p><p>Today we're diving into Prompt Crafting Principle #4: <strong>Guide Thinking, Not Just Asking.</strong></p><p>This is where you stop getting AI's initial reaction and start getting its best work. Where you turn AI from a fast typist into an actual thinking partner.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;550c2366-087a-42de-8899-c56604e9f718&quot;,&quot;caption&quot;:&quot;Hey Alchemists,&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Day 9: Context Isn't Optional&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-06-17T17:27:47.175Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/day-9-context-isnt-optional&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:165590817,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><div><hr></div><h2>The Problem with Fast Answers</h2><p>Here's what most people don't realize about AI: It's optimized for speed, not depth.</p><p>Ask AI "How should I price my consulting?" and it'll immediately spit out a response based on the first pricing framework it finds in its training data.</p><p>But that's not thinking. That's pattern matching.</p><p>Real thinking looks different. It's messy. It considers multiple angles. It works through alternatives before settling on an answer.</p><p><strong>That's what we're missing when we just ask AI for answers.</strong></p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><div><hr></div><p></p><h2>What I've Noticed After Using AI Daily</h2><p>Here's what I've observed after months of using AI for everything from writing to strategy to technical problem-solving:</p><p><strong>AI gives you its first thought, not its best thought.</strong></p><p>Ask AI "How do I secure my AWS environment?" and it'll immediately spit out the most common security checklist from its training data. Enable MFA, use IAM roles, encrypt everything all the standard advice you've heard before.</p><p>But that's not thinking. That's pattern matching.</p><p>I started noticing this pattern everywhere. Ask about cloud architecture? Generic best practices. Ask about security frameworks? The same compliance checklists everyone shares. Ask about technical problems? Surface-level solutions that sound smart but don't actually fit your specific environment.</p><p><strong>AI was giving me answers, but it wasn't thinking through my specific technical challenges.</strong></p><p></p><div><hr></div><h2>The Breakthrough Moment</h2><p>The shift happened when I accidentally discovered something.</p><p>I was brainstorming content patterns for my SecureAI Weekly newsletter. Instead of asking "What content should I create about AI security?", I was frustrated with getting the same generic topic suggestions and typed out something like:</p><pre><code>"I'm trying to figure out content patterns for SecureAI Weekly that actually help people understand AI security risks. Walk me through how to think about this step by step. First, what are the biggest gaps between what people think AI security means versus what it actually involves? Then help me analyze what content formats would best address these knowledge gaps..."
</code></pre><p></p><p>The response was completely different. Instead of generic "write about data privacy and model security" advice, AI actually worked through the psychology of how people misunderstand AI risks, analyzed the difference between technical and business-focused security concerns, considered what formats work best for different audiences, and gave me specific reasoning for why certain content patterns would resonate more than others.</p><p><strong>Same AI. Same question. But I made it think instead of just respond.</strong></p><p></p><div><hr></div><h2>What Actually Works: Making AI Think</h2><pre><code>"You are a pricing consultant helping a marketing strategist figure out their rates. Here's the situation: 8 years experience, specializes in B2B lead generation strategy (not execution), targeting companies with $5-20M revenue. Current approach: $150/hour, but working too many hours and clients aren't seeing the strategic value.

Walk me through your thinking process: 

1. First, analyze what's wrong with the current pricing model 

2. Then consider 3 different pricing approaches for this situation 

3. Evaluate the pros and cons of each approach 

4. Recommend the best option with specific reasoning 

5. Explain how to position this pricing to clients

Think through each step carefully before moving to the next one."

</code></pre><p>That's when I realized: <strong>AI is capable of deep thinking or sort of deep thinking &#8230;</strong></p><p><strong>You just have to guide the process.</strong></p><p>Instead of asking for conclusions, ask for reasoning.</p><p>Instead of requesting answers, request analysis.</p><p>Instead of demanding solutions, demand exploration.</p><p>This is called "chain of thought prompting," and it's the difference between getting AI's first idea and getting its best idea.</p><h2>How to Make AI Actually Think</h2><h3>Method 1: The Step-by-Step Breakdown</h3><p>Don't ask: <em>"How do I improve my productivity?"</em></p><p>Try: </p><pre><code>"I need to improve my productivity. Walk through your analysis: 1. First, identify the 3 most common productivity problems people face 2. Then analyze which problem is likely affecting me based on this situation: [your current challenges] 3. For the top problem, brainstorm 5 potential solutions 4. Evaluate each solution for: ease of implementation, potential impact, and time investment required 5. Recommend the best starting point with specific reasoning

Take your time with each step. Don't rush to conclusions."</code></pre><p></p><h3>Method 2: The Multiple Perspective Approach</h3><p>Don't ask: <em>"Should I learn Python for data analysis?"</em></p><p>Try: </p><pre><code>"I'm considering learning Python for data analysis. 
Help me think through this decision: 
1. First, argue FOR learning Python (3 strongest reasons for my situation) 
2. Then argue AGAINST learning Python (3 strongest concerns or alternatives) 
3. Consider a middle-ground approach (what that might look like) 
4. Based on this analysis, what questions should I ask myself to make the right decision? 
5. What information do I need to gather before committing time to this?

Work through each perspective thoroughly before moving on."
</code></pre><p></p><h3>Method 3: The Problem Decomposition</h3><p>Don't ask: <em>"How do I get better at public speaking?"</em></p><p>Try: </p><pre><code>"I want to improve my public speaking skills. 

Let's break this down systematically: 

1. First, analyze the components of effective public speaking: content, delivery, audience engagement, managing nerves 
2. For each component, identify what good vs. poor performance looks like 
3. Based on common patterns, where do most people struggle the most? 
4. Given my situation [brief description of your experience level], which area is likely my biggest bottleneck? 
5. For that bottleneck area, what are 3 specific practice methods I could try?

Think through each component carefully before diagnosing my main challenge."
</code></pre><p></p><p></p><div><hr></div><h2>Why This Actually Works</h2><p>Here's the thing about AI: <strong>It has access to millions of examples of good thinking. You just have to activate it.</strong></p><p>When you ask for an answer, AI gives you the most common response to your question.</p><p>When you ask for a thinking process, AI actually uses the reasoning patterns it learned from the best thinkers in its training data.</p><p>Same intelligence &#8230; Different activation method.</p><h2>The Thinking Prompt Formula</h2><p>Here's my go-to structure for getting AI to think instead of just respond:</p><p><strong>1. Set the Context</strong> (the situation and constraints) </p><p><strong>2. Define the Process</strong> (the steps you want AI to work through) </p><p><strong>3. Specify the Output</strong> (how to present the thinking) </p><p><strong>4. Emphasize Depth</strong> (tell AI not to rush)</p><p></p><p><strong>Example:</strong></p><pre><code>Context: I'm a teacher trying to make my online lessons more engaging for high school students who seem distracted during virtual classes 

Process: 

Work through this in 4 steps: analyze why students get distracted online, identify engagement techniques that work in virtual settings, evaluate which techniques fit my teaching style and subject, recommend 3 specific strategies I can implement this week 

Output: Show your reasoning for each step before moving to the next 


Depth: Take time to consider different learning styles and attention spans. Don't give me your first thought&#8212;give me your best thought."</code></pre><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><div><hr></div><p></p><h2>The Real Test</h2><p>You'll know you're getting AI to think when:</p><ul><li><p>The responses get longer and more detailed</p></li><li><p>AI starts saying things like "On one hand... but on the other hand..."</p></li><li><p>You see actual reasoning, not just conclusions</p></li><li><p>The solutions are more specific to your situation</p></li><li><p>AI considers downsides and limitations, not just benefits</p></li></ul><h2>Your Thinking Homework</h2><p>Take any challenge you're currently facing whether it's personal development, learning a new skill, career decisions, or solving a problem at work. Instead of asking AI for a solution, ask it to think through the challenge with you.</p><p>Use this template:</p><pre><code>I'm dealing with [specific challenge]. 

Help me think through this systematically: 

1. First, analyze what's really causing this challenge (not just symptoms) 

2. Consider 3 different approaches to addressing it 

3. For each approach, identify potential obstacles and how to work around them 

4. Recommend the best starting point with clear reasoning 5. Outline how I'll know if it's working

Work through each step carefully. Show your reasoning.</code></pre><p></p><p>Try it. See how different the output is compared to just asking "How do I solve X?"</p><p>Whether you're trying to build better habits, learn a new technology, improve relationships, advance your career, or start something new&#8212;this approach works.</p><p>Because here's what I've learned: <strong>AI can think. You just have to teach it how.</strong></p><p><strong>Tomorrow:</strong> Can You Transfer What You've Learned? - The remix test of taking prompt crafting principles and applying them to completely new situations.</p><p>Drop a comment: What's one problem where you keep getting surface-level advice from AI? Let's design a thinking prompt that gets you deeper insights.</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Context Isn't Optional]]></title><description><![CDATA[Why AI breaks when it lacks stakes, and how to add tension, constraints, and consequences]]></description><link>https://digitalalchemylabs.com/p/day-9-context-isnt-optional</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-9-context-isnt-optional</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 17 Jun 2025 17:27:47 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!YXZa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YXZa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YXZa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YXZa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YXZa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YXZa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YXZa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:200227,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/165590817?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!YXZa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 424w, https://substackcdn.com/image/fetch/$s_!YXZa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 848w, https://substackcdn.com/image/fetch/$s_!YXZa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!YXZa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0124edda-1191-4987-9d0e-037b0d8f2137_1024x1024.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h1></h1><p></p><p>Hey Alchemists,</p><p>I already showed you how structure controls AI output. How giving AI a framework role, context, constraints, format turns vague requests into precise directions.</p><p>But here's what I didn't tell you: <strong>Structure without context is just a fancy template.</strong></p><p>Today we're diving into Prompt Crafting Principle #3: <strong>Context Isn't Optional.</strong></p><p>This is where prompting stops being mechanical and starts being strategic. Where AI goes from giving you technically correct answers to giving you answers that actually work.</p><h2>The $5K Lesson</h2><p>Last month, I watched my friend blow a major opportunity because of bad prompting.</p><p>But let me give you the backstory first.</p><p>This dude had been hearing everywhere that "ChatGPT can do everything for you." Social media, podcasts, YouTube everyone saying AI was gonna handle all the hard stuff.</p><p>So when his product launch went sideways, he figured he'd just let ChatGPT fix it. </p><p>Didn't even think to ask me for help when he knows I live and breath this AI stuff &#8230; </p><p>Just went straight to the AI like it was some magic solution machine.</p><p>Here's what happened:</p><p>Product launch day. Total disaster. 200 pre-orders. Only 12 actual sales. Panic mode.</p><p>My friend asks ChatGPT:</p><p><em><strong>"Write a professional email explaining why our product launch didn't go as planned and what we're doing to fix it."</strong></em></p><p>Gets back the most generic, corporate-speak garbage you've ever seen. </p><p>All about "unforeseen challenges" and "working diligently to resolve issues."</p><p>No second thought. No "maybe I should run this by someone." Just copy, paste, send.</p><p>Customers read it. Feel like they're talking to some faceless corporation, not the person they believed in and gave their money to.</p><p>Refund requests started flooding in.</p><p>Now you know what: <strong>The email wasn't wrong. It just wasn't right for the audience.</strong></p><p></p><div><hr></div><h2>What Actually Happened Next</h2><p>Two weeks later, my friend finally calls me. Probably after realizing ChatGPT wasn't the magic fix-everything button he thought it was.</p><p>"I don't get it," he says. "The email was professional. It covered everything."</p><p>Yeah, that was the problem.</p><p>So I helped him rewrite the prompt:</p><pre><code>"You are writing as the founder of a 6-person startup to 200 customers who pre-ordered a productivity app. Launch day: app crashes, payment system fails, customers can't access what they paid for. These aren't corporate buyers they're solopreneurs who scraped together $49 because they believed in us. They're not just disappointed, they're embarrassed they trusted a small company. Write an email that takes real ownership, shows we understand what happened to their money and their trust, and proves we're fixing this like our business depends on it&#8212;because it does. No corporate speak. No 'we apologize for any inconvenience.' Sound like a human who screwed up, not a company managing PR."</code></pre><p>The output? Honest. Direct. Human.</p><p>Three customers forwarded it to friends saying "This is how you handle a crisis."</p><p><strong>Same structure. Completely different result.</strong></p><p><strong>The difference wasn't format. It was stakes.</strong></p><p></p><div><hr></div><h2>Why Context Changes Everything</h2><p>AI doesn't just need to know what to write. It needs to know why it matters.</p><p>When you tell AI "write a sales email," it optimizes for generic best practices.</p><p>When you tell AI "write a sales email for a consultant who's been ghosted by this prospect for two weeks, this is their last outreach before moving on, and they need to salvage a relationship that could be worth $50K annually," it optimizes for your actual situation.</p><p>Same basic request. Completely different strategy.</p><p></p><div><hr></div><h2>The Three Layers of Context That Matter</h2><h3>Layer 1: Situational Stakes (What's Really Happening)</h3><p>This isn't just background information. This is the pressure, the timeline, the consequences.</p><p><strong>Generic:</strong> "Write a project update for my client."</p><p><strong>With Stakes:</strong> "Write a project update for a client who's already questioning our timeline because their boss is breathing down their neck about launch date. Project is 10 days behind, but we just solved the main technical issue. They need reassurance without false promises, and they need to be able to defend our timeline to their boss."</p><h3>Layer 2: Relationship Reality (Who You're Actually Talking To)</h3><p>Not demographics. Not personas. The actual human psychology of your specific situation.</p><p><strong>Generic:</strong> "Write content for small business owners."</p><p><strong>With Relationship Context:</strong> "Write for restaurant owners who've been burned by marketing agencies before, are stressed about post-pandemic recovery, and immediately skeptical when anyone promises quick results. They don't trust outsiders, but they're desperate for something that actually works."</p><h3>Layer 3: Constraint Reality (What You Can't Do)</h3><p>This is your real limitations. Not just "don't be salesy" your actual boundaries.</p><p><strong>Generic:</strong> "Write a persuasive email."</p><p><strong>With Constraints:</strong> "Write a persuasive email without mentioning price (they already know it), without using urgency tactics (they hate pressure), and without comparing us to competitors (it sounds defensive). Focus on long-term partnership, not quick wins."</p><h2>Context in Action: The Before and After</h2><p>Let me show you how context transforms the same basic request.</p><h3>Without Context:</h3><p><em>"Write a LinkedIn post about delegation for entrepreneurs."</em></p><h3>With Context:</h3><p><em>"You're writing for entrepreneurs who built their businesses by doing everything themselves and now run teams of 8-15 people but still can't let go. They work 65-hour weeks while their employees work 40, then wonder why the business isn't scaling. They know they should delegate but secretly believe no one will do it as well as they do. They don't need motivation to delegate they need permission to accept 'good enough' and a framework that doesn't feel like losing control. Write something that makes them feel understood, not judged."</em></p><p>The first prompt gets you generic delegation advice.</p><p>The second gets you content that speaks to someone's actual internal struggle.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/p/day-9-context-isnt-optional?utm_source=substack&utm_medium=email&utm_content=share&action=share&quot;,&quot;text&quot;:&quot;Share&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/p/day-9-context-isnt-optional?utm_source=substack&utm_medium=email&utm_content=share&action=share"><span>Share</span></a></p><p></p><div><hr></div><h2>The Context Stack (My Real Process)</h2><p>Here's how I layer context into every prompt:</p><p><strong>Layer 1: The Immediate Reality</strong></p><ul><li><p>What just happened?</p></li><li><p>What pressure are they under right now?</p></li><li><p>What's the timeline?</p></li></ul><p><strong>Layer 2: The Relationship History</strong></p><ul><li><p>How do they feel about you/your brand?</p></li><li><p>What's worked/failed with them before?</p></li><li><p>What are they secretly worried about?</p></li></ul><p><strong>Layer 3: The Real Constraints</strong></p><ul><li><p>What can't you say?</p></li><li><p>What would backfire?</p></li><li><p>What resources do you actually have?</p></li></ul><p><strong>Layer 4: The Success Criteria</strong></p><ul><li><p>What would make this work?</p></li><li><p>How will you know if it's effective?</p></li><li><p>What's the real goal beyond the obvious one?</p></li></ul><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><div><hr></div><h2>Context Kills Generic Output</h2><p>Here's what most people don't get: <strong>AI's default mode is average.</strong></p><p>When you ask for "a good email" without context, AI averages across millions of emails and gives you something that could work for anyone.</p><p>Which means it probably won't work for your specific situation.</p><p>But when you add context real stakes, actual relationships, specific constraints AI stops optimizing for generic "good" and starts optimizing for your version of good.</p><p></p><div><hr></div><h2>The Context Reality Check</h2><p>Want to know if you're adding real context? Ask yourself:</p><ol><li><p><strong>Would this prompt work for someone else's generic situation?</strong> If yes, add more specific context.</p></li><li><p><strong>Does it include what could go wrong?</strong> If not, you're missing the stakes.</p></li><li><p><strong>Would AI need to ask you clarifying questions?</strong> If yes, answer them in the prompt.</p></li><li><p><strong>Does it sound like a real human situation?</strong> If not, add more relationship reality.</p></li></ol><p></p><div><hr></div><p></p><h2>Your Context Homework</h2><p>Take this generic prompt:</p><p><em>"Write a follow-up email to a potential client who hasn't responded to my proposal."</em></p><p>Now add three layers of context:</p><ol><li><p><strong>What's the real situation?</strong> (Timeline, stakes, what's happened)</p></li><li><p><strong>What's the relationship reality?</strong> (Their mindset, your history, their concerns)</p></li><li><p><strong>What are your constraints?</strong> (What you can't do, won't do, shouldn't do)</p></li></ol><p>Rewrite it with all three layers. See how different the output becomes.</p><p>Don't just read this. Actually do it.</p><p>Because here's the truth: <strong>Structure tells AI what to build. Context tells it why it matters.</strong></p><p>And when AI understands why something matters? That's when you get output that doesn't just follow your format it serves your purpose.</p><p><strong>Next Post:</strong> Guide Thinking, Not Just Asking - how to get AI to work through problems step by step instead of just giving you first-draft answers.</p><p>Drop a comment: What's one situation where AI keeps giving you "technically correct but strategically useless" output? Let's add the context that would fix it.</p><p><strong>Next we learn how to make AI think, not just respond.</strong></p><div class="embedded-post-wrap" data-attrs="{&quot;id&quot;:165590757,&quot;url&quot;:&quot;https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous&quot;,&quot;publication_id&quot;:2166379,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;title&quot;:&quot;Day 8: Structure Makes You Dangerous&quot;,&quot;truncated_body_text&quot;:&quot;Hey Alchemists,&quot;,&quot;date&quot;:&quot;2025-06-12T16:19:02.657Z&quot;,&quot;like_count&quot;:0,&quot;comment_count&quot;:0,&quot;bylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;handle&quot;:&quot;divineart&quot;,&quot;previous_name&quot;:&quot;Divine Artis&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;bio&quot;:null,&quot;profile_set_up_at&quot;:&quot;2021-09-10T15:32:02.873Z&quot;,&quot;reader_installed_at&quot;:&quot;2022-06-27T14:00:00.744Z&quot;,&quot;publicationUsers&quot;:[{&quot;id&quot;:2179958,&quot;user_id&quot;:28514498,&quot;publication_id&quot;:2166379,&quot;role&quot;:&quot;admin&quot;,&quot;public&quot;:true,&quot;is_primary&quot;:true,&quot;publication&quot;:{&quot;id&quot;:2166379,&quot;name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;subdomain&quot;:&quot;digitalalchemylab&quot;,&quot;custom_domain&quot;:&quot;digitalalchemylabs.com&quot;,&quot;custom_domain_optional&quot;:false,&quot;hero_text&quot;:&quot;A Substack newsletter where I share my personal and professional stories, experiments, and insights into digital transformation and growth. From AI and writing to side hustles and personal growth, join me as I dive deep into the strategies.\n&quot;,&quot;logo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;author_id&quot;:28514498,&quot;primary_user_id&quot;:28514498,&quot;theme_var_background_pop&quot;:&quot;#45D800&quot;,&quot;created_at&quot;:&quot;2023-12-09T05:19:07.052Z&quot;,&quot;email_from_name&quot;:&quot;Devon from Digital Alchemy Lab&quot;,&quot;copyright&quot;:&quot;Devon Artis&quot;,&quot;founding_plan_name&quot;:&quot;Founding Member&quot;,&quot;community_enabled&quot;:true,&quot;invite_only&quot;:false,&quot;payments_state&quot;:&quot;enabled&quot;,&quot;language&quot;:null,&quot;explicit&quot;:false,&quot;homepage_type&quot;:&quot;newspaper&quot;,&quot;is_personal_mode&quot;:false}},{&quot;id&quot;:2778924,&quot;user_id&quot;:28514498,&quot;publication_id&quot;:2737868,&quot;role&quot;:&quot;admin&quot;,&quot;public&quot;:true,&quot;is_primary&quot;:false,&quot;publication&quot;:{&quot;id&quot;:2737868,&quot;name&quot;:&quot;Secure AI Weekly&quot;,&quot;subdomain&quot;:&quot;secureaiweek&quot;,&quot;custom_domain&quot;:&quot;secureaiweekly.com&quot;,&quot;custom_domain_optional&quot;:false,&quot;hero_text&quot;:&quot;Exploring the risks, breakthroughs, and safeguards shaping the future of AI and machine learning security.&quot;,&quot;logo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4b113314-5045-456d-8c61-41fdbe1def59_256x256.png&quot;,&quot;author_id&quot;:28514498,&quot;primary_user_id&quot;:null,&quot;theme_var_background_pop&quot;:&quot;#0068EF&quot;,&quot;created_at&quot;:&quot;2024-06-26T06:14:49.209Z&quot;,&quot;email_from_name&quot;:null,&quot;copyright&quot;:&quot;Devon Artis&quot;,&quot;founding_plan_name&quot;:&quot;Founding Member&quot;,&quot;community_enabled&quot;:true,&quot;invite_only&quot;:false,&quot;payments_state&quot;:&quot;enabled&quot;,&quot;language&quot;:null,&quot;explicit&quot;:false,&quot;homepage_type&quot;:&quot;newspaper&quot;,&quot;is_personal_mode&quot;:false}}],&quot;twitter_screen_name&quot;:&quot;tdevonartis&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;utm_campaign&quot;:null,&quot;belowTheFold&quot;:true,&quot;type&quot;:&quot;newsletter&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="EmbeddedPostToDOM"><a class="embedded-post" native="true" href="https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous?utm_source=substack&amp;utm_campaign=post_embed&amp;utm_medium=web"><div class="embedded-post-header"><img class="embedded-post-publication-logo" src="https://substackcdn.com/image/fetch/$s_!VGm8!,w_56,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png" loading="lazy"><span class="embedded-post-publication-name">Digital Alchemy Lab</span></div><div class="embedded-post-title-wrapper"><div class="embedded-post-title">Day 8: Structure Makes You Dangerous</div></div><div class="embedded-post-body">Hey Alchemists&#8230;</div><div class="embedded-post-cta-wrapper"><span class="embedded-post-cta">Read more</span></div><div class="embedded-post-meta">10 months ago &#183; Devon Artis</div></a></div><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Day 8: Structure Makes You Dangerous]]></title><description><![CDATA[How to control AI output by giving it a framework to work within]]></description><link>https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-8-structure-makes-you-dangerous</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Wed, 04 Jun 2025 16:19:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!a4bH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!a4bH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a4bH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!a4bH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!a4bH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!a4bH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!a4bH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1819130,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/165590757?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!a4bH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!a4bH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!a4bH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!a4bH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F124fc4f6-5bef-433d-9c9f-fbf6bc320483_1024x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey Alchemists,</p><p>In our last post I showed you why clarity beats creativity in prompting. I also gave you homework: rewrite that flawed prompt about "creative genius business ideas."</p><p>Let me show you my solution first, then we'll dive into why <strong>Structure Makes You Dangerous.</strong></p><h2>Fixing That Flawed Prompt</h2><p><strong>The Original Disaster:</strong> </p><pre><code>Act like a creative genius and help me come up with some amazing ideas for growing my business that are totally unique and innovative and would really wow my customers.</code></pre><p></p><p><strong>My Rewrite:</strong> </p><pre><code>You are a business consultant analyzing growth opportunities. I run a [specific business type] with [revenue stage] serving [target customers]. Current challenge: [specific growth bottleneck]. Generate 3 growth strategies: one focused on increasing customer lifetime value, one on acquiring new customers, and one on operational efficiency. For each strategy, include: the core approach, one real example from a similar business, potential obstacles, and first step to test it. Skip anything requiring major capital investment.</code></pre><p></p><p>See the difference? Instead of asking for "amazing ideas," I'm asking for specific strategies with clear criteria.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>The 4-Part Structure That Actually Works</h2><p>Here's the framework I promised yesterday. I use this to turn any vague prompt into something that gets results:</p><p><strong>1. Role &amp; Expertise</strong> Stop saying "creative genius." Be specific about what kind of expertise you need.</p><ul><li><p>"You are a B2B sales trainer with 15 years experience..."</p></li><li><p>"You are a content strategist who specializes in LinkedIn for consultants..."</p></li><li><p>"You are a project manager who's launched 20+ products at tech startups..."</p></li></ul><p><strong>2. Specific Context</strong> Replace vague goals with actual situations.</p><ul><li><p>Instead of "grow my business" &#8594; "increase monthly recurring revenue from $15K to $25K"</p></li><li><p>Instead of "wow my customers" &#8594; "reduce customer churn in the first 90 days"</p></li><li><p>Instead of "amazing ideas" &#8594; "3 strategies I can test with current resources"</p></li></ul><p><strong>3. Clear Constraints</strong> Tell AI what NOT to do, not just what to do.</p><ul><li><p>"Skip anything requiring more than $5K investment"</p></li><li><p>"Don't suggest social media strategies we're B2B enterprise"</p></li><li><p>"Avoid tactics that would require hiring people"</p></li></ul><p><strong>4. Output Format</strong> Define exactly how you want the response structured.</p><ul><li><p>"Present as: Strategy name, 2-sentence description, real example, first action step"</p></li><li><p>"Format as numbered list with bold headers"</p></li><li><p>"Keep each section under 50 words"</p></li></ul><p>That's why my rewrite of the flawed prompt actually works. It hits all four parts.</p><h2>Here's What Happens When You Skip Structure</h2><p>Two weeks ago, I watched someone struggle with this exact problem.</p><p>They needed help writing a proposal for a new client. Spent 20 minutes crafting what they thought was a detailed prompt:</p><pre><code>You are an expert proposal writer. Help me create a proposal that will win this client and show them we're the right choice for their project. Make it compelling and professional.</code></pre><p></p><p>Three attempts. Three different generic proposals. None of them useful.</p><p>Why? No structure.</p><p>Then they tried this:</p><pre><code>You are a marketing consultant writing a proposal to a 50-person SaaS company. They need help with lead generation&#8212;currently getting 200 leads/month but only converting 2%. 
Proposal format: 
1) Current state analysis (3 bullet points)
2) Our approach (4 phases with timelines)
3) Expected outcomes (specific metrics)
4) Investment (3 pricing tiers)
Tone: confident but not pushy. Length: 2 pages max.</code></pre><p></p><p>First try. Client loved it. Signed the contract.</p><p><strong>The difference? They gave AI a container to work within.</strong></p><p></p><h2>Why Most People Hate Structure</h2><p></p><p>I know the feeling structure feels limiting. </p><p>Like who wants to be put into a box.</p><p>But here's what I've learned: <strong>AI doesn't need creative freedom. It needs creative direction.</strong></p><p>When you don't provide structure, AI has to guess what good output looks like. And its guesses are based on averages across millions of documents.</p><p>You don't want average. You want something that works for your specific situation.</p><p>Structure isn't limiting AI. It's focusing it.</p><p></p><h2>The GAFF Method (My Daily Driver)</h2><p>So now lets talk about my daily driver when I need quick but good results, I use this four-part structure:</p><p><strong>G - Goal</strong>: What specifically do you want this to accomplish? </p><p><strong>A - Audience</strong>: Who is this for? What do they care about? </p><p><strong>F -  F</strong>ormat: What structure should the output follow? </p><p><strong>F - F</strong>eel:  What tone, style, or constraints matter?</p><p></p><p>Here is a real example from last week:</p><pre><code>Goal: Get 20+ comments on a LinkedIn post about AI tools without sounding like every other AI guru. 

Audience: Marketing professionals who are curious about AI but haven't started using it yet. They're tired of hype. 

Format: Personal story (50 words), 3 specific tools with real use cases, question that sparks debate. 

Feel: Conversational, not preachy. No "game-changing" language. Share failures, not just wins."</code></pre><p>Result? 47 comments, 12 new connections, 3 client inquiries. </p><p>Now I am not saying this is the secret sauce for social media marketing this was just an example of what was the result of using this prompting crafting technique.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p>-</p><h2>Structure Templates That Actually Work</h2><p></p><p>Here are my go-to structures for different situations:</p><p><strong>For Analysis:</strong> <em>"Current situation (data/facts), key patterns (2-3 trends), implications (what this means), recommendations (3 specific actions), timeline (when to implement)."</em></p><p><strong>For Storytelling:</strong> <em>"Setup (context in 20 words), conflict (what went wrong), resolution (how it was solved), lesson (what this means for the reader). Under 300 words total."</em></p><p><strong>For Lists:</strong> <em>"5 items. Each item: Bold headline (5-7 words), explanation (30-40 words), specific example (15-20 words). Start with least obvious, end with most actionable."</em></p><h2>The Structure Test</h2><p>Want to know if your prompt has good structure? Ask yourself:</p><ol><li><p>Could someone else use this prompt and get similar results?</p></li><li><p>Does it specify format, length, and tone?</p></li><li><p>Would you know if the output was successful?</p></li><li><p>Could AI ask you clarifying questions? (If yes, answer them in the prompt.)</p></li></ol><p>If any answer is no, add more structure.</p><h2>Your Turn</h2><p>Take any prompt you've used recently that gave you corny results. Run it through the 4-part framework:</p><ol><li><p><strong>Role &amp; Expertise</strong> - What specific expertise do you need?</p></li><li><p><strong>Specific Context</strong> - What's the real situation?</p></li><li><p><strong>Clear Constraints</strong> - What should AI avoid?</p></li><li><p><strong>Output Format</strong> - How should it be structured?</p></li></ol><p>Don't just think about it. Actually rewrite it.</p><p>Remember <strong>Structure isn't about restricting AI. It's about directing it.</strong></p><p>And when you can direct AI instead of just asking it for help? That's when you get dangerous.</p><p><strong>What&#8217;s up for the next installament, </strong></p><p><em><strong>Context Isn't Optional</strong></em> - why AI breaks when it lacks stakes, and how to add tension, constraints, and consequences that make your structured prompts actually strategic.</p><p>Drop a comment: What's one situation where you keep getting generic output from AI? Let's figure out what structure would fix it.</p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;57069c38-91ec-4afd-875e-73c1dfe2d86a&quot;,&quot;caption&quot;:&quot;Hey Alchemists,&quot;,&quot;cta&quot;:&quot;Read full story&quot;,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Day 7: Stop Trying to Be Clever with Your Prompts&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2025-06-04T01:14:58.387Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:165144391,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[Stop Trying to Be Clever with Your Prompts]]></title><description><![CDATA[Why clarity beats creativity when AI lacks context]]></description><link>https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-7-stop-trying-to-be-clever-with</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Wed, 04 Jun 2025 01:14:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!P4La!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!P4La!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!P4La!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!P4La!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!P4La!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!P4La!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!P4La!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2175c518-316b-443c-9b47-a7274803a938_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2990517,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/165144391?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!P4La!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!P4La!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!P4La!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!P4La!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2175c518-316b-443c-9b47-a7274803a938_1536x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>Hey Alchemists,</strong></p><p></p><p>Yesterday I told you about the <a href="https://digitalalchemylabs.com/p/day-6-stop-asking-for-permission">Stan Challenge</a>  and then had to pump the brakes when I realized their platform was missing essential features for building a real business. I got caught up in the hype without doing my homework first.</p><p>But here's the thing: The prompt crafting course idea? That's still happening.</p><p>In my last post I talked about joining the and building my prompt crafting course in public. Some of you asked what that actually looks like day-to-day.</p><p><strong>Well, here's your answer.</strong></p><p><strong>For the next week</strong>, I'm walking you through my entire approach to prompt crafting. Not templates to copy. Not frameworks to follow blindly. The actual thinking process behind writing prompts that work.</p><p>By Day 12, you'll know how to craft prompts for your problems, in your voice, for your specific situation.</p><p>We're starting with the biggest mistake I see everyone make...</p><p>Let me tell you about one of the worst prompt I ever wrote.</p><p>It was 6 months ago. I was trying to get ChatGPT to help me write a sales email for my newsletter. I spent 45 minutes crafting what I thought was the perfect prompt:</p><pre><code>You are a master copywriter who channels the persuasive genius of Don Draper meets the authentic wisdom of Seth Godin. Create a sales email that would make even the most cynical marketer weep tears of conversion-optimized joy while maintaining the approachable energy of a friendly neighbor who happens to be a marketing genius. Make it compelling but not sleazy, urgent but not pushy, personal but professional.</code></pre><p>I was so proud of that prompt. It was so clever &#8230;. </p><p>The output? Generic garbage. Corporate fluff. Everything I didn't want.</p><p>I tried again. This time, I stripped out all the cleverness:</p><pre><code>You are a business coach writing to entrepreneurs. Create a 200-word LinkedIn post about why most people fail at delegation. 
Target audience: startup founders with 5-15 employees. 
Tone: direct but supportive. Include one specific example of bad delegation, explain the root cause, give one actionable fix. 
End with a question that sparks discussion about leadership challenges
</code></pre><p></p><p>First try. Perfect output. Exactly what I needed.</p><p>That's when it hit me: <strong>I wasn't prompting AI. I was performing for it.</strong></p><h2>The Performance Trap Is Real</h2><p>Here's what most people get wrong about prompting:</p><p>They think creativity impresses AI.</p><p>They layer on metaphors, fancy language, and cute references thinking it makes their prompts "better."</p><p>But here's the truth: <strong>AI doesn't need to be entertained. It needs to be directed.</strong></p><p>When you write <em><strong>"Channel your inner Einstein"</strong></em> instead of "<em><strong>Think step-by-step through this physics problem,"</strong></em> you're not being clever. You're being vague.</p><p>When you say <em><strong>"Write like Hemingway" </strong></em>instead of <em><strong>"Use short sentences and simple words,"</strong></em> you're not being creative. You're being unclear.</p><p>AI doesn't get impressed by your references. It gets confused by your metaphors.</p><h2>What Clarity Actually Looks Like</h2><p>Let me show you the difference.</p><p><strong>Vague and "Creative":</strong> <em>"Help me brainstorm some next-level, mind-blowing content ideas that would absolutely crush it on LinkedIn and make my audience stop scrolling and start engaging like crazy."</em></p><p><strong>Clear and Direct:</strong> <em>"Generate 5 LinkedIn post ideas for marketing professionals. Each should be 100-150 words, include a contrarian take on common advice, and end with a question that encourages comments. Topics: AI tools, personal branding, or productivity."</em></p><p>See the difference?</p><p>The first prompt sounds exciting. The second one gets results.</p><p>The first one is performing. The second one is directing.</p><h2>Prompt Crafting Principle #1: Precision Wins</h2><p>When you strip away the fancy language and focus on what you actually want, three things happen:</p><ol><li><p><strong>AI understands your intent</strong> instead of guessing at your metaphors</p></li><li><p><strong>You get consistent results</strong> instead of creative surprises</p></li><li><p><strong>You can iterate and improve</strong> instead of starting over each time</p></li></ol><p><strong>Think of it this way:</strong> If you needed someone to edit your resume, would you say <em><strong>"Act like a career guru and make my resume absolutely phenomenal and irresistible to employers"?</strong></em></p><p>Or would you say "<strong>You are a hiring manager in tech. Review my product manager resume and suggest 3 specific improvements to make it more likely to get past ATS systems and land interviews at mid-size startups"?</strong></p><p>AI prompting works the same way. <strong>Clear directions get you where you want to go.</strong></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>The Flawed Prompt Challenge</h2><p>Here's a prompt I see variations of all the time:</p><p><em><strong>"Act like a creative genius and help me come up with some amazing ideas for growing my business that are totally unique and innovative and would really wow my customers."</strong></em></p><p>What's wrong with this prompt? Take 30 seconds and think about it.</p><p>Here's what I see:</p><ul><li><p>"Creative genius" - vague role, no specific expertise</p></li><li><p>"Amazing ideas" - no criteria for what makes something amazing</p></li><li><p>"Growing my business" - what kind of business? what stage? what's the goal?</p></li><li><p>"Totally unique and innovative" - impossible to deliver without context</p></li><li><p>"Wow my customers" - who are your customers? what wows them?</p></li></ul><p><strong>Your homework:</strong> Rewrite this prompt to be clear and specific. What information would AI actually need to give you useful business growth ideas?</p><p>Don't scroll down yet. Actually try it.</p><p>I'll give you my version tomorrow, along with the framework I use to turn any vague prompt into a precise one.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>The Real Test</h2><p>You'll know you're getting good at this when you stop trying to impress AI and start directing it.</p><p>When you catch yourself writing "Channel your inner..." and delete it for something clearer.</p><p>When you realize that the most powerful prompts aren't the most creative ones  they're the most precise ones.</p><p><strong>Tomorrow:</strong> I'll show you exactly how I would fix that flawed prompt, plus the 4-part structure I use to make any prompt more precise.</p><p>We're also diving into <strong>Prompt Crafting Principle #2: Structure Makes You Dangerous</strong> - how to control AI output by giving it a framework to work within.</p><p>Until then, try this: Take one prompt you've used recently (or are planning to use) and strip out all the clever language. Make it as clear and direct as possible.</p><p>See what happens when you stop performing and start directing.</p><p><strong>Drop a comment:</strong> What's one "clever" prompt you've used that totally flopped? Let's learn from each other's creative disasters.</p><div><hr></div><p><em><strong>This is Day 7 of my 30-day writing sprint, and Day 1 of our prompt crafting deep dive.</strong></em></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><h2></h2>]]></content:encoded></item><item><title><![CDATA[Let's Try Something Different]]></title><description><![CDATA[Why I'm spending the next week teaching you to stop copying prompts and start crafting them]]></description><link>https://digitalalchemylabs.com/p/day-5-lets-try-something-different</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/day-5-lets-try-something-different</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Sun, 01 Jun 2025 02:18:56 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!uQnU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uQnU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uQnU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!uQnU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!uQnU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!uQnU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uQnU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png" width="1456" height="971" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:971,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2922640,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/164910625?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uQnU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 424w, https://substackcdn.com/image/fetch/$s_!uQnU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 848w, https://substackcdn.com/image/fetch/$s_!uQnU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!uQnU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe80c14e2-0198-44e3-93e2-4ff2b7d8967c_1536x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey Alchemists, </p><p>We're five days into this 30-day writing sprint.</p><p>I committed to publishing daily, and so far we've covered comfort zones, study sinkholes, and why people get stuck consuming instead of creating. But I want to try something different for the next week.</p><p>Instead of jumping between topics, I'm going to focus on one thing that's been on my mind: <strong>how to actually get good at prompting</strong>.</p><p><strong>Not collecting prompts. Not Prompting Engineering but Crafting good prompts.</strong></p><p>Yesterday I told you about my 200 saved prompts that I'd never actually used. About organizing prompt folders instead of writing original ones. About learning everything and doing nothing.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><div><hr></div><h3><strong>Here's what we're doing for the next seven days</strong></h3><p></p><p>I'm walking through my approach to prompting. Not templates you can copy. Not guru frameworks. The actual process of thinking through what you want and how to get it.</p><p></p><ul><li><p><strong>Day 6: Stop trying to be clever with your prompts</strong> Why clarity beats creativity when AI lacks context. How to be precise without being boring.</p></li><li><p><strong>Day 7: Structure makes you dangerous</strong><br>How to control output by giving AI a framework to work within. Goal, audience, format, tone.</p></li><li><p><strong>Day 8: Context isn't optional</strong> Why AI breaks when it lacks stakes. How to add tension, constraints, and consequences.</p></li><li><p><strong>Day 9: Guide thinking, not just asking</strong> Chain of thought prompting. Getting AI to work through problems step by step.</p></li><li><p><strong>Day 10: Can you transfer what you've learned?</strong> The remix test. Taking principles and applying them to completely new situations.</p></li><li><p><strong>Day 11: Teaching others is how you know you've got it</strong> The final test. Explaining prompting concepts in your own words.</p></li></ul><p></p><p><strong>The headlines and titles might change as I write them.</strong></p><p>But what you'll learn in each section won't. Each day builds on the last. By Day 11, you won't need anyone else's prompt templates.</p><p><strong>You'll know how to craft your own.</strong></p><p>For your problems. In your voice. For your specific situation.</p><p><strong>Starting tomorrow, we dive in.</strong></p><p>If you've been copying prompts and wondering why they don't work as well as you like, this week is for you.</p><p>If you've been collecting templates but never getting the results you want, this week is for you.</p><p>If you been trying to understand prompt engineering but it just seem like something techies do this week is for you .</p><p>If you want to stop depending on other people's thinking and start directing AI yourself, this week is for you.</p><p><strong>Let's stop copying and start crafting. </strong></p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p>]]></content:encoded></item><item><title><![CDATA[We’re Already in the Shift. Let’s Learn How to Move in It.]]></title><description><![CDATA[The machines are here. Now what are you gonna do?]]></description><link>https://digitalalchemylabs.com/p/were-already-in-the-shift-lets-learn</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/were-already-in-the-shift-lets-learn</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 06 May 2025 19:39:50 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!RzuX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RzuX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RzuX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!RzuX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!RzuX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!RzuX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RzuX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1992752,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://digitalalchemylabs.com/i/162998528?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RzuX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!RzuX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!RzuX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!RzuX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e935437-82c4-4d7f-adcf-e0edd5ead20e_1024x1024.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>Hey Alchemists,</strong></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p>If you caught my last post, you know I&#8217;ve been dealing with some real stuff neck pain, MRI, epidural shots, the whole thing. I came back, wrote an update, felt that momentum, and then got sick again.</p><p>Life paused me. Twice.</p><p>But I&#8217;m not here to talk about comebacks. This isn&#8217;t another <em>&#8220;I&#8217;m back&#8221;</em> post. This is a <em>we&#8217;re already in it</em> post.</p><p>Because while I&#8217;ve been healing, the world&#8217;s been shifting fast.</p><p>And now? It&#8217;s go time.</p><p></p><h4><strong>I&#8217;ve been gone for a minute. Maybe you noticed. Maybe you didn&#8217;t.</strong></h4><p></p><p>Either way, I&#8217;m showing back up not to shout into the noise, but to carve out a corner where real people can still learn from each other. Where we can talk about AI, digital tools, and navigating this wild new world without pretending we&#8217;ve got it all figured out.</p><p>I stepped away from Substack because, honestly, it started feeling like just another social media platform. The kind I&#8217;ve already peeled away from Facebook, Instagram, all that polarized noise. I didn&#8217;t want to trade one dopamine loop for another. And beyond that, I&#8217;ve been dealing with real physical stuff neck pain, arm pain, carpal tunnel that made writing feel like a chore instead of a release.</p><p>But even through all that, I&#8217;ve been feeling the pull again. Not to post. Not to perform. But to teach. To share. To help folks make sense of the AI world we&#8217;re living in now a world where the machines aren&#8217;t just coming, they&#8217;re already here.</p><p>And I believe this:  if you&#8217;ve got something to say, now&#8217;s the time to say it.<br>AI is remixing everything. The internet is changing again. Original ideas are rare but <em>original voices</em> still matter.</p><p></p><h3>The Mission Now</h3><p>A group of people out here maybe you included need <em>guidance</em>. They don&#8217;t know what&#8217;s really coming.</p><p><strong>Let me be blunt: </strong></p><p>A lot of these jobs? They&#8217;re not coming back.<br>And the ones that <em>do</em>? AI and automation will be doing most of it.</p><p>But I don&#8217;t believe AI is &#8220;taking over.&#8221; without the experts. </p><p>I&#8217;ve been in tech a long time. I&#8217;ve always been on the edge of what&#8217;s next and what I know is this: <strong>AI needs </strong><em><strong>you !</strong></em><strong>!! </strong></p><p>It needs domain experts. It needs real humans who know how to <em>use</em> it.</p><p>That&#8217;s the mindset shift: <strong>AI-first.</strong></p><ul><li><p>If you&#8217;re a marketer, Learn AI Tools.</p></li><li><p>If you&#8217;re a writer, Learn AI Tools.</p></li><li><p>If you&#8217;re building anything &#8230; Learn AI Tools.</p><p></p></li></ul><p>I use AI to write because typing hurts. Carpal tunnel is real. But now? I can <em>talk and dictate</em>, and AI listens. And it gives me back my words. My tone. My vibe. <em>That&#8217;s</em> the real magic not replacing me, but <strong>amplifying</strong> me.</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><h3>What Digital Alchemy Lab <em>Is</em></h3><p></p><p>Nothing&#8217;s changed.</p><p>We&#8217;re still doing labs.<br>Still breaking down how to move in this digital age.<br>Still talking AI. Still talking blockchain. Still getting spiritual. Still building side hustles. Still thinking freely.</p><p><strong>But let me say this clearly: the shift is already happening.</strong><br></p><p>Companies like Duolingo are going AI-first not as a tagline, but as a strategy. Klarna&#8217;s replaced entire workflows. Europe&#8217;s pushing national strategies. AI isn&#8217;t coming it&#8217;s already embedded in the system.</p><p>That&#8217;s why we&#8217;re shifting too.<br>We&#8217;ll be labbing how to use these tools really use them.<br>We&#8217;ll share wins, breakdowns, missteps, and ideas.</p><p>If you&#8217;re not learning to move with AI, you&#8217;re going to get left behind.</p><p>But if you&#8217;re here, reading this, you&#8217;re ahead already.</p><p></p><h3>What&#8217;s Next</h3><p>Expect at least <strong>one post a week</strong> for the next four weeks.<br>I&#8217;m easing back in. I&#8217;m not making big promises but I&#8217;m making real movement.</p><p>Because now I&#8217;ve got AI helping me stay consistent.<br>I talk. It listens. We write. That&#8217;s the loop.</p><p>This is still our lab.<br>We&#8217;re learning in public.<br>Trying things. Breaking things.<br>Rebuilding together.</p><p></p><h3>Talk to Me</h3><p>What are <em>you</em> working on?<br>What&#8217;s helping you stay focused and what&#8217;s pulling you away?<br>Are you playing with AI yet?<br>What&#8217;s your biggest curiosity or fear?</p><p>Drop a comment and let me know.</p><p>And if you&#8217;re still caught in the political outrage loop, I&#8217;ll say this: unless that&#8217;s your calling unless you&#8217;re building something with it it&#8217;s probably draining your energy. </p><p>Redirect it. Even activism can be AI-powered if you let it.</p><p></p><h3><strong>Final Word</strong></h3><p>Thank you for holding on.<br>Thank you for still being here.</p><h3><strong>Digital Alchemy Lab is back.</strong></h3><p>Not as a brand. Not as a platform.<br>But as a <em>practice</em>. A <em>way of thinking</em>. A place to <em>experiment out loud</em>.</p><p>Let&#8217;s get this shift in motion.</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Let's Try to Trick Our AI (and Learn From It)! Building in Public: ]]></title><description><![CDATA[Part 4 - Understanding Adversarial Examples &#127917;]]></description><link>https://digitalalchemylabs.com/p/lets-try-to-trick-our-ai-and-learn</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/lets-try-to-trick-our-ai-and-learn</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 17 Dec 2024 20:32:26 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!oSJa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oSJa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oSJa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 424w, https://substackcdn.com/image/fetch/$s_!oSJa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 848w, https://substackcdn.com/image/fetch/$s_!oSJa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!oSJa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oSJa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1041387,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!oSJa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 424w, https://substackcdn.com/image/fetch/$s_!oSJa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 848w, https://substackcdn.com/image/fetch/$s_!oSJa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!oSJa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey there, AI explorers! &#128075;</p><p>Last time we got our AI making real-world decisions with inference.py. Today, we're going to do something that might sound a bit sneaky - we're going to try to trick our AI! But don't worry, we're doing it for a good reason. Let's dive into adversarial.py and learn why this is super important!</p><h2>What in the World is "Adversarial"? &#129300;</h2><p>First, let's talk about this word "adversarial" - it's a fancy way of saying we're going to act like friendly opponents to our AI. You know how when you're learning to play chess, it helps to have someone try their best to beat you? That's what we're doing here!</p><p>In AI terms, an "adversarial example" is an input that's specially designed to trick our model. Think of it like an optical illusion for AI. Just like how this emoji &#128123; clearly looks like a ghost to us but might look like something completely different if you add just a few tiny changes!</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>Opening Up adversarial.py &#128221;</h2><p>Let's look at our script:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZY8j!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZY8j!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 424w, https://substackcdn.com/image/fetch/$s_!ZY8j!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 848w, https://substackcdn.com/image/fetch/$s_!ZY8j!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 1272w, https://substackcdn.com/image/fetch/$s_!ZY8j!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZY8j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png" width="1414" height="620" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:620,&quot;width&quot;:1414,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:112772,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZY8j!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 424w, https://substackcdn.com/image/fetch/$s_!ZY8j!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 848w, https://substackcdn.com/image/fetch/$s_!ZY8j!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 1272w, https://substackcdn.com/image/fetch/$s_!ZY8j!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F56f1687c-9629-4930-bef6-d9b9042cdbcc_1414x620.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Let's break down some new terms:</p><ul><li><p>"perturbation" (sounds scary, right?) just means making small changes - like adding a tiny bit of salt to a recipe</p></li><li><p>"K-means clustering" is what our model uses to group similar things together (remember our sorting hat analogy?)</p></li><li><p>"tqdm" is our progress bar friend - it shows us how long things will take (like a cooking timer!)</p></li></ul><h2>Meet the AdversarialGenerator Class &#127912;</h2><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ram7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ram7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 424w, https://substackcdn.com/image/fetch/$s_!ram7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 848w, https://substackcdn.com/image/fetch/$s_!ram7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 1272w, https://substackcdn.com/image/fetch/$s_!ram7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ram7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png" width="1422" height="474" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:474,&quot;width&quot;:1422,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:113721,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ram7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 424w, https://substackcdn.com/image/fetch/$s_!ram7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 848w, https://substackcdn.com/image/fetch/$s_!ram7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 1272w, https://substackcdn.com/image/fetch/$s_!ram7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6dedace2-f636-40a0-91b1-c74456e8bba8_1422x474.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Okay, let's chat about what's happening here:</p><ul><li><p><code>epsilon</code> (that &#949; symbol you might have seen in math) is like our "how much can we change" knob</p></li><li><p>Think of it like cooking: if a recipe says "add salt to taste," epsilon is like saying "but don't add more than a teaspoon!"</p></li></ul><h2>Our First Trick: The Centroid Attack &#127919;</h2><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nXaa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nXaa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 424w, https://substackcdn.com/image/fetch/$s_!nXaa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 848w, https://substackcdn.com/image/fetch/$s_!nXaa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 1272w, https://substackcdn.com/image/fetch/$s_!nXaa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nXaa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png" width="1400" height="420" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:420,&quot;width&quot;:1400,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:99841,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nXaa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 424w, https://substackcdn.com/image/fetch/$s_!nXaa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 848w, https://substackcdn.com/image/fetch/$s_!nXaa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 1272w, https://substackcdn.com/image/fetch/$s_!nXaa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3685dee4-cebd-468d-b01e-280bebbca5d6_1400x420.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Let me tell you why this is clever! Imagine you're playing tug-of-war:</p><ul><li><p>The "centroids" are like the teams' home bases</p></li><li><p>We're trying to pull an image just enough towards the other team's base to make our AI think it belongs there</p></li><li><p>But we don't want to pull too hard (that's where epsilon comes in)</p></li></ul><h2>Different Types of Tricks &#127183;</h2><p>We've got several ways to try to fool our AI:</p><h3>1. Direct Perturbation (The Subtle Approach)</h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dXla!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dXla!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 424w, https://substackcdn.com/image/fetch/$s_!dXla!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 848w, https://substackcdn.com/image/fetch/$s_!dXla!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 1272w, https://substackcdn.com/image/fetch/$s_!dXla!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dXla!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png" width="1396" height="370" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d160ded6-5868-434f-9707-8565e686b1f4_1396x370.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:370,&quot;width&quot;:1396,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:75884,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!dXla!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 424w, https://substackcdn.com/image/fetch/$s_!dXla!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 848w, https://substackcdn.com/image/fetch/$s_!dXla!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 1272w, https://substackcdn.com/image/fetch/$s_!dXla!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd160ded6-5868-434f-9707-8565e686b1f4_1396x370.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>This is like adding a tiny bit of noise to an image - kind of like adding static to a radio signal. Most humans wouldn't even notice, but it might confuse our AI!</p><h3>2. Noise Injection (The Random Approach)</h3><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nJk_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nJk_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 424w, https://substackcdn.com/image/fetch/$s_!nJk_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 848w, https://substackcdn.com/image/fetch/$s_!nJk_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 1272w, https://substackcdn.com/image/fetch/$s_!nJk_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nJk_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png" width="1392" height="176" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:176,&quot;width&quot;:1392,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:41375,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nJk_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 424w, https://substackcdn.com/image/fetch/$s_!nJk_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 848w, https://substackcdn.com/image/fetch/$s_!nJk_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 1272w, https://substackcdn.com/image/fetch/$s_!nJk_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc8a0c9c8-f147-49cb-8323-6a8d61404a8d_1392x176.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Think of this like adding sprinkles randomly to a cake - we're not being strategic, just adding random changes and seeing what happens!</p><h2>Testing Our Tricks &#129514;</h2><p>Here's how we test if our tricks worked:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!E-VM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!E-VM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 424w, https://substackcdn.com/image/fetch/$s_!E-VM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 848w, https://substackcdn.com/image/fetch/$s_!E-VM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 1272w, https://substackcdn.com/image/fetch/$s_!E-VM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!E-VM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png" width="1390" height="322" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:322,&quot;width&quot;:1390,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:78762,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!E-VM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 424w, https://substackcdn.com/image/fetch/$s_!E-VM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 848w, https://substackcdn.com/image/fetch/$s_!E-VM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 1272w, https://substackcdn.com/image/fetch/$s_!E-VM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a5914f-305c-46c0-b26b-b9fe967b29a6_1390x322.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>This is like being a teacher grading tests:</p><ul><li><p>How many times did we successfully trick our AI?</p></li><li><p>What percentage of our tricks worked?</p></li><li><p>Which types of tricks worked better than others?</p></li></ul><h2>Let's Try It Ourselves! &#127918;</h2><p>Want to experiment? Here's a fun challenge:</p><ol><li><p>Pick an image that your model correctly classifies</p></li><li><p>Try different epsilon values:</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!kthE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!kthE!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 424w, https://substackcdn.com/image/fetch/$s_!kthE!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 848w, https://substackcdn.com/image/fetch/$s_!kthE!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 1272w, https://substackcdn.com/image/fetch/$s_!kthE!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!kthE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png" width="1412" height="232" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:232,&quot;width&quot;:1412,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:54804,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!kthE!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 424w, https://substackcdn.com/image/fetch/$s_!kthE!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 848w, https://substackcdn.com/image/fetch/$s_!kthE!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 1272w, https://substackcdn.com/image/fetch/$s_!kthE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdba71767-cd46-49a2-aff1-d8d8ee2e9403_1412x232.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ol start="3"><li><p>See how much you need to change before the AI's decision flips!</p></li></ol><h2>The Ethics Corner &#127919;</h2><p>Now here's something really important to think about - why are we doing this? It's not just for fun:</p><ul><li><p>If we can find ways to trick our AI, others can too</p></li><li><p>Understanding these weaknesses helps us build stronger models</p></li><li><p>We need to know our model's limits to use it responsibly</p></li></ul><p>Think of it like testing the locks on your doors - better we find the weaknesses than someone with bad intentions!</p><h2>Common Hiccups You Might Hit &#128295;</h2><ol><li><p><strong>"That didn't change anything!"</strong></p><ul><li><p>Try increasing epsilon</p></li><li><p>Check if your image is being preprocessed correctly</p></li><li><p>Make sure you're saving the perturbed image properly</p></li></ul></li><li><p><strong>"My changes are too visible!"</strong></p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Xod9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Xod9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 424w, https://substackcdn.com/image/fetch/$s_!Xod9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 848w, https://substackcdn.com/image/fetch/$s_!Xod9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 1272w, https://substackcdn.com/image/fetch/$s_!Xod9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Xod9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png" width="1334" height="140" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:140,&quot;width&quot;:1334,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29043,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Xod9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 424w, https://substackcdn.com/image/fetch/$s_!Xod9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 848w, https://substackcdn.com/image/fetch/$s_!Xod9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 1272w, https://substackcdn.com/image/fetch/$s_!Xod9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa08138b4-6fbe-4963-92bc-9316e904800f_1334x140.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><ol start="3"><li><p><strong>Its taking forever</strong> </p><ol><li><p>Try processing fewer images</p></li><li><p>Use smaller image sizes</p></li><li><p>Check your GPU usage</p></li></ol></li></ol><h2>What's Next? &#128640;</h2><p>Next time, we're going to level up our adversarial testing with even more sophisticated techniques in advance_adversary.py! Think of it as moving from simple magic tricks to complex illusions!</p><h3><a href="https://gist.github.com/devonartis/b0eedcdc1a842b7bc461dc45ffa78ef1">Download Code</a> </h3><h3></h3><h2>Share Your Experiments! &#128173;</h2><p>I'd love to hear about:</p><ul><li><p>What epsilon values worked best for you?</p></li><li><p>Did you find any images that were particularly easy/hard to fool?</p></li><li><p>What surprised you about the results?</p></li><li><p>Any cool modifications you made to the code?</p></li></ul><p>Remember, we're all learning together! Share your successes AND your failures - they're both super valuable!</p><p>Drop a comment below with your experiences! &#128071;</p><p>#BuildInPublic #MachineLearning #AITesting #AdversarialAI</p><p>P.S. Did you create any particularly interesting adversarial examples? Share them in the comments! Just remember - we're doing this to make AI better and more secure! &#128737;&#65039;</p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;4a4e2e77-f34f-4edd-850a-61ac67abb0f7&quot;,&quot;caption&quot;:&quot;Hey there, curious minds! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Teaching AI to Spot Harmful Content: A Journey into Unsupervised Learning&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-11-01T04:07:46.803Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/teaching-ai-to-spot-harmful-content&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:151013835,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:5,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;708b3d0e-d910-440a-bb4b-aecc5680b8ba&quot;,&quot;caption&quot;:&quot;Hey there, Alchemists! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Making Sure Everything's Ready: Your AI Setup Checklist&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-11-09T00:51:01.296Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/making-sure-everythings-ready-your&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:151400763,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:4,&quot;comment_count&quot;:1,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;c626e072-129b-40e2-bd0c-57e39217d4ea&quot;,&quot;caption&quot;:&quot;Hey there, fellow Alchemists ! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;From Training to Action: Making Our AI Work in the Real World&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-05T04:43:01.458Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/from-training-to-action-making-our&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:152250723,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p>]]></content:encoded></item><item><title><![CDATA[From Training to Action: Making Our AI Work in the Real World]]></title><description><![CDATA[Building in Public: Part 3 - Teaching Our AI to Make Decisions &#129302;]]></description><link>https://digitalalchemylabs.com/p/from-training-to-action-making-our</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/from-training-to-action-making-our</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Thu, 05 Dec 2024 04:43:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!D2x5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!D2x5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!D2x5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 424w, https://substackcdn.com/image/fetch/$s_!D2x5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 848w, https://substackcdn.com/image/fetch/$s_!D2x5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!D2x5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!D2x5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg" width="1456" height="823" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:823,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1373276,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!D2x5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 424w, https://substackcdn.com/image/fetch/$s_!D2x5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 848w, https://substackcdn.com/image/fetch/$s_!D2x5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!D2x5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey there, fellow Alchemists ! &#128075; </p><p>Last time we made sure our AI kitchen was squeaky clean and ready to go with our verify.py script. Today? We're going to do something SUPER exciting - we're going to make our AI actually work in the real world! </p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;cc2f82f5-5f15-4d2a-98a5-2a7c9b766e49&quot;,&quot;caption&quot;:&quot;Hey there, Alchemists! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Making Sure Everything's Ready: Your AI Setup Checklist&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-11-09T00:51:01.296Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/making-sure-everythings-ready-your&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:151400763,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:4,&quot;comment_count&quot;:1,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><h3>What Do We Mean by "Inference"? &#129300;</h3><p></p><p>Okay, let's chat about this word "inference" for a second. I remember the first time I saw it, I thought, "Wow, that sounds complicated!" But here's the thing - it's actually a pretty simple idea. You know how after you learn something, you use that knowledge to make decisions? Like how after you learn to ride a bike, you can look at any bike and think, "Yeah, I can ride that!"</p><p>That's exactly what inference is! Our AI has learned some patterns (that's the training part), and now it's going to use that knowledge to make decisions about new images it sees. Cool, right?</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:&quot;button-wrapper&quot;}" data-component-name="ButtonCreateButton"><a class="button primary button-wrapper" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h3>Opening Up inference.py &#128221;</h3><p><strong>Let's look at our script together:</strong></p><pre><code>"""
Inference script for hate content detection model
"""

import pandas as pd
from utils import ImageProcessor, SimpleMetalKMeans</code></pre><p></p><p>See those imports? We're bringing in two really important tools:</p><ul><li><p>pandas (that's what 'pd' stands for) is like our data organization superhero. Think of it as an super-powered Excel for Python</p></li><li><p>Our old friends ImageProcessor and SimpleMetalKMeans from utils.py that we talked about before</p></li></ul><p></p><h3>The Main Star: run_inference() &#127775;</h3><p></p><pre><code>def run_inference(image_folder, model_path="model/kmeans_model.pkl"):
    """
    Run inference on a folder of images using a trained model.
    """
    print("Starting inference process...")</code></pre><p>Let's break this down:</p><ul><li><p><code>image_folder</code> is where we keep the images we want to analyze</p></li><li><p><code>model_path</code> points to our trained model (that .pkl file - think of it as our AI's learned experience)</p></li><li><p>The "pkl" extension? That stands for "pickle" (yes, really! &#128516;). It's Python's way of saving complex stuff to a file</p><p></p></li></ul><h2>Three Big Steps (Like a Recipe!) &#129368;</h2><h3>Step 1: Getting Our Expert Ready &#129489;&#8205;&#127859;</h3><pre><code>try:
        # Load the trained model
        print("\nLoading trained model...")
        model = SimpleMetalKMeans.load(model_path)</code></pre><p>This is like getting our expert chef into the kitchen. The <code>try:</code> part? That's like having a safety net - if something goes wrong, we'll catch it and handle it gracefully. We'll talk more about that in a minute!</p><h3>Step 2: Preparing Our Images &#128444;&#65039;</h3><pre><code># Initialize image processor
        processor = ImageProcessor()

        # Load and process images
        print("\nProcessing images...")
        images, image_ids = processor.load_images(image_folder)

        # Preprocess data
        data = images.reshape(images.shape[0], -1) / 255.0</code></pre><p></p><p>Whoa, what's that reshape and 255.0 business? Let me explain:</p><ul><li><p><code>reshape</code> is like reorganizing your photos in an album. Instead of having a complex 3D structure (width, height, colors), we flatten each image into a simple list of numbers</p></li><li><p>Dividing by 255.0 is like converting prices from cents to dollars - it scales our pixel values from 0-255 down to 0-1, which our AI prefers</p></li></ul><p></p><h3>Step 3: Decision Time! &#127919;</h3><pre><code># Make predictions
print("\nGenerating predictions...")
predictions = model.predict(data)</code></pre><p>This is the magical moment where our AI looks at each image and makes a decision. But what exactly is it deciding? Remember, we're using this for content detection, so for each image, it's basically asking "Does this look concerning or normal?"</p><h2>Making It Bulletproof &#128737;&#65039;</h2><p>Here's something I learned the hard way - ALWAYS plan for things to go wrong! Let's add some safety nets:</p><pre><code>def run_inference(image_folder, model_path="model/kmeans_model.pkl"):
    try:
        # All our code from before...
        return results_df
    except FileNotFoundError as e:
        print(f"\nOops! Couldn't find a file: {e}")
        print("Check if your model and image folder paths are correct!")
        raise
    except Exception as e:
        print(f"\nSomething unexpected happened: {e}")
        raise</code></pre><p>Why all this error handling? Well, let me tell you a story... I once ran an inference job on 10,000 images, and it crashed at image 9,999 with no error handling. &#128557; Never again!</p><h2>Saving Our Results &#128202;</h2><pre><code># Create results DataFrame
        results_df = pd.DataFrame({
            "image_id": image_ids, 
            "prediction": predictions
        })
        
        # Save to CSV
        output_file = "inference_predictions.csv"
        results_df.to_csv(output_file, index=False)</code></pre><p></p><p>A DataFrame is like a super-powered spreadsheet in Python. Here we're creating one with two columns:</p><ul><li><p>image_id: to know which image we're talking about</p></li><li><p>prediction: what our AI thought about it (0 or 1)</p></li></ul><p>We save it as a CSV file (like an Excel file) so we can easily look at it later.</p><h3><a href="https://gist.github.com/devonartis/f8deec394529f906251512a6dbb5efd1">Download Sample Code</a>  </h3><p></p><h2>Let's Try It Out! &#127918;</h2><p>Want to get your hands dirty? Here's a fun experiment:</p><ol><li><p>Grab some random images (maybe some pet photos?)</p></li><li><p>Put them in a folder called "test_images"</p></li><li><p>Run this code:</p></li></ol><pre><code>if __name__ == "__main__":
    inference_folder = "./test_images"
    results = run_inference(inference_folder)
    print("\nResults Preview:")
    print(results.head())  # Show first few results</code></pre><p></p><h2>The Ethics Corner &#127919;</h2><p>Now here's something really important to think about - our model is making decisions that could affect content moderation. That's a big responsibility! We need to consider:</p><ul><li><p>False positives: What happens if we flag normal content as concerning?</p></li><li><p>False negatives: What if we miss actually concerning content?</p></li><li><p>Bias: Are we treating all types of content fairly?</p></li></ul><p></p><h2>What Could Go Wrong? &#128295;</h2><p>Let's talk about some common hiccups you might hit:</p><ol><li><p><strong>"Model not found" Error</strong></p><pre><code>FileNotFoundError: [Errno 2] No such file or directory: 'model/kmeans_model.pkl'</code></pre></li></ol><p>  This usually means you're not running the code from the right folder. Try printing your current directory:</p><pre><code>import os
print("I'm looking for files in:", os.getcwd())</code></pre><p>   2. <strong>Memory Issues</strong></p><p>   If you're processing lots of images, you might run out of memory. Try processing in batches:</p><pre><code># Process 100 images at a time
for i in range(0, len(image_files), 100):
    batch_files = image_files[i:i+100]
    # Process batch...</code></pre><p></p><h2>What's Next? &#128640;</h2><p>Next time, we're going to get into something really interesting - adversarial testing! Think of it like trying to fool our AI with optical illusions. We'll see just how robust our model really is!</p><h2>Share Your Journey! &#128173;</h2><p>I'd love to hear about:</p><ul><li><p>What kind of images did you test with?</p></li><li><p>Any surprising predictions?</p></li><li><p>Did you modify the code in any interesting ways?</p></li><li><p>What questions came up as you were working with it?</p></li></ul><p>Remember, we're all learning together! No question is too basic - if you're wondering about something, others probably are too!</p><p>Drop a comment below with your experiences, questions, or just to say hi! &#128075;</p><p>#BuildInPublic #MachineLearning #AIInference #PracticalAI</p><p>P.S. Running into issues? Share your error messages in the comments - debugging is always more fun together! &#129309;</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p>Follow up </p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;dcf33a40-e2cc-412b-a61c-604353bd8e84&quot;,&quot;caption&quot;:&quot;Hey there, AI explorers! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;lg&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Let's Try to Trick Our AI (and Learn From It)! Building in Public: &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-17T20:32:26.084Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/lets-try-to-trick-our-ai-and-learn&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:152608297,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div>]]></content:encoded></item><item><title><![CDATA[Making Sure Everything's Ready: Your AI Setup Checklist]]></title><description><![CDATA[Building in Public: Part 2 - Is Your AI Kitchen Really Ready? &#129488;]]></description><link>https://digitalalchemylabs.com/p/making-sure-everythings-ready-your</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/making-sure-everythings-ready-your</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Sat, 09 Nov 2024 00:51:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!1m1P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1m1P!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1m1P!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1m1P!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1m1P!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1m1P!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1m1P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg" width="1456" height="823" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/eba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:823,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:2750185,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1m1P!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 424w, https://substackcdn.com/image/fetch/$s_!1m1P!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 848w, https://substackcdn.com/image/fetch/$s_!1m1P!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!1m1P!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey there, Alchemists! &#128075;</p><p>Last time we talked about the importance of AI bias and our exciting journey ahead. Today, we're going to do something super important - we're going to make absolutely sure our AI kitchen is ready for cooking! You know how bakers check their oven temperature before making a souffl&#233;? That's exactly what we're doing with our AI setup!</p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;997afa5d-ccdc-4bcd-ab79-3cd9846d7f33&quot;,&quot;caption&quot;:&quot;Hey there, curious minds! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Teaching AI to Spot Harmful Content: A Journey into Unsupervised Learning&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-11-01T04:07:46.803Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/teaching-ai-to-spot-harmful-content&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:151013835,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:3,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><h2>Why Do We Need to Verify? &#129300;</h2><p>You might be thinking, "Come on, I installed everything, isn't that enough?" Well, let me tell you a funny story. The first time I set up my environment, everything seemed fine until I actually started training. Two hours in, I realized my GPU wasn't even being used! &#128517; That's why we're going to check everything first.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>Meet verify.py: Your AI Kitchen Inspector &#128269;</h2><p>Let's look at our verification script:</p><pre><code>python

"""
Verify that all required packages are properly installed and configured
"""
import sys
import tensorflow as tf
import cv2
import numpy as np
import pandas as pd
from tqdm import tqdm

def verify_setup():
    """
    Verify that all required packages are properly installed and configured
    """
    print("Python version:", sys.version)
    print("\nTensorFlow version:", tf.__version__)
    print("TensorFlow Metal device:", 
tf.config.list_physical_devices('GPU'))
</code></pre><p>Think of this like your pre-flight checklist - we're checking every single thing that could affect our AI's performance!</p><h2>Let's Run Some Tests! &#9992;&#65039;</h2><p>First up, let's check our versions. It's like making sure all your ingredients aren't expired:</p><p></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><p></p><p>Now for the exciting part - testing our GPU:</p><p></p><pre><code>
print("\nTesting Metal acceleration...")
    with tf.device('/GPU:0'):
        a = tf.random.normal([1000, 1000])
        b = tf.random.normal([1000, 1000])
        c = tf.matmul(a, b)
        print("Matrix multiplication test successful")</code></pre><p></p><p>This is like turning on all your burners to make sure they're working. If this runs quickly, your GPU is ready to rock! &#127928;</p><h2>Common "Uh-Oh" Moments and How to Fix Them &#128295;</h2><p></p><ol><li><p><strong>"GPU not found" Message</strong> </p></li></ol><pre><code>print("TensorFlow Metal device:", tf.config.list_physical_devices('GPU'))
# If this shows [], we've got a problem!</code></pre><ol><li><p>Quick Fix: Make sure you've installed tensorflow-metal and set DEVICE='metal'</p></li><li><p><strong>Slow Matrix Multiplication</strong> If our test takes more than a few seconds, something's not right with our GPU setup. Usually this means Metal isn't properly configured.</p></li><li><p><strong>Import Errors</strong> These are like finding out you forgot to buy a key ingredient - annoying but easily fixed!</p></li></ol><h2>Let's Check Memory Too! &#128190;</h2><p>Here's a neat addition I like to make to verify.py:</p><p></p><pre><code>print("\nChecking available memory...")
try:
    # Test with a reasonably sized matrix
    test_matrix = tf.random.normal([5000, 5000])
    print("Memory test passed!")
except:
    print("Warning: Memory constraints detected")</code></pre><p></p><h2>Your Turn: The Verification Challenge! &#127919;</h2><p>Try this out:</p><ol><li><p>Run verify.py</p></li><li><p>Look at each output carefully</p></li><li><p>Try changing the matrix size in the GPU test</p></li><li><p>Watch your Activity Monitor while running tests</p></li></ol><p><strong>Pro Tip: Keep <a href="https://gist.github.com/devonartis/da35f4e564a74f84bc557a5132b2e1ea">verify.py </a>handy - I run it before starting any major training session. It's saved me hours of debugging!</strong></p><p></p><h3><a href="https://gist.github.com/devonartis/da35f4e564a74f84bc557a5132b2e1ea">Download Verify.py code </a></h3><p></p><h2>Quick Health Check! &#127973;</h2><p>Before you go, make sure:</p><ul><li><p>Your GPU shows up in device list</p></li><li><p>Matrix multiplication is fast</p></li><li><p>All imports work</p></li><li><p>Memory test passes</p></li></ul><h2>The Ethics Corner &#127919;</h2><p>Even in verification,</p><ul><li><p>Memory test passes</p></li></ul><h2>The Ethics Corner &#127919;</h2><p>Even in verification, we think about bias:</p><ul><li><p>Are we assuming everyone has the same computing power?</p></li><li><p>How can we make our code more accessible?</p></li><li><p>What about users with different hardware?</p></li></ul><h2>What's Next? &#128640;</h2><p>Now that we know our kitchen is ready, next time we'll start cooking - I mean, training our model! Make sure everything passes these checks before then!</p><h2>Share Your Experience! &#128173;</h2><p>Drop a comment with:</p><ul><li><p>Your verification results</p></li><li><p>Any weird errors you hit</p></li><li><p>Tips for others setting up</p></li><li><p>Questions about anything unclear</p></li></ul><p>Remember, we're all learning together! No such thing as a silly question in this kitchen! &#129489;&#8205;&#127859;</p><p>#BuildInPublic #MachineLearning #AppleSilicon #AIverification</p><p>P.S. If verify.py shows any errors, don't panic! Drop a comment with the error message, and let's debug together! &#128736;&#65039;</p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;3d831389-d738-43cb-b43e-7bdf63401ce8&quot;,&quot;caption&quot;:&quot;Hey there, fellow Alchemists ! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;lg&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;From Training to Action: Making Our AI Work in the Real World&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-05T04:43:01.458Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/from-training-to-action-making-our&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:152250723,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;6a3b6f3d-b286-4d2b-85cb-25b681de7a6c&quot;,&quot;caption&quot;:&quot;Hey there, AI explorers! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;lg&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Let's Try to Trick Our AI (and Learn From It)! Building in Public: &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-17T20:32:26.084Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/lets-try-to-trick-our-ai-and-learn&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:152608297,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[Teaching AI to Spot Harmful Content: A Journey into Unsupervised Learning]]></title><description><![CDATA[Building in Public: Part 1 - Setting Up Our Training Pipeline for Content Detection]]></description><link>https://digitalalchemylabs.com/p/teaching-ai-to-spot-harmful-content</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/teaching-ai-to-spot-harmful-content</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Fri, 01 Nov 2024 04:07:46 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!nOVt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nOVt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nOVt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nOVt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nOVt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nOVt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nOVt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg" width="1456" height="823" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:823,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1381995,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nOVt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 424w, https://substackcdn.com/image/fetch/$s_!nOVt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 848w, https://substackcdn.com/image/fetch/$s_!nOVt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!nOVt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62093b0f-1019-45ab-b13b-b84438506505_2428x1372.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Hey there, curious minds! &#128075;</p><p>Welcome to the first installment of my "<strong>Building in Public</strong>" series. While everyone's chatting about ChatGPT writing poems and DALL-E creating art, I'm taking you behind the scenes of building something different - an AI system that helps identify harmful content. I'm documenting every step, every challenge, and every "aha!" moment as part of the <a href="https://www.humane-intelligence.org/bias-bounty-challenge-2">Bias Bounty 2 challenge by Humane Intelligence x Revontulet.</a></p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>Why Understanding AI Bias Matters for Everyone &#127757;</h2><p>Let's have a real talk about AI bias and explainability. It's not just a technical problem - it's a societal challenge that affects all of us. Think about it:</p><ul><li><p><strong>Your loan application might be processed by AI</strong></p></li><li><p><strong>Job applications often go through AI screening</strong></p></li><li><p><strong>Social media content is moderated by AI</strong></p></li><li><p><strong>Healthcare diagnoses are increasingly aided by AI</strong></p></li></ul><p>Every single one of these systems can have biases, and these biases affect real people's lives. But here's the thing: you don't need to be a programmer to be part of the solution.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h3>Finding Your Place in the AI Revolution &#128269;</h3><p>There are many ways to contribute to better, more ethical AI:</p><ol><li><p><strong>Business Leaders</strong>: Understanding AI bias helps make better decisions about implementing AI systems</p></li><li><p><strong>Product Managers</strong>: Knowing about AI explainability helps design better user experiences</p></li><li><p><strong>Content Creators</strong>: Understanding how AI moderates content helps create better, inclusive content</p></li><li><p><strong>Policy Makers</strong>: Grasping AI bias helps create better regulations</p></li><li><p><strong>Users</strong>: Being aware of AI bias helps us better navigate and question the systems we interact with daily.</p></li></ol><p></p><h2>What Does "Building in Public" Mean? &#129300;</h2><p>Imagine if a chef not only served you the final dish but also:</p><ul><li><p>Showed you their grocery shopping list</p></li><li><p>Let you watch them chop every vegetable</p></li><li><p>Explained why they chose certain ingredients</p></li><li><p>Shared when they burned the first batch</p></li></ul><p></p><p><strong>That's what we're doing here with AI! I'm sharing:</strong></p><ul><li><p>Every line of code (even the messy first drafts)</p></li><li><p>The thinking behind each decision</p></li><li><p>The dead ends and failed attempts</p></li><li><p>The successful breakthroughs</p></li></ul><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Digital Alchemy Lab is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p></p><h2>The Technical Journey Begins &#128640;</h2><p>Now, let's roll up our sleeves and look at how we're actually building this. We're using Python and focusing on Apple Silicon Macs - but don't worry if you have different hardware, I'll cover alternatives in future posts.</p><h3>Our Toolkit &#128736;&#65039;</h3><p>First, let's look at our training script (<a href="https://gist.github.com/devonartis/a9dd591cd859f3c8c391eb15daafa74f">train.py</a>):</p><h6><strong>python</strong></h6><pre><code>"""
Training script for hate content detection model
"""
import tensorflow as tf
from utils import ImageProcessor, SimpleMetalKMeans

def train():
    """Main training function"""
    print("Starting hate content detection model training...")
    
    # Print TensorFlow device info
    physical_devices = tf.config.list_physical_devices('GPU')
    print("Available devices:", physical_devices)</code></pre><p><strong>Think of this as setting up our kitchen before cooking. We're:</strong></p><ol><li><p>Importing our tools (TensorFlow and custom utilities)</p></li><li><p>Checking if we have our high-speed processor (GPU) available</p></li></ol><h3>The Image Processor: Our Digital Photo Assistant &#128248;</h3><h6><em>python</em></h6><pre><code># Initialize processor
processor = ImageProcessor()

# Load and process training data
print("\nLoading training data...")
train_folder = './Training_data'
train_images, train_ids = processor.load_images(train_folder)</code></pre><p><strong>What's happening here? Imagine you're preparing photos for a digital album:</strong></p><ol><li><p>The ImageProcessor is like your helpful assistant</p></li><li><p>It takes each image and:</p><ul><li><p>Resizes it to 64x64 pixels (like making sure all your photos are the same size)</p></li><li><p>Converts it to the right color format</p></li><li><p>Uses multiple workers (like having several assistants helping at once)</p></li></ul></li></ol><p></p><h3>The Brain of the Operation:<a href="https://obada-khalili.medium.com/k-means-clustering-for-dummies-3c5c8282747e"> K-means Clustering </a>&#129504;</h3><p></p><pre><code># Initialize and train model
print("\nInitializing model...")
model = SimpleMetalKMeans(
    n_clusters=2,  # Binary classification: harmful vs non-harmful
    random_state=42,  # For reproducibility
    batch_size=1024  # Efficient processing
)</code></pre><p><strong>This is where bias considerations become crucial. We're making important decisions:</strong></p><ul><li><p>n_clusters=2: We're creating a binary classification system. Is this oversimplifying complex content?</p></li><li><p>random_state=42: Ensures our results are reproducible and auditable</p></li><li><p>batch_size=1024: Balances processing speed with memory usage</p></li></ul><h3>The Training Process &#128218;</h3><pre><code># Preprocess data
print("\nPreprocessing training data...")
train_data = train_images.reshape(train_images.shape[0], -1) / 255.0
print(f"Training data shape: {train_data.shape}")

# Train the model
print("\nTraining model...")
model.fit(train_data)

# Save the trained model
print("\nSaving model...")
model.save()</code></pre><p><strong>Let's break this down:</strong></p><ol><li><p>We flatten and normalize our images (making them easier for the AI to process)</p></li><li><p>We let the model learn patterns</p></li><li><p>We save our trained model for future use</p></li></ol><p></p><h2><strong>Processing Test Data and Saving Results &#128202;</strong></h2><pre><code># Process test data
print("\nProcessing test data...")
test_folder = './Test_data'
test_images, test_ids = processor.load_images(test_folder)
test_data = test_images.reshape(test_images.shape[0], -1) / 255.0

# Make predictions
print("\nMaking predictions...")
predictions = model.predict(test_data)

# Save results
results_df = pd.DataFrame({
    'image_id': test_ids,
    'prediction': predictions
})
results_df.to_csv('predictions.csv', index=False)</code></pre><p>This final stage shows us how our model performs. Every prediction it makes could affect content moderation decisions, so transparency is crucial.</p><h2>The Bigger Picture: Why This Matters for Bias &#127919;</h2><p>Each technical decision we've made has implications for bias and fairness:</p><ol><li><p><strong>Image Processing</strong>: Are we losing important cultural context by resizing images?</p></li><li><p><strong>Binary Classification</strong>: Does categorizing content as simply "harmful" or "not harmful" miss important nuances?</p></li><li><p><strong>Unsupervised Learning</strong>: How do we ensure our model isn't learning problematic patterns?</p></li></ol><p></p><h2>Join the Conversation! &#128173;</h2><p><strong>Whether you're a:</strong></p><ul><li><p>Developer eager to write better AI systems</p></li><li><p>Product manager wanting to understand AI capabilities</p></li><li><p>Business leader looking to implement AI responsibly</p></li><li><p>Concerned citizen interested in AI ethics</p></li></ul><p><strong>Your perspective matters in making AI better for everyone.</strong></p><p></p><p><strong>Share your thoughts:</strong></p><ul><li><p>How does AI bias affect your field?</p></li><li><p>What aspects of AI explainability interest you most?</p></li><li><p>What questions do you have about building ethical AI systems?</p></li></ul><h3><em><strong><a href="https://gist.github.com/devonartis/a308e0afb96b2daa4ca1a429bda1432f">Download the code for this article</a> </strong></em></h3><p><a href="https://gist.github.com/devonartis/a9dd591cd859f3c8c391eb15daafa74f">Download README.md</a> </p><p></p><p><em><strong>P.S. If you found this helpful, share it with someone who might be interested in understanding AI's impact on society! &#128588;</strong></em></p><p></p><p>Read the rest of the articles </p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;4d7be7d4-3f77-4f98-b8bf-ed05c04d4f29&quot;,&quot;caption&quot;:&quot;Hey there, Alchemists! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Making Sure Everything's Ready: Your AI Setup Checklist&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-11-09T00:51:01.296Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Feba41e7b-9468-4276-bb0e-8b20784a792e_2944x1664.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/making-sure-everythings-ready-your&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:151400763,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:4,&quot;comment_count&quot;:1,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;a4eeb85c-a07a-4993-8253-b2c9036723f6&quot;,&quot;caption&quot;:&quot;Hey there, fellow Alchemists ! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;From Training to Action: Making Our AI Work in the Real World&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-05T04:43:01.458Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd9fc7a-7403-4506-9c98-328d898e4054_2208x1248.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/from-training-to-action-making-our&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:152250723,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;fd84f800-bdaa-4a24-a132-3e45e37f81ab&quot;,&quot;caption&quot;:&quot;Hey there, AI explorers! &#128075;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Let's Try to Trick Our AI (and Learn From It)! Building in Public: &quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-12-17T20:32:26.084Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F20267681-70f4-49b5-8e4e-cd92be1803e3_1792x1008.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/lets-try-to-trick-our-ai-and-learn&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:152608297,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:true,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div>]]></content:encoded></item><item><title><![CDATA[AWS AI Practitioner Beta Exam: The AI Certification That Wasn't]]></title><description><![CDATA[When a "Beginner-Friendly" Exam Turns Into a ML Obstacle Course]]></description><link>https://digitalalchemylabs.com/p/aws-ai-practitioner-beta-exam-the</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/aws-ai-practitioner-beta-exam-the</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Wed, 02 Oct 2024 16:01:52 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!5qB2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5qB2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5qB2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5qB2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5qB2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5qB2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5qB2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg" width="1066" height="538" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:538,&quot;width&quot;:1066,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:55528,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5qB2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 424w, https://substackcdn.com/image/fetch/$s_!5qB2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 848w, https://substackcdn.com/image/fetch/$s_!5qB2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!5qB2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc5fad46-75d8-4e02-8c9e-518e7c89436a_1066x538.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey there, Digital Alchemy Lab community!</p><p>I've been a bit quiet lately, and I wanted to let you know why. I've been busy preparing for and taking the <a href="https://aws.amazon.com/certification/certified-ai-practitioner/">AWS Beta AI Practitioner exam</a>. It's been quite an experience, and I'm excited to share it with you.</p><p></p><h2>Why I Decided to Take This Exam</h2><p>As someone working in Cloud Security and AI Security, I saw this exam as a chance to:</p><ol><li><p>Deepen my understanding of AI fundamentals and how AI systems work. After all, to secure something effectively, you need to understand it inside and out.</p></li><li><p>Get a broader perspective on AI applications in AWS, which could help me anticipate and address future security challenges.</p></li></ol><p>I've been working with AWS since 2016 and have taken beta exams before. I thought I knew what I was getting into. Turns out, I was in for a surprise.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h2>What I Expected vs. What I Got</h2><p><a href="https://aws.amazon.com/certification/certified-ai-practitioner/">AWS describes this exam</a> as suitable for people who are "familiar with, but don't necessarily build, solutions using AI/ML technologies on AWS." They're targeting business analysts, IT support, marketing professionals, and managers.</p><p>Based on that, I expected questions testing a broad but not too deep understanding of AI/ML concepts and their AWS applications. What I got was quite different.</p><p></p><h2>The Reality of the Exam</h2><p>The exam had 85 questions and covered a lot more ground than I anticipated:</p><ol><li><p><strong>Unexpected Technical Depth</strong>: Questions dug into areas like model performance, AWS service configurations, and optimization techniques. Even with my tech background, I found it challenging.</p></li><li><p><strong>Broad AWS Service Knowledge</strong>: You needed to know a wide range of AWS services to answer the scenario-based questions.</p></li><li><p><strong>Advanced ML Concepts</strong>: The exam covered topics like precision, recall, F1 score, BERTScore, and ROUGE in detail.</p></li><li><p><strong>Heavy Focus on LLMs</strong>: A big part of the exam was about Large Language Models - when to use them, their limitations, and how to choose the right approach.</p></li><li><p><strong>Retrieval Augmented Generation (RAG)</strong>: There were questions on understanding RAG, comparing it with fine-tuning, and knowing when to use it.</p></li><li><p><strong>Prompt Engineering</strong>: This was a major focus, with questions on techniques and best practices.</p></li><li><p><strong>Some Security Questions</strong>: While not a major part, there were questions on prompt injection, adversarial attacks in LLMs, and AI security best practices.</p></li></ol><p></p><h2>Who Should Really Take This Exam?</h2><p>After going through this exam, I have a different view on who it's suitable for:</p><ul><li><p><strong>Junior ML Practitioners:</strong> This group is probably best positioned to tackle this exam. They have the technical background to understand the concepts but might find the AWS-specific implementations challenging.</p></li><li><p><strong>Experienced ML Practitioners:</strong> While they might find some parts easy, the focus on AWS-specific implementations could present some challenges.</p></li><li><p><strong>Cloud Architects or DevOps Engineers with ML knowledge:</strong> Their AWS expertise would be valuable, but they'd need solid understanding of ML concepts too.</p></li><li><p><strong>Business and Non-Technical Roles:</strong> Despite AWS targeting this group, I found the exam far too technical for those without a strong ML background. It would be extremely challenging for most people in these roles.</p></li></ul><h2>What to Focus On If You're Taking This Exam</h2><p>If you're thinking about taking this exam, here's what I'd suggest focusing on:</p><ol><li><p><strong>AWS AI/ML Services:</strong> Really understand services like Rekognition, Comprehend, Transcribe, Amazon Bedrock, and SageMaker.</p></li><li><p><strong>LLMs and RAG:</strong> Know the principles and when to use them.</p></li><li><p><strong>Prompt Engineering:</strong> Be ready to discuss different techniques and their uses.</p></li><li><p><strong>Model Evaluation Metrics:</strong> Get familiar with BERTScore, ROUGE, precision, recall, and F1 score.</p></li><li><p><strong>Machine Learning Basics:</strong> Understand how to apply supervised and unsupervised models in real situations.</p></li><li><p><strong>Bias and Ethics:</strong> Know how to spot and manage bias, and understand the ethical side of AI tools.</p></li><li><p><strong>Performance Improvement:</strong> Be prepared to talk about RAG, Prompt Engineering, and Fine-Tuning.</p></li><li><p><strong>AI/ML Security:</strong> While it's not a huge part, know about prompt injection and adversarial attacks.</p></li></ol><h2>My Thoughts</h2><p>This was one of the toughest AWS exams I've taken, but not for the reasons you might expect. The mix of broad AWS knowledge and technical depth wasn't what I expected, especially for an exam that's supposed to be for non-technical roles.</p><p><a href="https://www.credly.com/badges/8109af6d-8d07-47f0-8229-65ebd02c35f2/public_url">I passed</a> but it made me wonder if the exam is really aligned with what AWS says it's for. It's somewhere between a high-level business exam and a technical specialist certification, leaning more towards the technical side.</p><p>If you're thinking about taking this exam, be ready for a more technical challenge than you might expect. Even if you know AWS well, you'll run into ML-specific concepts that might push you.</p><p>Have any of you had similar surprises with tech certifications? I'd love to hear about your experiences in the comments.</p><p>Remember, in our fast-changing tech world, staying curious and always learning is key. Keep experimenting, keep learning, and keep turning your knowledge into practical skills.</p><p>Until next time, happy learning!</p><p></p><p></p>]]></content:encoded></item><item><title><![CDATA[AI-Powered Studying: Your Personal Tutor, Available 24/7]]></title><description><![CDATA[Transforming Questions into Interactive Learning Experiences]]></description><link>https://digitalalchemylabs.com/p/ai-powered-studying-your-personal</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/ai-powered-studying-your-personal</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Sun, 15 Sep 2024 15:22:26 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Vdpt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Vdpt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Vdpt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 424w, https://substackcdn.com/image/fetch/$s_!Vdpt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 848w, https://substackcdn.com/image/fetch/$s_!Vdpt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 1272w, https://substackcdn.com/image/fetch/$s_!Vdpt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Vdpt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png" width="1456" height="816" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:816,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1998222,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Vdpt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 424w, https://substackcdn.com/image/fetch/$s_!Vdpt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 848w, https://substackcdn.com/image/fetch/$s_!Vdpt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 1272w, https://substackcdn.com/image/fetch/$s_!Vdpt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe73ddb71-6391-46ef-ba7d-8f862aabb237_1456x816.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p><strong>How can we transform our AI-generated questions into an interactive, adaptive study experience?</strong></p><p>In our last post, we unlocked the power of <a href="https://digitalalchemylabs.com/p/mastering-exam-prep-let-ai-guide">AI to create custom quiz questions</a>. Now, it's time to take those questions and turn them into a dynamic, personalized study session. </p><p></p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;8e03cb31-1a9e-4e18-8fb7-1cd205b831de&quot;,&quot;caption&quot;:&quot;&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Mastering Exam Prep: Let AI Guide Your Study Sessions&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bd7f5e9a-9a90-4e3b-b759-632150faac97_1499x1247.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-09-08T13:31:21.948Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/mastering-exam-prep-let-ai-guide&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:148599500,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:1,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>Imagine having a tireless tutor, available 24/7, that adapts to your learning style and helps you conquer any subject. </p><p>That's exactly what we're about to create!</p><p></p><h3><strong>The Moment of Inspiration Strikes Again</strong></h3><p>Remember how we used AI to generate those tailored quiz questions? Well, as I was reviewing them, another lightbulb moment hit me. </p><p>I thought, "What if we could make these questions come alive? What if we could create an AI study buddy that doesn't just ask questions, but guides us through the learning process?"</p><p>And just like that, the idea for an AI-powered Study Assistant was born.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h3><strong>Bringing the Study Assistant to Life</strong></h3><p>So, how does this magical Study Assistant work? Let me break it down for you:</p><ol><li><p><strong>Setup</strong>: You start by feeding your study material into the AI. <a href="https://digitalalchemylabs.com/p/mastering-exam-prep-let-ai-guide">This could be the questions we generated in Part 1</a>, or any other content you want to learn.</p></li><li><p><strong>Choose Your Mode</strong>: The assistant offers two modes:</p><ul><li><p><strong>Study Mode</strong>: Perfect for when you're first learning a topic or need a thorough review.</p></li><li><p><strong>Quiz Mode</strong>: Great for testing your knowledge and identifying weak spots.</p></li></ul></li><li><p><strong>Interactive Learning</strong>: In both modes, the AI doesn't just ask questions - it explains concepts, provides feedback, and even asks you to summarize key points in your own words.</p></li><li><p><strong>Question Flagging</strong>: In Quiz Mode, you rate your confidence after each question. The AI flags questions you struggle with for later review.</p></li><li><p><strong>Customization</strong>: You can add your own questions on the fly, making the study session truly your own.</p></li></ol><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h3><strong>Let's See It in Action</strong></h3><p>Imagine you're studying for that AWS AI Practitioner Beta exam we mentioned in Part 1. Here's how a session with your AI Study Assistant might go:</p><ol><li><p>You start in <strong>Study Mode</strong>:</p><ul><li><p><strong>AI:</strong> "What are the key components of Amazon SageMaker?"</p></li><li><p><strong>You:</strong> (think about it) "Show Answer"</p></li><li><p><strong>AI:</strong> (provides answer and detailed explanation)</p></li><li><p><strong>AI:</strong> "Would you like to move to the next question, review this one, or add your own?"</p></li></ul></li><li><p>You switch to Quiz Mode:</p><ul><li><p><strong>AI:</strong> "Explain the difference between Amazon Rekognition and Amazon Textract."</p></li><li><p><strong>You:</strong> (provide your answer)</p></li><li><p><strong>AI:</strong> (evaluates your answer, provides feedback)</p></li><li><p><strong>AI:</strong> "Now, summarize this concept in your own words."</p></li><li><p><strong>AI:</strong> "Rate your confidence in this answer from 1-5."</p></li></ul></li><li><p>The AI flags this question for later review, as you rated your confidence low.</p></li><li><p>You remember a tricky concept from your readings and decide to add it:</p><ul><li><p><strong>You:</strong> "Add Question"</p></li><li><p><strong>AI:</strong> "Great! What's your question?"</p></li><li><p><strong>You:</strong> (input your question, answer, and explanation)</p></li><li><p><strong>AI:</strong> "Thanks! I've added this to our study session."</p></li></ul></li></ol><p></p><h3><strong>Why This Works</strong></h3><p>This approach isn't just about memorizing facts - it's about truly understanding and retaining information. Here's why it's so effective:</p><ol><li><p><strong>Active Recall</strong>: By quizzing you and asking for explanations, the AI forces you to actively recall information, which strengthens memory.</p></li><li><p><strong>Self-Assessment</strong>: Rating your confidence helps you become more aware of your own understanding, a key skill for effective learning.</p></li><li><p><strong>Metacognition</strong>: Rating your confidence helps you become more aware of your own understanding, a key skill for effective learning.</p></li><li><p><strong>Personalization</strong>: By adapting to your performance and allowing you to add questions, the study session becomes tailored to your needs.</p></li><li><p><strong>Immediate Feedback</strong>: You get instant explanations and corrections, preventing the reinforcement of incorrect information.</p></li></ol><p></p><h3><strong>Ready to Try It Yourself?</strong></h3><p>Excited to create your own AI Study Assistant? Here's the prompt that brings it to life. Just input this into your preferred AI model, and you're ready to start your personalized study journey:</p><p></p><div><hr></div><p><strong>Quiz/Flash Creator Prompt</strong></p><div><hr></div><p></p>
      <p>
          <a href="https://digitalalchemylabs.com/p/ai-powered-studying-your-personal">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Mastering Exam Prep: Let AI Guide Your Study Sessions]]></title><description><![CDATA[Create Study Questions from Any Content and Crush Your Exam Prep]]></description><link>https://digitalalchemylabs.com/p/mastering-exam-prep-let-ai-guide</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/mastering-exam-prep-let-ai-guide</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Sun, 08 Sep 2024 13:31:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!l6hb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!l6hb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!l6hb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 424w, https://substackcdn.com/image/fetch/$s_!l6hb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 848w, https://substackcdn.com/image/fetch/$s_!l6hb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!l6hb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!l6hb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg" width="1376" height="768" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:768,&quot;width&quot;:1376,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:867393,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!l6hb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 424w, https://substackcdn.com/image/fetch/$s_!l6hb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 848w, https://substackcdn.com/image/fetch/$s_!l6hb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!l6hb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcd4f7000-8ef2-443a-aecc-cb0586d680f5_1376x768.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Image Credit - Leonardo.ai</figcaption></figure></div><div><hr></div><p><strong>Day 8 of the 15-Day Writing Challenge</strong></p><p><em><strong>&#127942; &#8220;</strong>I had to make my own living and my own opportunity! But I made it! Don&#8217;t sit down and wait for the opportunities to come. Get up and make them.&#8221; &#8212; Madam C</em>.J. Walker</p><div><hr></div><p><strong>How do you turn the chaos of exam preparation into a structured path to success?</strong></p><p>It started out just like any other study session&#8212;just me, my coffee and the task of preparing for the <a href="https://aws.amazon.com/certification/certified-ai-practitioner/">AWS AI Practitioner Beta exam</a>. (If you're not in the tech world, AWS is <a href="https://aws.amazon.com/">Amazon Web Services</a> - but I bet most of you already knew that!)</p><p>If you've ever taken one of these exams, you know what it's like. Tons of reading, trying to make sure what you're studying matches up with the exam guide, and wondering if you're actually remembering the right stuff.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><p>Then the practice exams, these are indispensable as it give you some idea of what you know but one of the things I have seen throughout the years, practices exams normally help you remember someone elses brain dump but not your own brain dump. </p><p>As the studying day went on, I decided to take a break &#8230;</p><p>This is where things got interesting.</p><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/subscribe?"><span>Subscribe now</span></a></p><p></p><h3><strong>The Moment Inspiration Struck</strong></h3><p></p><p>During my study break, I thought, "Why not write some prompts and play with ChatGPT for a bit?" Let's be honest&#8212;it was just another creative way to procrastinate on my studies.</p><p>And then it hit me&#8212;why not let AI do some of the heavy lifting? I mean, I'm studying AI, so why not use it to help me study <em>for</em> AI?</p><p>I thought, "What if I could use AI to create flashcards or quiz questions from all the notes I've taken and other related content?"</p><p>Just like that, the idea took off. I had the tools right there, so why not put them to work?</p><p>Now all I needed was the prompt&#8212;something flexible enough to work not just for this study session, but for anything I might study, no matter the subject.</p><p>And that's how this nifty little prompt came to life.</p><p>This powerhouse could generate study questions for any subject. It didn't matter what you were learning&#8212;as long as you had the content, this prompt could handle it all.</p><p>Now, you're probably wondering how this works, right? Don't worry, I've got you covered with a step-by-step guide.</p><p></p><div><hr></div><h3>Step-by-Step: How to Create Your Own Study Questions with AI</h3><p></p><p>Here&#8217;s a simple guide on how you can use AI to create custom quiz or flashcard questions, whether you&#8217;re studying for an exam, learning a new topic, or just trying to retain information better. Let&#8217;s break it down.</p><p></p><p><strong>Step 1: Start with Your Study Content</strong><br>First, gather the material you want to study. This could be:</p><ul><li><p>Text from a textbook</p></li><li><p>Lecture notes</p></li><li><p>An article or even content from a Wikipedia page</p></li></ul><p>Having solid, well-organized content is key because the AI will use this to generate meaningful questions.</p><div><hr></div><p><strong>Step 2: Use the AI Prompt</strong><br>Now that you&#8217;ve got your material, you&#8217;ll need to input it into the AI along with the <strong>provided prompt</strong>. The AI will guide you through the rest by asking for two things:</p><ol><li><p><strong>How many questions you want</strong> (for example, 10 or 20).</p></li><li><p><strong>The content you want to use</strong> (paste the text or upload the material).</p></li></ol><p>If you forget to give either piece of information, the AI will prompt you for it.</p><div><hr></div><p><strong>Step 3: Choose Your Question Type</strong><br>Once you&#8217;ve provided the material and the number of questions, the AI will ask you to select the type of questions you want:</p><ul><li><p><strong>Multiple Choice</strong>: Great for straightforward recall and concept testing.</p></li><li><p><strong>Case Study/Use Case</strong>: Ideal for problem-solving and scenario-based questions.</p></li></ul><p>You can decide what works best for your needs.</p><div><hr></div><p><strong>Step 4: Review the Generated Questions</strong><br>After you&#8217;ve made your choices, the AI will generate the questions. Here&#8217;s how it works:</p><p>For <strong>multiple-choice questions</strong>:</p><ul><li><p>The AI will give you several answer options, including distractors (wrong answers).</p></li><li><p>It will clearly indicate the correct answer(s) and provide explanations for both correct and incorrect answers.</p></li><li><p>If there are multiple correct answers, the AI will tell you exactly how many you need to pick (e.g., "Select 3 correct answers").</p></li></ul><p>For <strong>case study or use case questions</strong>:</p><ul><li><p><strong>Multi-Step Approach</strong>: The AI will break down a scenario into several decision points. After each decision, it will explain why certain choices were correct and why others were not.</p></li><li><p><strong>Single-Step Approach</strong>: For simpler cases, the AI will present the problem in one step. You choose the best solution, and the AI will explain the reasoning behind your choice.</p></li></ul><div><hr></div><p><strong>Step 5: Study and Learn</strong><br>Now that you have your questions, it&#8217;s time to study! Each question comes with detailed answers and explanations, so you&#8217;re not just memorizing&#8212;you&#8217;re actively learning.</p><p>This is just the beginning, though. In the next part, I'll introduce another prompt that takes this concept even further. It works with the questions we've generated to create an interactive study guide or exam prep tool. Think AI-powered flashcards and quizzes based on these questions.</p><p>Keep an eye out for part two &#8211; it's where we'll really see what this AI study method can do.</p><h5><em><strong>Pro tip</strong>: Try this method with different AI models to see which gives you the most helpful results for your specific needs.</em></h5><p></p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/leaderboard?&amp;utm_source=post&quot;,&quot;text&quot;:&quot;Refer a friend&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://digitalalchemylabs.com/leaderboard?&amp;utm_source=post"><span>Refer a friend</span></a></p><div><hr></div><h4>Quiz Question Generator Prompt </h4><div><hr></div><pre><code>**Instructions:** Please generate quiz/flashcard questions based on the provided content. Always ask the user to specify the number of questions and provide the content to create questions from before generating any quiz content. If the user does not provide the number of questions or the content, prompt them for this information before proceeding.

Once the necessary information is provided:

- Ask the user for the desired question types (e.g., multiple response, use case-based, multiple choice).
- For multiple-choice questions, present several answer options, including distractors, and indicate the correct answer(s). Ensure that each question includes the correct answer(s), the possible answer choices, and a detailed explanation. Also, provide clear and direct instructions on how to answer the questions and what is expected from the user.

For **case study** or **use case** questions, determine whether the scenario should be broken down into multiple steps or handled as a single decision point.

- **Multi-Step Approach:** Break down the scenario into multiple decision points. For each step, present several options. After the user has made their selections, provide a detailed explanation that justifies the correct choices and explains why the other options are less suitable.

- **Single-Step Approach:** Present the entire problem as a single decision point with multiple possible approaches. After the user selects an option, provide a deep explanation, highlighting why the chosen option is correct and why the others are incorrect.

For **multiple-choice questions:** If there are multiple correct answers, clearly state the exact number of correct answers expected (e.g., "Select 3 correct answers"). Do not use phrases like "Select all that apply." Ensure that the explanation for each question includes:

- A clear breakdown of why each correct answer is correct.
- A detailed explanation of why each incorrect answer is wrong.

**Important:** The entire output must be formatted in markdown and enclosed within a code block.

**Content to Create Questions From:**
[User-provided content here]

**Expected Output:**
```markdown
1. **Question:** [Your generated question here]
   - **Instructions:** [Clear and direct instructions on how to answer the question, including the exact number of correct choices]
   - **Choices:**
     a. Option 1
     b. Option 2
     c. Option 3
   - **Answer:** [Correct answer(s)]
   - **Explanation:**
     - **Option a:** [Explanation of why this option is correct or incorrect.]
     - **Option b:** [Explanation of why this option is correct or incorrect.]
     - **Option c:** [Explanation of why this option is correct or incorrect.]

[Continue in the same format for the desired number of questions]</code></pre>]]></content:encoded></item><item><title><![CDATA[Unlocking the Power of AI: Chain of Thought vs. Thought Generation Prompts]]></title><description><![CDATA[Lesson 5]]></description><link>https://digitalalchemylabs.com/p/unlocking-the-power-of-ai-chain-of</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/unlocking-the-power-of-ai-chain-of</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Fri, 02 Aug 2024 09:09:16 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!G0vI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!G0vI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!G0vI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 424w, https://substackcdn.com/image/fetch/$s_!G0vI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 848w, https://substackcdn.com/image/fetch/$s_!G0vI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!G0vI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!G0vI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg" width="1152" height="640" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:640,&quot;width&quot;:1152,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Chain Of Thought Prompting&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Chain Of Thought Prompting" title="Chain Of Thought Prompting" srcset="https://substackcdn.com/image/fetch/$s_!G0vI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 424w, https://substackcdn.com/image/fetch/$s_!G0vI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 848w, https://substackcdn.com/image/fetch/$s_!G0vI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!G0vI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5934b229-cda6-45ba-bb33-27419de4c0cb_1152x640.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><p><em><strong>Today, I'm sharing something special with all of you&#8212;a glimpse into our exclusive mini-prompt course typically reserved for our paid subscribers.  </strong></em></p><p><em><strong>Enjoy this complimentary lesson, and if you love it, consider joining our community for more !</strong></em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption"></p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>
      <p>
          <a href="https://digitalalchemylabs.com/p/unlocking-the-power-of-ai-chain-of">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Mastering Few-Shot Prompting: Your First Steps]]></title><description><![CDATA[Lesson 4 - Learn How to Guide AI with Examples and Improve Your Results]]></description><link>https://digitalalchemylabs.com/p/mastering-few-shot-prompting-your</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/mastering-few-shot-prompting-your</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 23 Jul 2024 15:15:20 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!EVym!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!EVym!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!EVym!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EVym!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EVym!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EVym!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!EVym!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg" width="646" height="358.8888888888889" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:640,&quot;width&quot;:1152,&quot;resizeWidth&quot;:646,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!EVym!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 424w, https://substackcdn.com/image/fetch/$s_!EVym!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 848w, https://substackcdn.com/image/fetch/$s_!EVym!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!EVym!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F07512057-0bba-45f7-b4aa-f73f43e10b92_1152x640.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption"></figcaption></figure></div><p></p><p>Hey, Digital Alchemists ! &#127775;</p><p>Last time, we dove into the fundamentals of Prompting and how it can help you transform your interactions with tools like ChatGPT, Claude, and other LLMs. We explored what prompts are, learned key terms like prompt engineering and templates, and took a very short journey through the history of prompts.</p><div class="digest-post-embed" data-attrs="{&quot;nodeId&quot;:&quot;f6bd7b40-9137-4605-93e7-6bb7f6845f69&quot;,&quot;caption&quot;:&quot;Let's Talk Prompts: Unlocking the Magic of AI Hey friends and digital alchemists! Let&#8217;s dive into something super cool today&#8212;AI prompts. Whether you're running a local business, looking for a job, or just starting with ChatGPT, understanding prompts can make a huge difference.&quot;,&quot;cta&quot;:null,&quot;showBylines&quot;:true,&quot;size&quot;:&quot;sm&quot;,&quot;isEditorNode&quot;:true,&quot;title&quot;:&quot;Harnessing AI Brilliance: Unveiling the Power of Prompts&quot;,&quot;publishedBylines&quot;:[{&quot;id&quot;:28514498,&quot;name&quot;:&quot;Devon Artis&quot;,&quot;bio&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b581300-460c-467a-99ad-59283e023705_800x800.jpeg&quot;,&quot;is_guest&quot;:false,&quot;bestseller_tier&quot;:null}],&quot;post_date&quot;:&quot;2024-07-17T12:43:57.624Z&quot;,&quot;cover_image&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92310c11-b4f7-481a-821e-23d0d6c39382_1024x1024.webp&quot;,&quot;cover_image_alt&quot;:null,&quot;canonical_url&quot;:&quot;https://digitalalchemylabs.com/p/harnessing-ai-brilliance-unveiling&quot;,&quot;section_name&quot;:&quot;AI Chronicles&quot;,&quot;video_upload_id&quot;:null,&quot;id&quot;:146711699,&quot;type&quot;:&quot;newsletter&quot;,&quot;reaction_count&quot;:0,&quot;comment_count&quot;:0,&quot;publication_id&quot;:null,&quot;publication_name&quot;:&quot;Digital Alchemy Lab&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd43fb614-d699-4d15-9f3a-a1650566bd9a_1200x1200.png&quot;,&quot;belowTheFold&quot;:false,&quot;youtube_url&quot;:null,&quot;show_links&quot;:null,&quot;feed_url&quot;:null}"></div><p>One thing I want to emphasize is that it doesn't matter whether you're a business owner, job seeker, or entrepreneur &#8211; learning AI and mastering the art of crafting effective prompts is essential for getting the best responses from tools like ChatGPT.</p><p>Now, let's get started with your lesson. One more thing: I hope you're doing your homework... lol!</p><p></p><h2>Lesson 4: Mastering In-Context Learning - How Examples Unlock AI's Potential</h2><p>In this lesson, let's talk about how to train AI to understand context better. We do this by providing it with "<em><strong>exemplars</strong></em>" which is just another name for examples, as we explained in our last post.</p><p></p><p>Think about it like this: if you owned a luxury detailing business, you wouldn't just allow anyone to start working on your clients' vehicles without some step-by-step instruction. </p><p>You might give them instructions like this:</p><ol><li><p>Assess the vehicle: Carefully inspect the boat or car to identify areas that need special attention, such as stains, scratches, or oxidation.</p></li><li><p>Start with a thorough wash: Use high-quality, pH-neutral soap and soft microfiber mitts to clean the exterior, working from top to bottom.</p></li><li><p>Dry properly: Use plush microfiber towels or an air blower to dry the surface completely, preventing water spots.</p><p></p></li></ol><p><strong>Now, here's where it gets interesting. </strong></p><p></p><div class="pullquote"><p><strong>Training an AI like ChatGPT is surprisingly similar. You can't just say, "Hey AI, clean my boat!" (Wouldn't that be nice? Scrub the deck AI!)</strong></p></div><p></p><p>Instead, you give it examples, lots of them. By providing these examples, you're essentially saying, "Hey ChatGPT, this is how I want it done." This is known as in-context or "few-shot" prompting.</p><p>Here's a practical example for a local business owner like a car detailer. Imagine you want to create a detailed service description for your website. You could use few-shot learning (or in-context learning) to help the AI understand the format and style you want.</p><p><strong>Here's a prompt you might use:</strong></p><p></p>
      <p>
          <a href="https://digitalalchemylabs.com/p/mastering-few-shot-prompting-your">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Exploring the Frontier of AI: A Million Tokens and the Road Ahead]]></title><description><![CDATA[The Gemini 1.5 Model: A Game-Changer or a Risky Bet?]]></description><link>https://digitalalchemylabs.com/p/exploring-the-frontier-of-ai-a-million</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/exploring-the-frontier-of-ai-a-million</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Tue, 23 Jul 2024 03:57:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!RwuN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!RwuN!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!RwuN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 424w, https://substackcdn.com/image/fetch/$s_!RwuN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 848w, https://substackcdn.com/image/fetch/$s_!RwuN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 1272w, https://substackcdn.com/image/fetch/$s_!RwuN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!RwuN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png" width="1456" height="816" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:816,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7618706,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!RwuN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 424w, https://substackcdn.com/image/fetch/$s_!RwuN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 848w, https://substackcdn.com/image/fetch/$s_!RwuN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 1272w, https://substackcdn.com/image/fetch/$s_!RwuN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fee1d58ae-3fcd-4dbd-87a6-4be660d4ff7f_2912x1632.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h2><strong>The Gemini 1.5 Model: A Game-Changer or a Risky Bet?</strong></h2><p>Google's latest revelation, the Gemini 1.5 model, is a game-changer with its ability to handle a whopping one million tokens. Imagine a machine that can digest the equivalent of <strong>entire libraries in a single bound.</strong></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Divine&#8217;s Digital Dialogues! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>It's groundbreaking but here's the catch&#8212;can we trust it?</p><h2><strong>The Hallucination Conundrum</strong></h2><p>See, despite their brilliance, large language models (LLMs) like Gemini 1.5 have a knack for making stuff up. <strong>Yes, they hallucinate.</strong></p><p>You give them a document to analyze and sometimes what you get back is a bit...off. This isn't just a minor hiccup when we're dealing with areas where precision is crucial&#8212;think legal documents, medical records, you name it.</p><h2><strong>A Million Tokens, a Million Questions</strong></h2><p>Now, with a million tokens at their disposal, these models can theoretically manage more complex and extended dialogues or documents. That's great for depth and continuity in conversations, kind of like having a super-smart colleague who never forgets a detail.</p><p>But here's my dilemma: how do we verify the accuracy of something that vast, It's like double-checking a whole encyclopedia.</p><h2><strong>Consistency: The Achilles' Heel of LLMs</strong></h2><p>And let's talk about consistency. Traditional software is predictable. You click, and it responds the same way every time. But LLMs?</p><p>They're a different beast. Ask the same question twice, and you might get two different answers. It's because these models are designed to think and react more like humans&#8212;which is cool but also a bit unsettling if you're looking for dependable outcomes.</p><h2><strong>The Verdict: Not Quite Ready for Prime Time</strong></h2><p>So, where does this leave us?</p><p>In conversations, having a model remember everything you've said is like having the best kind of chat buddy. But for real-world applications where mistakes can have serious consequences? We might need to pump the brakes. These technologies are promising, no doubt. However, they need to be foolproof before we can rely on them in high-stakes environments.</p><h2><strong>Conclusion: Brilliant but Unpredictable</strong></h2><p>In conclusion, while the tech is impressive, it's not quite ready for the big league&#8212;prime time, if you will. We need these tools to be both brilliant and utterly reliable. Until then, it feels a bit like rolling the dice on a tech that's still learning the ropes.</p><p>So, what's your take? Are we ready to embrace these advanced but somewhat unpredictable AI minds, or should we wait until the tech matures a bit more?</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://digitalalchemylabs.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading Divine&#8217;s Digital Dialogues! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[From Ideas to Action: How AI Prompts Can Change Your Game]]></title><description><![CDATA[Join our exclusive email course and discover how to harness AI's potential in fun and practical ways!]]></description><link>https://digitalalchemylabs.com/p/from-ideas-to-action-how-ai-prompts</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/from-ideas-to-action-how-ai-prompts</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Mon, 22 Jul 2024 11:12:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!a2S_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!a2S_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a2S_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 424w, https://substackcdn.com/image/fetch/$s_!a2S_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 848w, https://substackcdn.com/image/fetch/$s_!a2S_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 1272w, https://substackcdn.com/image/fetch/$s_!a2S_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!a2S_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png" width="1456" height="816" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/69847985-8336-464d-b15e-21159b28faf5_2912x1632.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:816,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:6651379,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!a2S_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 424w, https://substackcdn.com/image/fetch/$s_!a2S_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 848w, https://substackcdn.com/image/fetch/$s_!a2S_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 1272w, https://substackcdn.com/image/fetch/$s_!a2S_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69847985-8336-464d-b15e-21159b28faf5_2912x1632.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><h3>Hey Friends and Digital Alchemists!</h3>
      <p>
          <a href="https://digitalalchemylabs.com/p/from-ideas-to-action-how-ai-prompts">
              Read more
          </a>
      </p>
   ]]></content:encoded></item><item><title><![CDATA[Unlock Your Inner AI Wizard: Master Prompt Engineering]]></title><description><![CDATA[20 Lessons to Transform You from Novice to Pro]]></description><link>https://digitalalchemylabs.com/p/unlock-your-inner-ai-wizard-master</link><guid isPermaLink="false">https://digitalalchemylabs.com/p/unlock-your-inner-ai-wizard-master</guid><dc:creator><![CDATA[Devon Artis]]></dc:creator><pubDate>Mon, 22 Jul 2024 09:24:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!l57J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!l57J!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!l57J!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 424w, https://substackcdn.com/image/fetch/$s_!l57J!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 848w, https://substackcdn.com/image/fetch/$s_!l57J!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 1272w, https://substackcdn.com/image/fetch/$s_!l57J!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!l57J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:641246,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!l57J!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 424w, https://substackcdn.com/image/fetch/$s_!l57J!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 848w, https://substackcdn.com/image/fetch/$s_!l57J!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 1272w, https://substackcdn.com/image/fetch/$s_!l57J!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f927dbb-d8b8-43fa-a34b-6d5bce26371d_1792x1024.webp 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg role="img" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><title></title><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p></p><p>Hey there, future AI wizard! &#8205;</p><p>I know you are probably ready to take your first steps into Prompt Engineering . So this post is just the full outline of what&#8217;s to come and how the lessons will be delivered to you.</p><p>Over the next 20 lessons, we'll demystify the art of communicating with AI and show you how to create magic with your words so get ready to level up your AI game.</p><p>Remember this is an interactive course so please feel free to comment on the course contents and let me know if there is anything else I can add to make your learning experience even more awesome! &#10024;</p><p><strong>In addition to commenting on the course content, feel free to experiment with the prompts you're given!</strong> This is where the real magic happens. The more you play around and test out different phrasing, the better you'll understand how to craft the perfect prompt to get the results you desire from AI models.</p><p><strong>Get Ready to Level Up Fast!</strong> Here's how you'll receive your Prompt Engineering lessons: expect fresh content delivered 2-3 times a week, usually on Mondays, Wednesdays, and Fridays. This consistent flow of information will keep you engaged and on track for mastering prompt engineering.</p><p><strong>Remember, this is a separate mini-course!</strong> You'll still continue to receive my regular weekly newsletter posts, delivered to your inbox. Make sure you're subscribed on the Substack website or app to stay updated on all my content.</p><p></p><h3><strong>Lesson 1-3:</strong> Understanding the Basics</h3><ul><li><p>What the heck is a prompt, anyway? &#129300;</p></li><li><p>The secret language of prompts: Key terms you need to know &#128477;&#65039;</p></li><li><p>A brief history of prompts: From ancient times to AI domination &#128220;</p><p></p></li></ul><h3><strong>Lesson 4-11:</strong> Mastering Text-Based Prompting Techniques</h3><ul><li><p>The power of In-Context Learning: Teaching AI with examples &#127891;</p></li><li><p>Thought Generation: Making AI think step-by-step &#129504;</p></li><li><p>Decomposition: Breaking down complex tasks into bite-sized pieces &#129513;</p></li><li><p>Ensembling: Creating an AI super-team to tackle any challenge &#128170;</p></li><li><p>Self-Criticism: Teaching AI to critique its own work &#127912;</p></li><li><p>Prompt Engineering: Crafting the perfect prompt, every time &#9997;&#65039;</p></li><li><p>Answer Engineering: Shaping AI responses to fit your needs &#127919;</p></li></ul>
      <p>
          <a href="https://digitalalchemylabs.com/p/unlock-your-inner-ai-wizard-master">
              Read more
          </a>
      </p>
   ]]></content:encoded></item></channel></rss>