From 1277e368c12c3865d2e2c466da79818729aa7eb9 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Tue, 5 Sep 2023 13:28:52 +0200 Subject: [PATCH] Added prompt techniques --- forge/autogpt/prompts/techniques/chain-of-thought.j2 | 2 ++ forge/autogpt/prompts/techniques/few-shot.j2 | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 forge/autogpt/prompts/techniques/chain-of-thought.j2 create mode 100644 forge/autogpt/prompts/techniques/few-shot.j2 diff --git a/forge/autogpt/prompts/techniques/chain-of-thought.j2 b/forge/autogpt/prompts/techniques/chain-of-thought.j2 new file mode 100644 index 0000000..dc6357f --- /dev/null +++ b/forge/autogpt/prompts/techniques/chain-of-thought.j2 @@ -0,0 +1,2 @@ +{% block prompt %} {% endblock %} +Let's work this out in a step by step way to be sure we have the right answer. \ No newline at end of file diff --git a/forge/autogpt/prompts/techniques/few-shot.j2 b/forge/autogpt/prompts/techniques/few-shot.j2 new file mode 100644 index 0000000..e65878d --- /dev/null +++ b/forge/autogpt/prompts/techniques/few-shot.j2 @@ -0,0 +1,5 @@ +{% block prompt %} {% endblock %} +Examples: + {% for example in examples %} + - {{ example }} + {% endfor %}