<?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"><channel><title><![CDATA[To Be Now]]></title><description><![CDATA[Exploring Generative AI, Product, and Innovation Management.]]></description><link>https://tb-now.com</link><generator>RSS for Node</generator><lastBuildDate>Sat, 09 May 2026 16:08:59 GMT</lastBuildDate><atom:link href="https://tb-now.com/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Rethinking What We Know: Gettier Problems and Humble Decision-Making]]></title><description><![CDATA[In both our professional and personal lives, we often feel confident that we know the right answer. We believe we've done the research, gathered the evidence, and reached a solid conclusion. But what if, despite this confidence, we're still wrong? No...]]></description><link>https://tb-now.com/rethinking-what-we-know-gettier-problems-and-humble-decision-making</link><guid isPermaLink="true">https://tb-now.com/rethinking-what-we-know-gettier-problems-and-humble-decision-making</guid><category><![CDATA[decision making]]></category><category><![CDATA[knowledge]]></category><category><![CDATA[Uncertainty]]></category><category><![CDATA[confidence]]></category><dc:creator><![CDATA[Thomas Belkowski]]></dc:creator><pubDate>Tue, 15 Oct 2024 13:35:04 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1728998770482/de51ea69-b75d-42b5-8327-f3987cc3f86e.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In both our professional and personal lives, we often feel confident that we know the right answer. We believe we've done the research, gathered the evidence, and reached a solid conclusion. But what if, despite this confidence, we're still wrong? Not because of a failure to think things through, but because of unseen factors we didn't account for. This uncertainty can catch us by surprise and challenge our understanding of what it really means to <em>know</em> something.</p>
<p>This is more than an abstract question. It's a real-world issue affecting everyone, from engineers to business leaders to decision-makers. It's about understanding that knowledge and certainty can be elusive and that adopting a more flexible mindset - one rooted in humility - can lead to better outcomes.</p>
<h3 id="heading-the-gettier-problem-a-new-lens-on-what-it-means-to-know-something">The Gettier Problem: A New Lens on What It Means to "Know" Something</h3>
<p>At first glance, the concept of knowledge seems straightforward: to know something, we need three things—a <strong>justified true belief</strong> (JTB). For centuries, philosophers have agreed that to <em>know</em> something, you need:</p>
<ol>
<li><p><strong>Justification</strong>: You have good reasons or evidence for your belief.</p>
</li>
<li><p><strong>Truth</strong>: The belief you hold must align with reality.</p>
</li>
<li><p><strong>Belief</strong>: You must actually hold that thought to be true.</p>
</li>
</ol>
<p>This framework is familiar to many of us, whether we realize it or not. In business, for example, we justify our decisions with data, and when those decisions lead to successful outcomes, we assume we <em>knew</em> the right answer all along. But in 1963, philosopher Edmund Gettier introduced a challenge to this view of knowledge, revealing that even when all three conditions are met, we might still be wrong.</p>
<p>Gettier showed that it's possible to hold a justified true belief and still not <em>truly</em> know something because of hidden factors or coincidences that distort our understanding. These are <strong>Gettier-like situations</strong>, where we appear to be right but only by accident. This forces us to reconsider what it means to really "know" something and introduces a critical lesson for anyone making decisions in complex environments.</p>
<h3 id="heading-real-world-application-gettier-like-situations-in-decision-making">Real-World Application: Gettier-like Situations in Decision-Making</h3>
<p>Gettier's insight is not just an academic exercise - it plays out in real-life situations, particularly in decision-making roles. Imagine this scenario:</p>
<p>You've just overseen a major product launch. Your team analyzed the market, gathered data, and made a strategic decision to emphasize a specific feature, believing it would drive new customer signups. After the launch, there was a sharp spike in new users. At first glance, it looks like your decision was spot-on. But then, you discover something unexpected: a big competitor experienced a service outage at the same time, driving users to your product by coincidence.</p>
<p>In such a case, your belief that the feature would drive signups was <strong>justified</strong>. It aligned with the outcome, making it <strong>true</strong>. But the real reason for the success was external, something you didn't predict. This is a <strong>Gettier-like situation -</strong> you were right, but not for the reasons you thought. These moments remind us that even well-founded decisions can be influenced by unseen factors, and they highlight the importance of staying open to new information and feedback.</p>
<h3 id="heading-the-pitfalls-of-certainty-why-strong-opinions-loosely-held-matters">The Pitfalls of Certainty: Why "Strong Opinions, Loosely Held" Matters</h3>
<p>When faced with uncertainty, many people turn to the idea of <strong>"strong opinions, loosely held"</strong>. This concept suggests that we should form strong, well-reasoned opinions but be willing to change them when new evidence emerges. It's a sound philosophy, but it can also be misunderstood.</p>
<p>Some take this phrase to mean that opinions can be formed quickly and dropped or shifted at the first sign of doubt. However, this approach can lead to superficial decision-making, where opinions are adopted without deep thought and changed without sufficient reason. In reality, <strong>strong opinions</strong> should be built on solid evidence, reflection, and analysis—what we might call <strong>justified true beliefs</strong>.</p>
<p>At the same time, <strong>holding opinions loosely</strong> means recognizing that even strong foundations can be flawed. The possibility of Gettier-like situations means we should remain humble, open to new data, and willing to adjust our thinking when necessary. This is the balance that "strong opinions, loosely held" seeks to strike: confidence without stubbornness, decisiveness without rigidity.</p>
<h3 id="heading-navigating-uncertainty-building-humility-into-decision-making">Navigating Uncertainty: Building Humility into Decision-Making</h3>
<p>In both work and life, decision-making often involves acting with incomplete information. Knowing everything upfront is impossible, but we can still make better choices by embracing <strong>epistemic humility</strong>, recognizing that our knowledge is always limited and that we could be wrong.</p>
<p>Here's how to apply this mindset:</p>
<ul>
<li><p><strong>Start with a Strong Foundation (JTB)</strong>: Justified true beliefs offer a practical guide for forming strong opinions. Before reaching a conclusion, ensure it's built on solid evidence, whether you're deciding on a business strategy, a technical solution, or a personal choice. But remember that, as Gettier demonstrated, even this foundation isn't foolproof.</p>
</li>
<li><p><strong>Stay Open to Contradictions (Gettier)</strong>: Once you've formed an opinion, remain open to new evidence or perspectives that might challenge it. Be ready to revisit your beliefs if circumstances change or if new data emerges that reveals hidden variables.</p>
</li>
<li><p><strong>Encourage Open Dialogue (Strong Opinions, Loosely Held)</strong>: Collaboration and feedback are vital to avoiding blind spots. Inviting others to challenge your assumptions and provide alternative viewpoints creates a richer decision-making environment. This is also where the "loosely held" part of the equation comes into play: Strong opinions are necessary to drive action, but openness to change ensures they're flexible enough to adapt when needed.</p>
</li>
</ul>
<p>This approach isn't just for leaders - it's for anyone making decisions, whether in engineering, product management, or daily life. <strong>Epistemic humility</strong> helps us navigate the unknown by keeping us open to learning and improvement, even when we think we're certain.</p>
<h3 id="heading-conclusion-leading-with-humility-and-confidence">Conclusion: Leading with Humility and Confidence</h3>
<p>The Gettier problem and the concept of "strong opinions, loosely held" teach us an important lesson about the nature of knowledge and decision-making. In a complex and unpredictable world, even the most well-reasoned decisions can be affected by factors beyond our control. By building a solid foundation for our beliefs, staying open to new evidence, and fostering open dialogue, we can navigate uncertainty with both humility and confidence.</p>
<p>Whether you're leading a team, writing code, or simply making everyday decisions, recognizing the limits of your knowledge is a strength, not a weakness. It allows you to adapt, learn, and grow - qualities that make you a better decision-maker, a better leader, and a better collaborator.</p>
]]></content:encoded></item><item><title><![CDATA[Scripting Success: Shaping Digital Personalities for Business Impact]]></title><description><![CDATA[What if I told you that every time you've imagined a conversation or envisioned how a story character might act, you've been preparing for one of the most exciting creative opportunities of our time? This fascinating intersection of creativity and te...]]></description><link>https://tb-now.com/scripting-success-shaping-digital-personalities-for-business-impact</link><guid isPermaLink="true">https://tb-now.com/scripting-success-shaping-digital-personalities-for-business-impact</guid><category><![CDATA[#PromptEngineering]]></category><category><![CDATA[writing tips]]></category><category><![CDATA[generative ai]]></category><category><![CDATA[chatbot]]></category><dc:creator><![CDATA[Thomas Belkowski]]></dc:creator><pubDate>Wed, 28 Aug 2024 14:25:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1724851203886/f463a6eb-c12f-4a73-9fdd-3c1f3657b466.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>What if I told you that every time you've imagined a conversation or envisioned how a story character might act, you've been preparing for one of the most exciting creative opportunities of our time? This fascinating intersection of creativity and technology has captivated me for years, but it became even more tangible when Anthropic recently published the system prompts for their Claude AI [1]. These prompts read like blueprints for digital personas, guiding how these AI personalities interact with the world. I once came across a story about well-known authors being enlisted to craft personalities for chatbots. The future they imagined? It is here, now, and more powerful and accessible than anyone could have anticipated.</p>
<p>In my journey with generative AI, I've seen firsthand how our words can shape AI responses in surprising and delightful ways. It's as if we're all becoming storytellers, crafting unique experiences through interactions with these language models. The technical barriers that once limited this field have fallen away, opening up a playground of possibilities for anyone with curiosity and ideas.</p>
<p>But what does this mean for us, whether we're tech enthusiasts, business professionals, or simply curious individuals? It's about finding new ways to express our ideas and approach problems. Interestingly, even if you've never written a script in your life, thinking like a screenwriter might be the key to unlocking the full potential of these AI interactions. Let's explore how this new frontier changes the game and why it's worth getting excited about.</p>
<h2 id="heading-the-evolution-of-ai-personalities">The Evolution of AI Personalities</h2>
<p>Remember when chatbots were nothing more than glorified FAQ systems? I do. They were clunky, often frustrating, and about as personable as a vending machine. But even then, some visionaries saw the potential for something more.</p>
<p>Years ago, I stumbled upon an article that fascinated me. It described how some companies were hiring novelists to craft personalities for their chatbots. Can you imagine writers creating backstories, quirks, and habits for digital entities? In 2019, the idea gained traction, and tangible examples emerged, such as TD Bank Group's chatbot, Clari. The bank took an innovative approach by infusing Clari with a "friendly" and "approachable" personality crafted by TV screenwriters [2]. This marked a shift from just answering common user questions to creating a whole new customer experience. This approach was groundbreaking then, hinting at the potential for more engaging AI interactions.</p>
<p>Back then, the idea seemed almost whimsical - a creative luxury few could afford, but it planted a seed of possibility in my mind. Today, this concept is no longer a distant dream. It's a reality where the creative and technical barriers have all but disappeared. The ChatGPT moment far surpassed those early experiments. Large Language Models (LLMs) are not just chatbots with pre-programmed responses or carefully crafted personalities. This technology has simplified the process of creating valuable and engaging AI. We all get to be the screenwriters now.</p>
<h2 id="heading-the-art-of-prompting">The Art of Prompting</h2>
<p>Think about your favorite movie character for a moment. What makes them memorable? Is it their witty one-liners? Their unique perspective on the world? Their backstory and how they, therefore, view and approach challenges? Now, imagine you could create a character like that, not for a film, but for an AI interaction with a specific purpose.</p>
<p>That's essentially what we're doing when we craft prompts for LLMs. We're not just asking questions or giving instructions – we're setting the stage, defining the character, and initiating a dialogue. It's screenwriting but with an interactive twist because we cannot predict the whole movie, just how it starts.</p>
<p>When I first read through Claude's system prompts, I was struck by how much they reminded me of character notes for a script. "Claude is very smart and intellectually curious. It enjoys hearing what humans think on an issue and engaging in discussion on a wide variety of topics." These are more than just technical guidelines - they're elements of character development. Just as a screenwriter or novelist builds a character's persona through small, deliberate choices, these prompts shape how Claude responds to the myriad situations it encounters. This ensures Claude remains consistent, reliable, and engaging, much like a well-written character in an ongoing series.</p>
<p>In this sense, crafting prompts is a lot like writing a script. We provide the AI with a framework - a set of behaviors, tones, and preferences that guide its responses. But because this script is interactive, we, as users, are also part of it. Our prompts shape the AI's responses, and those responses, in turn, influence the prompts that follow. It's a dynamic, creative dance between humans and machines.</p>
<p>Want to brainstorm with an AI that thinks like your favorite detective? Craft a prompt that sets that tone. Need a writing partner with a flair for the dramatic? You can create that experience. The AI becomes a canvas for our creativity, responding and adapting to the scenarios we conceive. Who says technical FAQs always need to be boring? Maybe, instead of (politely) telling people to RTFM [3], I could point them to a sarcastically pre-prompted LLM doing the bidding for me. The possibilities are limitless, as some people (and many instruction fine-tuned LLMs) like to say.</p>
<h2 id="heading-embracing-the-screenwriters-mindset">Embracing the Screenwriter's Mindset</h2>
<p>The art of crafting AI interactions can be much like screenwriting. It's about creating characters, setting scenes, and guiding narratives - all through the power of your prompts. You don't need a Hollywood background to excel at this; your creativity and willingness to experiment are far more valuable. Let's dive into how you can apply a screenwriter's approach to your AI interactions, enhancing their depth, relevance, and impact.</p>
<h3 id="heading-start-with-a-vision">Start with a Vision</h3>
<p>Every great script begins with a vision. Before you type a single word, ask yourself: What kind of interaction do I want to create? Are you looking for a brainstorming session with a witty AI companion? A deep dive into complex topics with a wise guide? Or perhaps a playful exchange with a charmingly confused time traveler from the past?</p>
<p>Defining this vision is your first act. It sets the tone, guides your prompts, and lays the foundation for a rich, engaging interaction. Remember, you're not just inputting a query; you're creating a whole experience.</p>
<h3 id="heading-layer-in-nuance">Layer in Nuance</h3>
<p>Now, let's add some depth to our character. In screenwriting, the most memorable characters are multi-dimensional. The same principle applies here. Consider tone, context, and perspective. Is your AI detective world-weary and cynical or enthusiastic and idealistic? Is your philosopher from Ancient Greece or the distant future?</p>
<p>These layers of nuance can transform a mundane query into a fascinating dialogue. Try asking the same question to different 'characters' and watch how the responses evolve. It's like directing different actors to play the same role - each brings something unique to the performance.</p>
<h3 id="heading-quick-iterations-your-rehearsal-stage">Quick Iterations: Your Rehearsal Stage</h3>
<p>Here's where our screenwriting analogy takes an improvisational turn. Unlike a fixed script, your AI interaction is a dynamic, evolving performance. Don't get caught up in crafting the perfect prompt. Instead, think of each interaction as a rehearsal.</p>
<p>Start with a rough idea, test it out, and refine it based on the AI's response. Did the tone come across as intended? Was the context clear? Did you get the information you needed? Each iteration is a chance to hone your prompt, tighten your dialogue, and shape the interaction.</p>
<h3 id="heading-the-directors-cut">The Director's Cut</h3>
<p>As you become more comfortable with this process, you'll find yourself naturally slipping into the director's chair. You'll learn to cut what doesn't work, emphasize what does, and shape the experience to your needs.</p>
<p>Sometimes, the most interesting moments come from unexpected plot twists. Feel free to throw in a surprise element or challenge. Ask your AI detective to solve a case... on Mars. Request a philosophy lesson from Aristotle... about TikTok. These creative leaps can lead to fascinating insights and novel ideas.</p>
<h3 id="heading-breaking-the-fourth-wall">Breaking the Fourth Wall</h3>
<p>Finally, remember that you're not just the screenwriter and director - you're also part of the cast. Feel free to break the fourth wall. Ask the AI about its role in your interaction. Discuss the nature of your dialogue. This meta-approach can lead to more tailored responses and a deeper understanding of how to craft effective prompts.</p>
<h2 id="heading-conclusion-your-stage-awaits">Conclusion: Your Stage Awaits</h2>
<p>As we wrap up our journey from the early days of clunky chatbots to the rich, interactive world of generative AI, it's clear that we're standing on the brink of a new era in human-machine interaction. The stage is set, the spotlight is on, and the script? Well, that's up to you.</p>
<p>The democratization of AI means that this creative power is no longer limited to tech giants or AI specialists. It's in your hands. Whether you're a business professional looking to innovate, a writer seeking inspiration, or simply a curious individual exploring new possibilities, the AI stage is yours to direct.</p>
<p>So, embrace your inner screenwriter. Start with a vision, layer in nuance, embrace the unexpected, iterate quickly, and don't be afraid to break the fourth wall. Remember, in this new world of AI interaction, you're not just the writer – you're the director, the actor, and the audience all at once.</p>
<p>As you step into this role, ask yourself: What kind of stories will you create? What worlds will you build? What characters will you bring to life? The possibilities are as limitless as your imagination.</p>
<p>Now, lights, camera, action! Your AI adventure awaits.</p>
<hr />
<p><strong><em>References</em></strong></p>
<p>[1] <a target="_blank" href="https://docs.anthropic.com/en/release-notes/system-prompts#july-12th-2024">Anthropic System Prompts</a></p>
<p>[2] <a target="_blank" href="https://stories.td.com/ca/en/article/how-tv-screenwriters-are-giving-td-s-new-chatbot-an-almost-human-charm">How TV Screenwriters Are Giving TD’s New Chatbot an Almost Human Charm</a></p>
<p>[3] <a target="_blank" href="https://en.wikipedia.org/wiki/RTFM">RTFM - Wikipedia</a></p>
]]></content:encoded></item><item><title><![CDATA[Embracing Randomness: From Counting Algorithms to Generative AI]]></title><description><![CDATA[TL;DR
This article explores how randomness and controlled "hallucinations" in AI can drive significant business value. From efficient algorithms like CVM to creative outputs in generative AI, embracing imperfections can lead to innovation and strateg...]]></description><link>https://tb-now.com/embracing-randomness-from-counting-algorithms-to-generative-ai</link><guid isPermaLink="true">https://tb-now.com/embracing-randomness-from-counting-algorithms-to-generative-ai</guid><category><![CDATA[generative ai]]></category><category><![CDATA[llm]]></category><category><![CDATA[business]]></category><category><![CDATA[randomness]]></category><dc:creator><![CDATA[Thomas Belkowski]]></dc:creator><pubDate>Tue, 21 May 2024 12:46:13 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1716295022711/92b822c7-9ddd-4196-9948-901ef2572774.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong><em>TL;DR</em></strong></p>
<p>This article explores how randomness and controlled "hallucinations" in AI can drive significant business value. From efficient algorithms like CVM to creative outputs in generative AI, embracing imperfections can lead to innovation and strategic advantages. AI's "good enough" solutions save time and inspire new ideas, enhancing human creativity and decision-making. By leveraging AI's randomness, businesses can uncover hidden opportunities and achieve faster, more effective outcomes. Sometimes, it's not about perfect accuracy but using AI's quirks to our advantage.</p>
<hr />
<p>As I work extensively with generative AI, I'm sometimes challenged with balancing precision and innovation. Recently, a breakthrough in counting algorithms, leveraging randomness for efficient solutions, sparked a thought: Could similar principles apply to AI, especially for managing hallucinations? This article explores how principles of randomness in computational systems, like counting algorithms, can be applied to generative AI to create substantial business value even when perfect accuracy isn't achieved.</p>
<p>To illustrate this, consider a recent article [1] about counting words in large data sets or texts like <em>Hamlet</em>. Imagine trying to count the unique words in Shakespeare's play. Traditional methods might struggle with efficiency, such as scanning the entire text and storing each word. Instead, computer scientists developed a new algorithm using randomness to make an educated guess, significantly reducing required resources. This concept of "good enough" accuracy through controlled randomness can be incredibly powerful.</p>
<h3 id="heading-the-power-of-randomness-in-algorithms">The Power of Randomness in Algorithms</h3>
<p>The new <em>CVM algorithm</em>, developed by and named after its creators (Chakraborty, Variyam, and Meel), efficiently uses randomness to estimate the number of unique elements in a data stream. By progressively filtering and keeping track of a small number of elements, this algorithm achieves accuracy with minimal memory usage. While not perfectly accurate, it provides sufficient precision for many practical purposes. This efficiency through controlled randomness is a valuable lesson for generative AI, where probabilistic methods are used to generate content.</p>
<p>The CVM algorithm's strength lies in its simplicity and effectiveness in handling large datasets with limited resources. By embracing the inherent uncertainty of randomness, the algorithm solves a longstanding problem in computer science with a novel approach. This innovation highlights the potential of probabilistic methods to tackle complex problems efficiently, suggesting broader applicability beyond counting algorithms.</p>
<h3 id="heading-generative-ai-and-hallucinations">Generative AI and Hallucinations</h3>
<p>In generative AI, hallucinations - outputs that are factually incorrect or unfaithful to the source material - are common. These hallucinations stem from the probabilistic nature of Large Language Models (LLMs), which, like the CVM algorithm, use randomness to generate content. While this can lead to inaccuracies, it also enables creativity and contextual richness that deterministic models might miss.</p>
<p>Hallucinations in LLMs can be broadly categorized into <em>intrinsic</em> and <em>extrinsic</em> types. Intrinsic hallucinations occur when the generated output contradicts the source content. For example, if an AI describes a story where <em>"The cat chased the mouse",</em> and instead generates, <em>"The mouse chased the cat",</em> it introduces an intrinsic hallucination. Extrinsic hallucinations introduce information not present in the source material. For instance, if the AI generates, <em>"The cat and mouse stopped for a tea party"</em> when no such event was mentioned in the original story, it would be an extrinsic hallucination.</p>
<p>While hallucinations are often viewed as flaws, they are a byproduct of LLMs' design. As Andrej Karpathy, a prominent figure in AI, suggests, LLMs are <em>"dream machines"</em> weaving words together based on their training data and prompts. These models generate text by predicting the next word in a sequence based on probabilities, resulting in creative and contextually rich outputs, although sometimes factually inaccurate.</p>
<p>Karpathy's view emphasizes that hallucinations are not merely bugs but an integral part of how LLMs function. This perspective encourages us to see beyond the flaws and recognize the potential benefits of LLMs' creative outputs. In many cases, the balance between creativity and accuracy achieved by these models can be highly valuable, especially where perfect precision is not critical.</p>
<h3 id="heading-when-good-enough-is-good-enough">When "Good Enough" is Good Enough</h3>
<p>Throughout my career, I've seen numerous scenarios where perfect accuracy isn't necessary but optional. For example, in brainstorming sessions or preliminary data analysis, getting close enough to the correct answer quickly is often more valuable than spending time on perfect accuracy.</p>
<p>LLM-based coding assistants are another great example. These tools propose solutions and ideas that may not always be perfectly accurate but can inspire new approaches and save significant time in the development process. For instance, a coding assistant might suggest a snippet of code to automate a task. While the proposed code may need adjustments, it can provide a valuable starting point and spark ideas the user might have yet to consider.</p>
<p>The Microsoft Work Trend Index [2] highlights that 70% of early Copilot users reported increased productivity, and 68% saw improved work quality, illustrating that "good enough" solutions can drive significant value. According to the report, users found that Copilot helped them get to a good first draft faster, saved time on mundane tasks, and improved overall productivity and creativity. This data underscores the practical benefits of accepting "good enough" solutions in the workplace.</p>
<p>Such tools, infused by GenAI, can help users by providing initial drafts that can be refined and polished with human oversight. This approach not only accelerates workflows but also fosters innovation by allowing humans to focus on more critical and creative aspects of their work. By leveraging AI to handle routine tasks and provide a starting point for more complex problems, businesses can free up people to focus on strategic and creative endeavors.</p>
<p>This concept extends beyond coding to various business applications. For instance, in marketing, an AI-generated draft for a campaign can provide a framework that marketers can build upon, saving time and allowing for creative refinements. In customer service, AI can generate summaries and initial responses to queries, which human agents can then customize to ensure accuracy and personalization.</p>
<p>The notion of "good enough" isn't about settling for mediocrity; it's about understanding that in many business contexts, approximate solutions can pave the way for faster, more innovative outcomes. Accepting this can lead to substantial productivity gains and open new avenues for creativity and problem-solving.</p>
<h3 id="heading-randomness-as-a-strategic-and-creative-force">Randomness as a Strategic and Creative Force</h3>
<p>Randomness can be a powerful driver of innovation and strategic value. Just as the CVM algorithm uses randomness to solve counting problems efficiently, LLMs leverage it to generate diverse and creative outputs. This randomness not only facilitates problem-solving in unexpected ways but also opens new avenues for strategic thinking and business planning.</p>
<p>However, the real magic happens when AI's creative randomness is harnessed by human intelligence. Beyond creative contexts, GenAI can simulate different scenarios and potential outcomes, helping businesses prepare for various possibilities and make more informed decisions. For example, AI might generate several market entry strategies, each considering different economic conditions or competitor actions, prompting business leaders to explore options they might not have otherwise considered. AI-generated content or strategic scenarios serve as starting points, offering fresh perspectives and innovative ideas.</p>
<p>This concept is not just about generating random outputs but about using these outputs as valuable inputs in a human-driven decision-making process. It's about recognizing that AI, with its inherent randomness, can get us close enough to an answer we can refine and improve upon. It's not about replacing human judgment but augmenting it with AI's ability to explore possibilities quickly and efficiently. It's about making the most of what AI has to offer (for now) and using it to our advantage.</p>
<h3 id="heading-embracing-hallucinations-for-business-value">Embracing Hallucinations for Business Value</h3>
<p>Generative AI often gets a bad reputation because of hallucinations, but there's a silver lining if we look closer. Many times, "good enough" solutions can be incredibly valuable. AI might not always hit the bullseye, but it can get us close enough for humans to take it the rest of the way, saving time and sparking creativity in the process.</p>
<p>Think about it: AI can handle the grunt work, letting us focus on the finer details. This partnership between AI's broad-stroke approach and our precision can drive innovation and efficiency in ways we hadn't imagined. By turning AI's quirks into opportunities, we can discover hidden gems that propel our businesses forward.</p>
<p>Randomness and hallucinations in AI aren't just quirks—they're powerful tools for innovation. Whether it's solving problems efficiently or generating creative and strategic outputs, the value lies in using these AI-generated ideas as springboards. It's not always about perfect accuracy; sometimes, it's about seeing the potential in "good enough" solutions and letting AI augment our creativity and decision-making.</p>
<p>What if AI throws out a wild idea that seems off at first, but upon closer inspection, it sparks a new direction you hadn't considered? This blend of AI's randomness and human ingenuity can lead to breakthroughs. It's about leveraging AI to get us close enough, refining those outputs, and turning what might seem like a flaw into a powerful advantage.</p>
<p>Take the Hamlet example from earlier: Knowing it has precisely 3,967 unique words might be interesting, but knowing the number is nearly 4,000 is often good enough. It's the bigger picture that counts, and AI can help paint it quickly and effectively.</p>
<p>So, what business applications can benefit from "good enough" accuracy? Reflect on your own experiences. Sometimes, a bit of randomness and imperfection can be the catalyst for innovation and efficiency in your work. Personally, I find more and more use cases where this turns out to be true - confirmation that embracing a bit of quirkiness can lead to unexpected and valuable outcomes.</p>
<hr />
<h3 id="heading-references"><em>References</em></h3>
<p>[1] <a target="_blank" href="https://www.quantamagazine.org/computer-scientists-invent-an-efficient-new-way-to-count-20240516/">Computer Scientists Invent an Efficient New Way to Count</a></p>
<p>[2] <a target="_blank" href="https://www.microsoft.com/en-us/worklab/work-trend-index/copilots-earliest-users-teach-us-about-generative-ai-at-work">Microsoft 2023 Work Trend Index Special Report</a></p>
]]></content:encoded></item><item><title><![CDATA[On Writing Well For LLMs]]></title><description><![CDATA["I don't know what still newer marvels will make writing twice as easy in the next 30 years. But I do know they won't make writing twice as good. That will still require plain old hard thinking [...]." - On Writing Well by William Zinsser

Natural la...]]></description><link>https://tb-now.com/on-writing-well-for-llms</link><guid isPermaLink="true">https://tb-now.com/on-writing-well-for-llms</guid><category><![CDATA[llm]]></category><category><![CDATA[writing]]></category><dc:creator><![CDATA[Thomas Belkowski]]></dc:creator><pubDate>Fri, 04 Aug 2023 06:47:54 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/stock/unsplash/hjwKMkehBco/upload/734ad5de20a7010ce69d589613664c8d.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<blockquote>
<p>"I don't know what still newer marvels will make writing twice as easy in the next 30 years. But I do know they won't make writing twice as good. That will still require plain old hard thinking [...]." - On Writing Well by William Zinsser</p>
</blockquote>
<p>Natural language is an omnipresent interface. We use it in our lives every single day, and we've yearned to use it for technology in the same way. Large Language Models are the bridging stone getting us closer to that wish. Yet, many of us, including myself, are not proficient in using this interface particularly well. Luckily, society has had many years to reflect on this topic.</p>
<p>While traveling to Japan, I started reading William Zinsser's <em>On Writing Well</em>. The introduction made me pause. In it, he describes how the arrival of word processors triggered two opposing developments: <strong>Good writers got better and bad writers got worse.</strong> It was not because words changed. Instead, by lowering the barrier to writing, the new technology introduced a non-obvious catch. In his own words:</p>
<blockquote>
<p>"Nobody told all the new computer writers that the essence of writing is rewriting. Just because they're writing fluently doesn't mean they're writing well."</p>
</blockquote>
<p>Writing is not getting clearer by adding an increasing amount of words to it. Good writers know they need to experiment, revise and reshape their creation until every element serves a purpose. Computer screens avoided the need for retyping, making them faster and better.</p>
<p>Something similar can be observed with the emergence of low-code and no-code tools. Creating applications or any automated business logic became easier than ever to transform ideas into working solutions. The number of deployed automation increased as the barrier of entry drastically decreased. It is no longer required to study different types, methods, and algorithms, as well as the strengths and weaknesses of the language in which they've been embedded. You can simply start building. But what is true for writing is also true for software development: Just because they're developing fluently doesn't mean they're developing well.</p>
<p>Well-crafted software is not just a combination of individual features stitched together. It is an enabler for scalable value creation. Therefore, with low-code and no-code platforms rising, the same thing happened again: Good developers got better and bad developers got worse. Low-code does not mean either the problem or the solution is low-complexity. Often, these platforms lower required implementation efforts, allowing good developers to focus more on experimentation, refinement, and improvement - until every element serves a purpose.</p>
<p>In contrast, other developers stop working on a functionality once they see the expected results. Why bother with it any longer if we can add more logic to it at any given time? The user experience, however, will differ with both approaches, similar to how some texts or books are more enjoyable than others.</p>
<blockquote>
<p>Low-code does not mean either the problem or the solution is low-complexity.</p>
</blockquote>
<p>Considering both examples, there might be a pattern that has less to do with the advancement of technology but rather how we humans react to them. Generative AI will again be one of these advancements that will reduce the barriers to creating: Be it content, applications, or, more broadly, experiences. As history often rhymes, I'm willing to bet that two things will happen again: Good creators will get better and bad creators will get worse.</p>
<p>Creating any type of experience will be simpler than ever before. Chain any number of words together, and you will be given output in your desired medium. However, while some people will use this to rapidly experiment, iterate and revisit how they create novel experiences, others will chase the latest blueprint or mega-prompt instead. They will apply them to recreate different variations of the same, over and over again.</p>
<p>What do I expect to be the differentiation factors between those two groups: The ability to form and formulate clear thoughts. The combination of strong thinking and good communication will remain the craft to hone, with Generative AI being the lever to provide unprecedented levels of impact.</p>
<p>The remaining question is: Do you want to treat it as a craft to be mastered or a tool to be used only when needed?</p>
]]></content:encoded></item><item><title><![CDATA[AI-Powered Email Analysis Unleashed]]></title><description><![CDATA[TLDR;
AI-powered email analysis with ChatGPT revolutionizes customer service by effortlessly assessing language, sentiment, and urgency, leading to faster responses and happier customers. However, be mindful of potential security risks and data prote...]]></description><link>https://tb-now.com/ai-powered-email-analysis-unleashed</link><guid isPermaLink="true">https://tb-now.com/ai-powered-email-analysis-unleashed</guid><category><![CDATA[chatgpt]]></category><dc:creator><![CDATA[Thomas Belkowski]]></dc:creator><pubDate>Tue, 09 May 2023 10:28:52 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1683625853988/5b12df0a-f922-4b4e-93a3-55d438213d13.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3 id="heading-tldr">TLDR;</h3>
<p>AI-powered email analysis with ChatGPT revolutionizes customer service by effortlessly assessing language, sentiment, and urgency, leading to faster responses and happier customers. However, be mindful of potential security risks and data protection concerns when using third-party APIs.</p>
<h3 id="heading-unleashing-chatgpt-to-improve-customer-support">Unleashing ChatGPT to improve Customer Support</h3>
<p>Are you curious about how Large Language Models (LLMs) like ChatGPT can revolutionize customer service and support? Allow me to share a scenario with you that demonstrates the potential!</p>
<p>Imagine this - you're a support agent, and you're bombarded with a ton of emails every day. Some of them are complaints, some are queries, and some are just random chit-chat. How can you prioritize the most urgent issues or efficiently direct them to a colleague who speaks the same language? Better yet, how can you obtain this information effortlessly without any manual intervention? This is where AI come into play.</p>
<p>Incorporating the power of LLMs into the process of handling customer complaints can significantly streamline the management of incoming emails. By utilizing AI's ability to effortlessly analyze language, sentiment, and urgency in real-world complaint emails, we can prioritize cases and responses more effectively. This enables quicker response times to high-priority issues, which in turn leads to improvements in overall customer satisfaction.</p>
<p>I experimented with ChatGPT by providing it with a real-world complaint email for analysis. The results I obtained from a single prompt were fascinating. ChatGPT successfully detected the email's language, identified the sentiment and urgency of the content, and provided a concise one-sentence summary. Allow me to demonstrate how you can achieve this too!</p>
<h3 id="heading-how-to-craft-a-gpt-prompt-for-analyzing-inbound-emails">How to Craft a GPT Prompt for Analyzing Inbound Emails</h3>
<p>To enable quick experimentation, I prefer using a Jupyter Notebook to make requests to the OpenAI API. First, import the openai package, provide your API key, and define a simple function to call the API:</p>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> openai
openai.api_key  = <span class="hljs-string">'sk-Your-API-Key'</span>

