aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-08-20 16:55:07 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2024-08-20 16:55:07 -0400
commit57dcd9e29a9b622493f8a4246545675385223572 (patch)
treea8742c624aca33f1de80eeb3378c398c92b03287 /src
parent9da46dd6b00bf4a9f733001fbe43edcf586fc634 (diff)
fixed prompt to be more explicit with action input structure
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/ChatBox/prompts.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/ChatBox/prompts.ts b/src/client/views/nodes/ChatBox/prompts.ts
index 4a67ac1d1..200a0fa75 100644
--- a/src/client/views/nodes/ChatBox/prompts.ts
+++ b/src/client/views/nodes/ChatBox/prompts.ts
@@ -86,7 +86,7 @@ export function getReactPrompt(tools: Tool[], summaries: () => string, chatHisto
<substep>Select the most appropriate tool.</substep>
<substep>Use the &lt;action&gt; tag to specify the tool.</substep>
<substep>End your response after the &lt;action&gt; tag and wait for action rules to be provided.</substep>
- <substep>Based on the action rules, provide the necessary tool parameters within the &lt;action_input&gt; tag, including a brief description of what you're doing with the action.</substep>
+ <substep>Based on the action rules, provide the necessary tool parameters within the &lt;inputs&gt;. The &lt;inputs&gt; tag should be within the &lt;action_input&gt; tag, and should follow an &lt;action_description&gt; tag that contains a brief description of what you're doing with the action.</substep>
<substep>End your response again and wait for the observation from the tool.</substep>
</substeps>
<step>If no tool is needed, use the 'no_tool' action but still follow the same response structure.</step>