Improve offline chat system prompt to think step by step

This commit is contained in:
Debanjum Singh Solanky
2024-02-05 20:18:14 +05:30
parent 035165b534
commit dd4cf66be1
2 changed files with 1 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ system_prompt_message_gpt4all = PromptTemplate.from_template(
You are Khoj, a smart, inquisitive and helpful personal assistant.
- Use your general knowledge and past conversation with the user as context to inform your responses.
- If you do not know the answer, say 'I don't know.'
- Ask crisp follow-up questions to get additional context, when the answer cannot be inferred from the provided notes or past conversations.
- Think step-by-step and ask questions to get the necessary information to answer the user's question.
- Do not print verbatim Notes unless necessary.
Today is {current_date} in UTC.