Describe the problem/error/question
I can’t filter metadata in supabase vector store using fromAI function.
I am implementing a chatbot where the user is asked to give a travel id, then the agent AI is supposed to extract this id from the documents table in the metadata column and after that make possible to query questions about that specific travel. In order to help the agent to extract only the chunks relative to that travel id I want to explicitly filter by that travel id using the fromAI function but I am struggling to figure out how this should work.
This is the setup of my tool:
This is the setup of my agent ai:
Any help or hint is really appreciated, thanks in advance.
What is the error message (if any)?
Error in bub-node “Answers finder”
Information on your n8n setup
- n8n version: 1.89.2
- Database (default: SQLite):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker compose
- Operating system: Ubuntu