<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">get_simple_completion</span>(<span class="hljs-params">prompt, model=<span class="hljs-string">"gpt-3.5-turbo"</span>, temperature=<span class="hljs-number">0</span></span>):</span>
    messages = [{<span class="hljs-string">"role"</span>: <span class="hljs-string">"user"</span>, <span class="hljs-string">"content"</span>: prompt}]
    response = openai.ChatCompletion.create(
        model = model,
        messages = messages,
        temperature = temperature, <span class="hljs-comment"># degree of randomness</span>
    )
    <span class="hljs-keyword">return</span> response.choices[<span class="hljs-number">0</span>].message[<span class="hljs-string">"content"</span>]
</code></pre>
<p>Next, we need to obtain the contents of an email. To simplify this example, let's assume we have successfully extracted the subject and body of an email for further processing. To make things more interesting, I have chosen an example from the Consumer Complaint Database published by the US Consumer Financial Protection Bureau and translated it into German. Our extracted email reads as follows:</p>
<pre><code class="lang-python">email_subject = <span class="hljs-string">"Problem mit einem Kauf auf Ihrer Abrechnung"</span>
email_body = <span class="hljs-string">"Ich habe eine Belastung auf meiner Kreditkarte für eine Kreditkartenkontonummer, die mit XXXX endet, gemeldet. Ich hatte Sie angerufen und Sie haben mir versichert, dass Sie die Belastung entfernen werden. Allerdings haben Sie mein Konto geschlossen und die Belastung nicht entfernt, obwohl Sie gesagt haben, dass sie es tun würden. Mein Kredit-Score wird jeden Tag schlechter, weil die Belastung immer noch da ist. Ich habe sie mehrmals kontaktiert und sie haben mein Problem immer noch nicht gelöst."</span>
</code></pre>
<p>Now for the most interesting part: the actual prompt. We will follow a simple prompt structure by first defining the task at hand, which is to identify the language, sentiment, and urgency of the email. Additionally, we will request a one-sentence summary in English, which will be useful for further processing tasks. From here, we simply add the email's subject and body as input and ask for the output as a JSON. All that remains is to pass this prompt into our previously defined function and display the response.</p>
<pre><code class="lang-python">prompt = <span class="hljs-string">"""
Task:
Analyze the email subject and body provided below for language, sentiment, and urgency. Also, provide the 1 sentence summary in English. Limit your response by only outputting information in the following structure as JSON:
Email Language: &lt;Detected Language&gt;
Email Sentiment: &lt;Detected Sentiment&gt;
Email Urgency: &lt;Detected Urgency&gt;
Email Summary: &lt;1 Sentence Summary in English&gt;

Input:
Email Subject: '{email_subject}'
Email Body: '{email_body}'

JSON Output:
"""</span>.format(email_subject=email_subject, email_body=email_body)

