PostgreSQL metadata filtering #3415
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Solved: noticed that I could introduce a metadata tag with the Doc Store and use a variable in the pg node filter. Then, using the API, the client introduces the metadata tag in the request body. |
Beta Was this translation helpful? Give feedback.
-
Was this using Document Store or actually Vector Store? I am trying to do the same to add a dynamic filter like this pgMetadataFilter:"{"user_id":"$flow.state.user_id"}" However, $flow.state.user_id does not appear to be getting translated. Please advise how you were able to solve it. Thanks |
Beta Was this translation helpful? Give feedback.
Solved: noticed that I could introduce a metadata tag with the Doc Store and use a variable in the pg node filter. Then, using the API, the client introduces the metadata tag in the request body.