From ab321dc518c5f53550944e7a8becbffe1f6484e1 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Fri, 1 Nov 2024 17:48:35 -0700 Subject: [PATCH] Expect query before tool in response to give think space in research prompt --- src/khoj/processor/conversation/prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/processor/conversation/prompts.py b/src/khoj/processor/conversation/prompts.py index de57d6d8..864b864e 100644 --- a/src/khoj/processor/conversation/prompts.py +++ b/src/khoj/processor/conversation/prompts.py @@ -666,7 +666,7 @@ Which of the tool AIs listed below would you use to answer the user's question? Return the next tool AI to use and the query to ask it. Your response should always be a valid JSON object. Do not say anything else. Response format: -{{"scratchpad": "", "tool": "", "query": ""}} +{{"scratchpad": "", "query": "", "tool": ""}} """.strip() )