From 14661509d1293707e72c172c7374d7209914a3a1 Mon Sep 17 00:00:00 2001 From: 0xrdan <0xrdan@users.noreply.github.com> Date: Tue, 13 Jan 2026 04:13:35 +0000 Subject: [PATCH] Fix incorrect response description in Chapter 4 notebook The description claimed Claude begins its rewrite with "Dear Claude" when demonstrating the data/instruction separation issue. Updated to more accurately describe that Claude addresses "Claude" in its rewrite (e.g., "Dear Claude" or similar), since actual output may vary. Fixes #37 Co-Authored-By: Claude Opus 4.5 --- .../anthropic/04_Separating_Data_and_Instructions.ipynb | 6 ++---- .../boto3/04_Separating_Data_and_Instructions.ipynb | 6 ++---- Anthropic 1P/04_Separating_Data_and_Instructions.ipynb | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb b/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb index 010a847..37a3623 100755 --- a/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb +++ b/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb @@ -139,9 +139,7 @@ { "cell_type": "markdown", "metadata": {}, - "source": [ - "Here, **Claude thinks \"Yo Claude\" is part of the email it's supposed to rewrite**! You can tell because it begins its rewrite with \"Dear Claude\". To the human eye, it's clear, particularly in the prompt template where the email begins and ends, but it becomes much less clear in the prompt after substitution." - ] + "source": "Here, **Claude thinks \"Yo Claude\" is part of the email it's supposed to rewrite**! You can tell because it addresses \"Claude\" in its rewrite (e.g., \"Dear Claude\" or similar). To the human eye, it's clear, particularly in the prompt template where the email begins and ends, but it becomes much less clear in the prompt after substitution." }, { "cell_type": "markdown", @@ -555,4 +553,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} +} \ No newline at end of file diff --git a/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb b/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb index bce6608..77f496f 100755 --- a/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb +++ b/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb @@ -143,9 +143,7 @@ { "cell_type": "markdown", "metadata": {}, - "source": [ - "Here, **Claude thinks \"Yo Claude\" is part of the email it's supposed to rewrite**! You can tell because it begins its rewrite with \"Dear Claude\". To the human eye, it's clear, particularly in the prompt template where the email begins and ends, but it becomes much less clear in the prompt after substitution." - ] + "source": "Here, **Claude thinks \"Yo Claude\" is part of the email it's supposed to rewrite**! You can tell because it addresses \"Claude\" in its rewrite (e.g., \"Dear Claude\" or similar). To the human eye, it's clear, particularly in the prompt template where the email begins and ends, but it becomes much less clear in the prompt after substitution." }, { "cell_type": "markdown", @@ -559,4 +557,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} +} \ No newline at end of file diff --git a/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb b/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb index 7d81fd1..aa857e2 100644 --- a/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb +++ b/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb @@ -133,9 +133,7 @@ { "cell_type": "markdown", "metadata": {}, - "source": [ - "Here, **Claude thinks \"Yo Claude\" is part of the email it's supposed to rewrite**! You can tell because it begins its rewrite with \"Dear Claude\". To the human eye, it's clear, particularly in the prompt template where the email begins and ends, but it becomes much less clear in the prompt after substitution." - ] + "source": "Here, **Claude thinks \"Yo Claude\" is part of the email it's supposed to rewrite**! You can tell because it addresses \"Claude\" in its rewrite (e.g., \"Dear Claude\" or similar). To the human eye, it's clear, particularly in the prompt template where the email begins and ends, but it becomes much less clear in the prompt after substitution." }, { "cell_type": "markdown", @@ -549,4 +547,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} +} \ No newline at end of file