khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.64k stars 640 forks source link

Support customizing Q&A use cases #434

Closed wenlzhang closed 11 months ago

wenlzhang commented 1 year ago

I can think of three use cases for now: chatting with own documents; continuous conversations with documents; and general chatting. For me, I am more interested in Q&A with own documents, which are the first two cases.

debanjum commented 1 year ago

Thanks for opening an issue to track this. We can add a command to limit Khoj to answer from your documents only. See the discussion on discord

debanjum commented 11 months ago

This was resolved in #463. Using /notes prefix in your messages should limit Khoj to only respond using your documents as reference. See docs for reference