Find answers from the community

Updated 8 months ago

Hi, im trying to setup a multi-tenancy

Hi, im trying to setup a multi-tenancy program. The users are all seperate and have seperate index locations (User1_Index/IndexedPDF1; User2_Index/IndexedPdf2...). Im having trouble when two or more users are loading a new index from storage, as in, another user overrides the other users loaded index. Example: User1 has PDF1, User2 loads PDF2, User1 and User2 has PDF2 "loaded", but ofcourse, user2 gets an empty response due to my metadata filter. Should I have just one big index with all the indices or is there a way to split the index loading between users.
L
1 comment
I think the idea would be tag your documents with metadata of which user they belong to, and then for that users request, filter appropriately
Add a reply
Sign up and join the conversation on Discord