You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/components/nodes/vectorstores/Milvus/Milvus_Existing.ts
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ class Milvus_Existing_VectorStores implements INode {
21
21
constructor(){
22
22
this.label='Milvus Load Existing collection'
23
23
this.name='milvusExistingCollection'
24
-
this.version=1.0
24
+
this.version=2.0
25
25
this.type='Milvus'
26
26
this.icon='milvus.svg'
27
27
this.category='Vector Stores'
@@ -50,6 +50,25 @@ class Milvus_Existing_VectorStores implements INode {
50
50
label: 'Milvus Collection Name',
51
51
name: 'milvusCollection',
52
52
type: 'string'
53
+
},
54
+
{
55
+
label: 'Milvus Filter',
56
+
name: 'milvusFilter',
57
+
type: 'string',
58
+
optional: true,
59
+
description:
60
+
'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.',
61
+
placeholder: 'doc=="a"',
62
+
additionalParams: true
63
+
},
64
+
{
65
+
label: 'Top K',
66
+
name: 'topK',
67
+
description: 'Number of top results to fetch. Default to 4',
68
+
placeholder: '4',
69
+
type: 'number',
70
+
additionalParams: true,
71
+
optional: true
53
72
}
54
73
]
55
74
this.outputs=[
@@ -70,6 +89,7 @@ class Milvus_Existing_VectorStores implements INode {
0 commit comments