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.63k stars 640 forks source link

Selective Cross Reference #717

Closed supermomo668 closed 3 months ago

supermomo668 commented 5 months ago

Allow users to select references by source that allow public to access through but agents they created

The subtitle should be self-explanatory. For certain use cases, users can selectively allow data they referenced that's linked to their user to be shared through agent they created for data sensitive use cases.

sabaimran commented 5 months ago

Hey @supermomo668 , let me make sure I've understood correctly. You want to be able to create your own agent and then selectively specify which files it can access? What do you mean by public access?

By default, the agents can access all of your files. Is it in particular that you want to set an explicit allow list & an implicit block list?

Are you self-hosting or using the cloud service? If self-hosting, is it a multi-user setup?

sabaimran commented 3 months ago

I believe this should be addressed with #788 . It's not specific to the agent, but the conversation, and it doesn't affect public consumption as that's not supported yet. Let me know if this roughly addresses your concern?