khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
14.75k stars 735 forks source link

Support customizing Q&A use cases #434

Closed wenlzhang closed 1 year 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 1 year 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