aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ChatBox/prompts.ts
diff options
context:
space:
mode:
authorA.J. Shulman <Shulman.aj@gmail.com>2024-08-07 13:08:41 -0400
committerA.J. Shulman <Shulman.aj@gmail.com>2024-08-07 13:08:41 -0400
commitb7c024c8c5b85f91828d6cd20ffc3bfca229af21 (patch)
tree74536498c0301dbbc53b67f2eaac5fd40a7fa3d9 /src/client/views/nodes/ChatBox/prompts.ts
parenta4107cdf6d53654275a678a79eff9962bcd02beb (diff)
trying to get rules to delete after using rool
Diffstat (limited to 'src/client/views/nodes/ChatBox/prompts.ts')
-rw-r--r--src/client/views/nodes/ChatBox/prompts.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/ChatBox/prompts.ts b/src/client/views/nodes/ChatBox/prompts.ts
index b2883f71a..d520a7b7d 100644
--- a/src/client/views/nodes/ChatBox/prompts.ts
+++ b/src/client/views/nodes/ChatBox/prompts.ts
@@ -34,7 +34,7 @@ export function getReactPrompt(tools: Tool[], summaries: () => string, chatHisto
e. !!!Use the retrieval (RAG) tool ANYTIME the question may potentially (even if you are not sure) relate to one of the user's documents. Here are the summaries of the user's documents:
${summaries()}
f. Based on observations or your knowledge, formulate your answer.
- g. Provide the final answer in the <answer> tag, including follow-up questions.
+ g. Provide the final answer in the <answer> tag, including user-perspective follow-up questions.
4. Available Tools:
${toolDescriptions}
@@ -52,7 +52,7 @@ export function getReactPrompt(tools: Tool[], summaries: () => string, chatHisto
6. Answer Format:
Your final <answer> tag must contain:
- The complete answer to the user's query.
- - An array of EXACTLY 3 follow-up questions within <follow_up_questions> tags.
+ - An array of EXACTLY 3 follow-up questions (WRITTEN IN THE PERSPECTIVE OF THE USER ASKING A FOLLOW-UP QUESTION) within <follow_up_questions> tags.
7. Example Interaction (YOU ONLY OUTPUT THE ASSISTANT STEPS):
SYSTEM: