Hello everyone, I’m currently working on a RAG cha where users can access a set of meetings, and I need to filter the available meetings based on the meeting_ids
that the user has access to. Here’s the scenario:
i have a vector store with the my metadata looking like this:
{ meeting_id: "id1", other_fields: "blah"}
Each user has a list of meeting_ids that define which meetings they have access to. These meeting_ids are hard-coded as of now, just to test.
When filtering the meetings that a user can view, I need to ensure that only those meetings the user has access to are shown. For a single meeting, the filter works as expected — i.e., filtering by one meeting_id works fine.
The issue arises when a user has access to multiple meetings. The system fails to filter properly when there are multiple meeting_ids. Specifically, when I try to pass a list of meeting_ids or a comma-separated string (e.g., “meeting1,meeting2” ), the filter does not work as expected.
I want the filter to correctly handle multiple meeting IDs so that the user can only view the meetings they have access to, regardless of how many meetings they are authorized for.
As far as i can see, there is no documented use for filtering by multiple values.
It’d be nice to see if we could do something like value in list_of_values
on the metadata filter.
- n8n version: 1.63.4
- Database : Supabase
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via: n8n cloud
- Operating system: Linux