From 061384c676d3fce78534fb92cc23403fa54d710c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E5=8A=B2=E5=AE=87?= <137690584+isaacJinyu@users.noreply.github.com> Date: Tue, 26 Sep 2023 22:41:13 +0800 Subject: [PATCH] Create action_response_format.txt --- .../prompts/minecraft/action_response_format.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 metagpt/prompts/minecraft/action_response_format.txt diff --git a/metagpt/prompts/minecraft/action_response_format.txt b/metagpt/prompts/minecraft/action_response_format.txt new file mode 100644 index 000000000..21d22371d --- /dev/null +++ b/metagpt/prompts/minecraft/action_response_format.txt @@ -0,0 +1,15 @@ +Explain: ... +Plan: +1) ... +2) ... +3) ... +... +Code: +```javascript +// helper functions (only if needed, try to avoid them) +... +// main function after the helper functions +async function yourMainFunctionName(bot) { + // ... +} +```