From 69ee9a836752d69496da26e4f02af315b5cd2b00 Mon Sep 17 00:00:00 2001 From: jakebern Date: Fri, 14 Jun 2024 16:33:49 -0700 Subject: [PATCH 1/2] update TASK_DESCRIPTION to be F-string --- Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb b/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb index 2b20ae2..8f782c4 100644 --- a/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb +++ b/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb @@ -320,7 +320,7 @@ "# Expand on the specific tasks you want Claude to do, as well as any rules that Claude might have to follow.\n", "# This is also where you can give Claude an \"out\" if it doesn't have an answer or doesn't know.\n", "# It's ideal to show this description and rules to a friend to make sure it is laid out logically and that any ambiguous words are clearly defined.\n", - "TASK_DESCRIPTION = \"\"\"Write a clear, concise answer to this question:\n", + "TASK_DESCRIPTION = f\"\"\"Write a clear, concise answer to this question:\n", "\n", "\n", "{QUESTION}\n", From 07d7247b19ed7690ff8cefbdbfb5daee3134741f Mon Sep 17 00:00:00 2001 From: jakebern Date: Fri, 14 Jun 2024 16:37:05 -0700 Subject: [PATCH 2/2] Another - TASK_DESCRIPTION in playground should be F-string --- Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb b/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb index 8f782c4..bb3498b 100644 --- a/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb +++ b/Anthropic 1P/09_Complex_Prompts_from_Scratch.ipynb @@ -1134,7 +1134,7 @@ "# Expand on the specific tasks you want Claude to do, as well as any rules that Claude might have to follow.\n", "# This is also where you can give Claude an \"out\" if it doesn't have an answer or doesn't know.\n", "# It's ideal to show this description and rules to a friend to make sure it is laid out logically and that any ambiguous words are clearly defined.\n", - "TASK_DESCRIPTION = \"\"\"Write a clear, concise answer to this question:\n", + "TASK_DESCRIPTION = f\"\"\"Write a clear, concise answer to this question:\n", "\n", "\n", "{QUESTION}\n",