From 57dcd9e29a9b622493f8a4246545675385223572 Mon Sep 17 00:00:00 2001 From: "A.J. Shulman" Date: Tue, 20 Aug 2024 16:55:07 -0400 Subject: fixed prompt to be more explicit with action input structure --- src/client/views/nodes/ChatBox/prompts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 Select the most appropriate tool. Use the <action> tag to specify the tool. End your response after the <action> tag and wait for action rules to be provided. - Based on the action rules, provide the necessary tool parameters within the <action_input> tag, including a brief description of what you're doing with the action. + Based on the action rules, provide the necessary tool parameters within the <inputs>. The <inputs> tag should be within the <action_input> tag, and should follow an <action_description> tag that contains a brief description of what you're doing with the action. End your response again and wait for the observation from the tool. If no tool is needed, use the 'no_tool' action but still follow the same response structure. -- cgit v1.2.3-70-g09d2