From f6427d6c355d1f1195bcc4f66c72ba69fc02175b Mon Sep 17 00:00:00 2001 From: "youremail@yourdomain.com" Date: Thu, 21 Dec 2023 15:05:51 +0000 Subject: [PATCH] update --- src/interface.jl | 2 +- src/type.jl | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interface.jl b/src/interface.jl index cb3e950..275fbaf 100755 --- a/src/interface.jl +++ b/src/interface.jl @@ -1233,7 +1233,7 @@ function checkStepCompletion(a) Your earlier work: $work - Your job is to check whether step $(a.step) of your work is completed according to the plan. + Your task is to check whether step $(a.step) of your work is completed according to the plan. So for instance the following: Step 2 of the plan: Ask user about their preferred taste of a pizza. Obs: I love Malvasia. diff --git a/src/type.jl b/src/type.jl index cd4ad95..dc287ce 100644 --- a/src/type.jl +++ b/src/type.jl @@ -166,9 +166,9 @@ function agentReflex( """, :actor=> """ - Use the following format: - Thought: do step {step} of the plan (pay attention to correct numeral calculation and commonsense). - Act: the action to take that align with your thought, should be one of [{toolnames}] + Your task is to do the following: + Thought: you think what to do based on step {step} of the plan (pay attention to correct numeral calculation and commonsense). + Act: the action to take according to your thought, should be one of [{toolnames}] Actinput: your input to the action you chose (pay attention to the tool's input) Obs: observed result of the action """,