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/retrievers/RRFRetriever/RRFRetriever.ts
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,26 @@ class RRFRetriever_Retrievers implements INode {
77
77
default: 60,
78
78
additionalParams: true,
79
79
optional: true
80
+
},
81
+
{
82
+
label: 'System Message',
83
+
name: 'systemMessage',
84
+
description: 'System message for query generation. Leave empty to use default.',
85
+
type: 'string',
86
+
rows: 2,
87
+
placeholder: 'You are a helpful assistant that generates multiple search queries based on a single input query.',
88
+
additionalParams: true,
89
+
optional: true
90
+
},
91
+
{
92
+
label: 'Query Generation Prompt',
93
+
name: 'queryPrompt',
94
+
description: 'Prompt template for generating query variations. Use {input} to refer to the original query.',
95
+
type: 'string',
96
+
rows: 4,
97
+
placeholder: 'Generate multiple search queries related to: {input}. Provide these alternative questions separated by newlines, do not add any numbers.',
98
+
additionalParams: true,
99
+
optional: true
80
100
}
81
101
]
82
102
this.outputs=[
@@ -110,9 +130,11 @@ class RRFRetriever_Retrievers implements INode {
0 commit comments