Is this a new bug?
Describe the bug
Filtering file results by metadata does not apply filter and instead returns all files in the assistant.
Error information
No errors, just unexpectedly receiving all files instead of the filtered list.
Steps to reproduce the issue locally
const pc = new Pinecone();
const assistant = pc.Assistant(assistantName);
const files = await assistant.listFiles({
filter: {
metadata: {
version: "v1",
},
},
});
console.log(files.files) // returns files with metadata: {"version": "v2"}
Environment
- OS and version: Windows (WSL)
- Node version: 18
- Typescript SDK version: 5
Additional context
I have tried to bypass this bug by using the curl example, but it appears to be a GET request with a -d request body, which throws errors in node.
Is this a new bug?
Describe the bug
Filtering file results by metadata does not apply filter and instead returns all files in the assistant.
Error information
No errors, just unexpectedly receiving all files instead of the filtered list.
Steps to reproduce the issue locally
Environment
Additional context
I have tried to bypass this bug by using the curl example, but it appears to be a GET request with a -d request body, which throws errors in node.