mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 05:39:12 +00:00
Remove explicitly asking GPT to say I don't know in prompt for now
GPT still mostly says I don't know when answer not in notes or chats But with this its more inclined to answer general questions not in chats or notes while informing user that the information is not from existing chats or notes
This commit is contained in:
@@ -131,8 +131,7 @@ def converse(text, user_query, conversation_log=None, api_key=None, temperature=
|
||||
|
||||
personality_primer = "You are a friendly, helpful personal assistant."
|
||||
conversation_primer = f"""
|
||||
Using our chats and notes as context, answer the following question.
|
||||
If the answer is not contained within the provided context, say "I don't know." and provide reason.
|
||||
Using the notes and our chats as context, answer the following question.
|
||||
Current Date: {datetime.now().strftime("%Y-%m-%d")}
|
||||
|
||||
Notes:
|
||||
|
||||
Reference in New Issue
Block a user