You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a web app where users upload a pdf file. I want the app such that when user A uploads a file, it should be stored in collection A and when users asks questions it should answer from collection A specifically. There would be N number of users. The question answering should not be mixed up and answers should be from the collection of that users only. Please help ASAP. I'm in an emergency situation @HenryHengZJ.
Frontend: Next.js
Backend: FastAPI
QA: Flowise AI
Database(relational and vector): PostgreSQL
The text was updated successfully, but these errors were encountered:
@anushvst You can use the metadata filter on the vector stores. Just assign the userID or a conversationID as metadata to the vector when it is being upserted, and then when you retrieve it you can filter the collection with the metadata value you assigned. That way it will only retrieve the relevant vectors. With this approach, all uploaded files are in the same collection.
My flow is this. The user asks question in the next.js UI. The question is sent to backend in fastapi. The question is then sent via API to flowise and then flowise generates answer and sends to fastapi and to the UI.
I understand but metadata filtering is a manual process from flowise. How can I send parameters via API to flowise from my backed like metadata for upserting and while retrieving how to set parameters while retrieving via backend code
currently via overriding flowise parameter, it is giving answers from other collections but not from a particular user collection
Frontend: Next.js
Backend: FastAPI
QA: Flowise AI
Database(relational and vector): PostgreSQL
I made a web app where users upload a pdf file. I want the app such that when user A uploads a file, it should be stored in collection A and when users asks questions it should answer from collection A specifically. There would be N number of users. The question answering should not be mixed up and answers should be from the collection of that users only. Please help ASAP. I'm in an emergency situation @HenryHengZJ.
Frontend: Next.js
Backend: FastAPI
QA: Flowise AI
Database(relational and vector): PostgreSQL
The text was updated successfully, but these errors were encountered: