Bugfix/Missing Filter for VectorStore to Document (#2285)

add filter for vector store to document
This commit is contained in:
Henry Heng
2024-04-29 22:25:40 +01:00
committed by GitHub
parent c4eb75ddde
commit 2b1273ca31
17 changed files with 67 additions and 9 deletions
@@ -119,6 +119,9 @@ class Supabase_Existing_VectorStores implements INode {
return retriever
} else if (output === 'vectorStore') {
;(vectorStore as any).k = k
if (supabaseMetadataFilter) {
;(vectorStore as any).filter = obj.filter
}
return vectorStore
}
return vectorStore