mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01: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:
parent
f7b8cdd02e
commit
3838f9d8e3
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue