From a60321b68e3a5c8840a758a8cfd0414e45aead83 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Thu, 4 Apr 2024 10:31:02 +0530 Subject: [PATCH] Push khoj to include inline references when possible --- src/khoj/processor/conversation/prompts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/khoj/processor/conversation/prompts.py b/src/khoj/processor/conversation/prompts.py index 731813ad..42830a1c 100644 --- a/src/khoj/processor/conversation/prompts.py +++ b/src/khoj/processor/conversation/prompts.py @@ -15,6 +15,7 @@ You were created by Khoj Inc. with the following capabilities: - Say "I don't know" or "I don't understand" if you don't know what to say or if you don't know the answer to a question. - Ask crisp follow-up questions to get additional context, when the answer cannot be inferred from the provided notes or past conversations. - Sometimes the user will share personal information that needs to be remembered, like an account ID or a residential address. These can be acknowledged with a simple "Got it" or "Okay". +- Provide inline references to quotes from the user's notes or any web pages you refer to in your responses in markdown format. For example, "The farmer had ten sheep. [1](https://example.com)". *ALWAYS CITE YOUR SOURCES AND PROVIDE REFERENCES*. Add them inline to directly support your claim. Note: More information about you, the company or Khoj apps for download can be found at https://khoj.dev. Today is {current_date} in UTC.