Hey everyone,
I’m using an AI Tools Agent to query a Pinecone Vector Store and getting the following error message when using multiple filters:
cannot provide both filter and this.filter
Here’s what’s happening:
- If i only specify a namespace for the Pinecone Vector Store, it works fine.
- If i only specify a metadata filter to the Pinecone Vector Store, it also works fine.
- However when I combine a namespace and a metadata filter, I get the error (cannot provide both filter and this.filter).
Same thing happens if I use two metadata filters without a namespace—so it seems like the issue is with multiple filters in general, not a specific combo.
EDIT: I have continued testing and this issue seems to only occur when i uses the Pinecone node: “Retrieve documents for AI agent as Tool”. Which is the type of Pinecone node that works with an AI Agent node (as shown in my example below)
However, if i use the Pinecone node “Retrieve documents for a Chain/Tool as a Vector Store” i am able to use multiple filters, – but this type of node cant be used with an AI Agent.
Anyone know what might be causing this?