response = get_simple_completion(prompt)
print(response)
</code></pre>
<p>With this simple script, we have now accomplished multiple tasks at once: We transformed unstructured information from an email into structured information to assist with the initial assessment of an incoming case. We detected the language, allowing for automated routing. We identified the sentiment and urgency, helping us to better prioritize the task. We received a summary in English, independent of the original language used, providing us with additional opportunities to better analyze, track, and compare this request to others. All of this, with just one call, giving us the following result:</p>
<pre><code class="lang-json">{
  <span class="hljs-attr">"Email Language"</span>: <span class="hljs-string">"German"</span>,
  <span class="hljs-attr">"Email Sentiment"</span>: <span class="hljs-string">"Negative"</span>,
  <span class="hljs-attr">"Email Urgency"</span>: <span class="hljs-string">"High"</span>,
  <span class="hljs-attr">"Email Summary"</span>: <span class="hljs-string">"Customer reports a problem with a purchase on their billing statement, stating that the charge was not removed as promised and their credit score is being negatively impacted."</span>
}
</code></pre>
<h3 id="heading-closing-thoughts">Closing thoughts</h3>
<p>This simple demonstration illustrates how incorporating large language models like ChatGPT into customer service processes can significantly enhance the management of inbound emails. By harnessing AI's capabilities to analyze language, sentiment, and urgency, support teams can prioritize cases more effectively, resulting in quicker response times and heightened customer satisfaction. With just a single API call, multiple tasks can be executed, converting unstructured information into actionable insights and streamlining the entire support process. Is there a catch, though?</p>
<p>Utilizing a third-party API and providing them with potentially sensitive data can be a cause for concern. By integrating an external API into the support process, businesses may inadvertently expose their customers' private information to potential security risks. This could include personal details, financial information, or other confidential data that should be handled with the utmost care. Therefore, it is essential for companies to thoroughly evaluate the security measures and data protection policies of any third-party API provider before integrating their services. In doing so, they can ensure that customer data remains secure while still benefiting from the enhanced efficiency and effectiveness that API-driven support processes can offer.</p>
<p>ChatGPT and other Large Language Models can help us generate ideas for transforming our business. However, it is sometimes worthwhile to explore alternative options to achieve similar results. Nonetheless, it's fun to push the boundaries in a responsible and controlled manner!</p>
]]></content:encoded></item></channel></rss>