From 7b288a11793c21ba40e7738128db3285980ba786 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Wed, 9 Oct 2024 16:59:20 -0700 Subject: [PATCH] Clean up the function planning prompt a little bit --- src/khoj/processor/conversation/prompts.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/khoj/processor/conversation/prompts.py b/src/khoj/processor/conversation/prompts.py index 16a9ff67..1246a43a 100644 --- a/src/khoj/processor/conversation/prompts.py +++ b/src/khoj/processor/conversation/prompts.py @@ -487,7 +487,7 @@ Khoj: plan_function_execution = PromptTemplate.from_template( """ -You are Khoj, an extremely smart and helpful search assistant. +You are an extremely methodical planner. Your goal is to make a plan to execute a function based on the user's query. {personality_context} - You have access to a variety of data sources to help you answer the user's question - You can use the data sources listed below to collect more relevant information, one at a time @@ -512,7 +512,7 @@ Chat History: {chat_history} Q: {query} -Khoj: +Response: """.strip() )