diff options
| author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-20 16:55:07 -0400 |
|---|---|---|
| committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-08-20 16:55:07 -0400 |
| commit | 57dcd9e29a9b622493f8a4246545675385223572 (patch) | |
| tree | a8742c624aca33f1de80eeb3378c398c92b03287 /src | |
| parent | 9da46dd6b00bf4a9f733001fbe43edcf586fc634 (diff) | |
fixed prompt to be more explicit with action input structure
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/views/nodes/ChatBox/prompts.ts | 2 |
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 <action> tag to specify the tool.</substep> <substep>End your response after the <action> tag and wait for action rules to be provided.</substep> - <substep>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.</substep> + <substep>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.</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> |
