zylon-ai / private-gpt

Interact with your documents using the power of GPT, 100% privately, no data leaks
https://privategpt.dev
Apache License 2.0
53.61k stars 7.21k forks source link

Add support for multiple users, each with their own document collection #1474

Open adamford8 opened 8 months ago

adamford8 commented 8 months ago

Right now PrivateGPT is great for a single person to host locally and use. It would be great to add the concept of users to the app and to give each user the ability to upload and manage their own documents. If we can do this, PrivateGPT all of a sudden becomes interesting for widespread business/enterprise use. It would work like the following:

Vision: self-host this centrally, and have users from all around a business use this as their interface to RAG and LLM chat.

adamford8 commented 8 months ago

User login would also ideally support SSO.

github-actions[bot] commented 7 months ago

Stale issue

adamford8 commented 7 months ago

Has this been added? Amazing if so

osafaimal commented 7 months ago

I don't really think it is added and i hope it will. If it was i don't find how to use it.

teewreh commented 6 months ago

I would suggest that you should have the ability to give global access to some files—that way, there won't be several uploads of the same document. The uploader should have the opportunity to choose access rights. From global (visible to all within the organization) to local access for just the user.

It'll be great to have the logic of departments or maybe AD integration to provide more granular RBAC in the long term.

tvvignesh commented 5 months ago

Adding to this, making login optional would be better - you can still store the context of each user in their own local storage instead of the server.