diff --git a/AmazonBedrock/anthropic/02_Being_Clear_and_Direct.ipynb b/AmazonBedrock/anthropic/02_Being_Clear_and_Direct.ipynb
index 42afdab..89209e9 100755
--- a/AmazonBedrock/anthropic/02_Being_Clear_and_Direct.ipynb
+++ b/AmazonBedrock/anthropic/02_Being_Clear_and_Direct.ipynb
@@ -185,7 +185,7 @@
"metadata": {},
"outputs": [],
"source": [
- "# System prompt - this is the only field you should chnage\n",
+ "# System prompt - this is the only field you should change\n",
"SYSTEM_PROMPT = \"[Replace this text]\"\n",
"\n",
"# Prompt\n",
diff --git a/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb b/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb
index 010a847..51676ac 100755
--- a/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb
+++ b/AmazonBedrock/anthropic/04_Separating_Data_and_Instructions.ipynb
@@ -151,7 +151,7 @@
"\n",
"[XML tags](https://docs.anthropic.com/claude/docs/use-xml-tags) are angle-bracket tags like ``. They come in pairs and consist of an opening tag, such as ``, and a closing tag marked by a `/`, such as ``. XML tags are used to wrap around content, like this: `content`.\n",
"\n",
- "**Note:** While Claude can recognize and work with a wide range of separators and delimeters, we recommend that you **use specifically XML tags as separators** for Claude, as Claude was trained specifically to recognize XML tags as a prompt organizing mechanism. Outside of function calling, **there are no special sauce XML tags that Claude has been trained on that you should use to maximally boost your performance**. We have purposefully made Claude very malleable and customizable this way."
+ "**Note:** While Claude can recognize and work with a wide range of separators and delimiters, we recommend that you **use specifically XML tags as separators** for Claude, as Claude was trained specifically to recognize XML tags as a prompt organizing mechanism. Outside of function calling, **there are no special sauce XML tags that Claude has been trained on that you should use to maximally boost your performance**. We have purposefully made Claude very malleable and customizable this way."
]
},
{
diff --git a/AmazonBedrock/anthropic/10_1_Appendix_Chaining_Prompts.ipynb b/AmazonBedrock/anthropic/10_1_Appendix_Chaining_Prompts.ipynb
index b9c821f..6e71907 100644
--- a/AmazonBedrock/anthropic/10_1_Appendix_Chaining_Prompts.ipynb
+++ b/AmazonBedrock/anthropic/10_1_Appendix_Chaining_Prompts.ipynb
@@ -123,7 +123,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -179,7 +179,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -189,7 +189,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "You may notice that if you generate a respnse from the above block a few times, Claude leaves the words as is most of the time, but still occasionally changes the words even though they're all already correct. What can we do to mitigate this? Per Chapter 8, we can give Claude an out! Let's try this one more time."
+ "You may notice that if you generate a response from the above block a few times, Claude leaves the words as is most of the time, but still occasionally changes the words even though they're all already correct. What can we do to mitigate this? Per Chapter 8, we can give Claude an out! Let's try this one more time."
]
},
{
@@ -235,7 +235,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -309,7 +309,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -352,7 +352,7 @@
"\n",
"# Store and print Claude's response\n",
"first_response = get_completion(messages)\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(first_response)"
@@ -393,7 +393,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -467,7 +467,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -516,7 +516,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -565,7 +565,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -621,7 +621,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -655,7 +655,7 @@
"\n",
"# Store and print Claude's response\n",
"first_response = get_completion(messages)\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(first_response)"
@@ -689,7 +689,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
diff --git a/AmazonBedrock/boto3/02_Being_Clear_and_Direct.ipynb b/AmazonBedrock/boto3/02_Being_Clear_and_Direct.ipynb
index deaa6cf..ab9eb3f 100755
--- a/AmazonBedrock/boto3/02_Being_Clear_and_Direct.ipynb
+++ b/AmazonBedrock/boto3/02_Being_Clear_and_Direct.ipynb
@@ -189,7 +189,7 @@
"metadata": {},
"outputs": [],
"source": [
- "# System prompt - this is the only field you should chnage\n",
+ "# System prompt - this is the only field you should change\n",
"SYSTEM_PROMPT = \"[Replace this text]\"\n",
"\n",
"# Prompt\n",
diff --git a/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb b/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb
index bce6608..e9d19fe 100755
--- a/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb
+++ b/AmazonBedrock/boto3/04_Separating_Data_and_Instructions.ipynb
@@ -155,7 +155,7 @@
"\n",
"[XML tags](https://docs.anthropic.com/claude/docs/use-xml-tags) are angle-bracket tags like ``. They come in pairs and consist of an opening tag, such as ``, and a closing tag marked by a `/`, such as ``. XML tags are used to wrap around content, like this: `content`.\n",
"\n",
- "**Note:** While Claude can recognize and work with a wide range of separators and delimeters, we recommend that you **use specifically XML tags as separators** for Claude, as Claude was trained specifically to recognize XML tags as a prompt organizing mechanism. Outside of function calling, **there are no special sauce XML tags that Claude has been trained on that you should use to maximally boost your performance**. We have purposefully made Claude very malleable and customizable this way."
+ "**Note:** While Claude can recognize and work with a wide range of separators and delimiters, we recommend that you **use specifically XML tags as separators** for Claude, as Claude was trained specifically to recognize XML tags as a prompt organizing mechanism. Outside of function calling, **there are no special sauce XML tags that Claude has been trained on that you should use to maximally boost your performance**. We have purposefully made Claude very malleable and customizable this way."
]
},
{
diff --git a/AmazonBedrock/boto3/10_1_Appendix_Chaining_Prompts.ipynb b/AmazonBedrock/boto3/10_1_Appendix_Chaining_Prompts.ipynb
index 68e9583..c4bc7c0 100644
--- a/AmazonBedrock/boto3/10_1_Appendix_Chaining_Prompts.ipynb
+++ b/AmazonBedrock/boto3/10_1_Appendix_Chaining_Prompts.ipynb
@@ -129,7 +129,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -185,7 +185,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -195,7 +195,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "You may notice that if you generate a respnse from the above block a few times, Claude leaves the words as is most of the time, but still occasionally changes the words even though they're all already correct. What can we do to mitigate this? Per Chapter 8, we can give Claude an out! Let's try this one more time."
+ "You may notice that if you generate a response from the above block a few times, Claude leaves the words as is most of the time, but still occasionally changes the words even though they're all already correct. What can we do to mitigate this? Per Chapter 8, we can give Claude an out! Let's try this one more time."
]
},
{
@@ -241,7 +241,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -315,7 +315,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -358,7 +358,7 @@
"\n",
"# Store and print Claude's response\n",
"first_response = get_completion(messages)\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(first_response)"
@@ -399,7 +399,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -473,7 +473,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -522,7 +522,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -571,7 +571,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -627,7 +627,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -661,7 +661,7 @@
"\n",
"# Store and print Claude's response\n",
"first_response = get_completion(messages)\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(first_response)"
@@ -695,7 +695,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
diff --git a/Anthropic 1P/02_Being_Clear_and_Direct.ipynb b/Anthropic 1P/02_Being_Clear_and_Direct.ipynb
index bcdb0ba..351fe87 100644
--- a/Anthropic 1P/02_Being_Clear_and_Direct.ipynb
+++ b/Anthropic 1P/02_Being_Clear_and_Direct.ipynb
@@ -180,7 +180,7 @@
"metadata": {},
"outputs": [],
"source": [
- "# System prompt - this is the only field you should chnage\n",
+ "# System prompt - this is the only field you should change\n",
"SYSTEM_PROMPT = \"[Replace this text]\"\n",
"\n",
"# Prompt\n",
diff --git a/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb b/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb
index 7d81fd1..953f368 100644
--- a/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb
+++ b/Anthropic 1P/04_Separating_Data_and_Instructions.ipynb
@@ -145,7 +145,7 @@
"\n",
"[XML tags](https://docs.anthropic.com/claude/docs/use-xml-tags) are angle-bracket tags like ``. They come in pairs and consist of an opening tag, such as ``, and a closing tag marked by a `/`, such as ``. XML tags are used to wrap around content, like this: `content`.\n",
"\n",
- "**Note:** While Claude can recognize and work with a wide range of separators and delimeters, we recommend that you **use specifically XML tags as separators** for Claude, as Claude was trained specifically to recognize XML tags as a prompt organizing mechanism. Outside of function calling, **there are no special sauce XML tags that Claude has been trained on that you should use to maximally boost your performance**. We have purposefully made Claude very malleable and customizable this way."
+ "**Note:** While Claude can recognize and work with a wide range of separators and delimiters, we recommend that you **use specifically XML tags as separators** for Claude, as Claude was trained specifically to recognize XML tags as a prompt organizing mechanism. Outside of function calling, **there are no special sauce XML tags that Claude has been trained on that you should use to maximally boost your performance**. We have purposefully made Claude very malleable and customizable this way."
]
},
{
diff --git a/Anthropic 1P/10.1_Appendix_Chaining Prompts.ipynb b/Anthropic 1P/10.1_Appendix_Chaining Prompts.ipynb
index 050a62d..fceac18 100644
--- a/Anthropic 1P/10.1_Appendix_Chaining Prompts.ipynb
+++ b/Anthropic 1P/10.1_Appendix_Chaining Prompts.ipynb
@@ -125,7 +125,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -181,7 +181,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -191,7 +191,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
- "You may notice that if you generate a respnse from the above block a few times, Claude leaves the words as is most of the time, but still occasionally changes the words even though they're all already correct. What can we do to mitigate this? Per Chapter 8, we can give Claude an out! Let's try this one more time."
+ "You may notice that if you generate a response from the above block a few times, Claude leaves the words as is most of the time, but still occasionally changes the words even though they're all already correct. What can we do to mitigate this? Per Chapter 8, we can give Claude an out! Let's try this one more time."
]
},
{
@@ -237,7 +237,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -311,7 +311,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -354,7 +354,7 @@
"\n",
"# Store and print Claude's response\n",
"first_response = get_completion(messages)\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(first_response)"
@@ -395,7 +395,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -469,7 +469,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -518,7 +518,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -567,7 +567,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -623,7 +623,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"
@@ -657,7 +657,7 @@
"\n",
"# Store and print Claude's response\n",
"first_response = get_completion(messages)\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(first_response)"
@@ -691,7 +691,7 @@
"]\n",
"\n",
"# Print Claude's response\n",
- "print(\"------------------------ Full messsages array with variable substutions ------------------------\")\n",
+ "print(\"------------------------ Full messages array with variable substutions ------------------------\")\n",
"print(messages)\n",
"print(\"\\n------------------------------------- Claude's response -------------------------------------\")\n",
"print(get_completion(messages))"