add acceptVariable property to vector store metadata filter

This commit is contained in:
Henry 2025-09-13 00:15:36 +01:00
parent 6e2f2df269
commit 492c21ddd0
15 changed files with 30 additions and 15 deletions

View File

@ -74,7 +74,8 @@ class Chroma_VectorStores implements INode {
name: 'chromaMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',

View File

@ -96,7 +96,8 @@ class Couchbase_VectorStores implements INode {
name: 'couchbaseMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',

View File

@ -86,7 +86,8 @@ class Kendra_VectorStores implements INode {
description: 'Optional filter to apply when retrieving documents',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
}
]
// Note: Kendra doesn't support MMR search, but keeping the structure consistent

View File

@ -89,7 +89,8 @@ class MeilisearchRetriever_node implements INode {
type: 'string',
description: 'search filter to apply on searchable attributes',
additionalParams: true,
optional: true
optional: true,
acceptVariable: true
}
]
this.outputs = [

View File

@ -100,7 +100,8 @@ class Milvus_VectorStores implements INode {
description:
'Filter data with a simple string query. Refer Milvus <a target="_blank" href="https://milvus.io/blog/2022-08-08-How-to-use-string-data-to-empower-your-similarity-search-applications.md#Hybrid-search">docs</a> for more details.',
placeholder: 'doc=="a"',
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',

View File

@ -90,7 +90,8 @@ class MongoDBAtlas_VectorStores implements INode {
name: 'mongoMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',

View File

@ -97,7 +97,8 @@ class Pinecone_VectorStores implements INode {
name: 'pineconeMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',

View File

@ -194,7 +194,8 @@ class Postgres_VectorStores implements INode {
name: 'pgMetadataFilter',
type: 'json',
additionalParams: true,
optional: true
optional: true,
acceptVariable: true
},
{
label: 'Content Column Name',

View File

@ -171,7 +171,8 @@ class Qdrant_VectorStores implements INode {
description: 'Only return points which satisfy the conditions',
type: 'json',
additionalParams: true,
optional: true
optional: true,
acceptVariable: true
}
]
this.outputs = [

View File

@ -79,7 +79,8 @@ class Supabase_VectorStores implements INode {
name: 'supabaseMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Supabase RPC Filter',

View File

@ -80,7 +80,8 @@ class Upstash_VectorStores implements INode {
name: 'upstashMetadataFilter',
type: 'string',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',

View File

@ -65,7 +65,8 @@ class Vectara_VectorStores implements INode {
'Filter to apply to Vectara metadata. Refer to the <a target="_blank" href="https://docs.flowiseai.com/vector-stores/vectara">documentation</a> on how to use Vectara filters with Flowise.',
type: 'string',
additionalParams: true,
optional: true
optional: true,
acceptVariable: true
},
{
label: 'Sentences Before',

View File

@ -120,7 +120,8 @@ class Weaviate_VectorStores implements INode {
name: 'weaviateFilter',
type: 'json',
additionalParams: true,
optional: true
optional: true,
acceptVariable: true
}
]
addMMRInputParams(this.inputs)

View File

@ -69,7 +69,8 @@ class Zep_VectorStores implements INode {
name: 'zepMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Embedding Dimension',

View File

@ -59,7 +59,8 @@ class Zep_CloudVectorStores implements INode {
name: 'zepMetadataFilter',
type: 'json',
optional: true,
additionalParams: true
additionalParams: true,
acceptVariable: true
},
{
label: 'Top K',