private-gpt
private-gpt copied to clipboard
Add support for multiple users, each with their own document collection
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:
- each user has their own account
- each user can login, and upload their own documents (which are private to them)
- when users use the query or search in docs modes, their results are limited to the documents they have uploaded and the results do not include other users' documents
- a user could then upload all the docs relating to a project they are working on, and interrogate them using PrivateGPT
Vision: self-host this centrally, and have users from all around a business use this as their interface to RAG and LLM chat.
User login would also ideally support SSO.
Stale issue
Has this been added? Amazing if so
I don't really think it is added and i hope it will. If it was i don't find how to use it.
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.
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.