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/agents/CSVAgent/CSVAgent.ts
+14-1
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,16 @@ class CSV_Agents implements INode {
37
37
label: 'Language Model',
38
38
name: 'model',
39
39
type: 'BaseLanguageModel'
40
+
},
41
+
{
42
+
label: 'System Message',
43
+
name: 'systemMessagePrompt',
44
+
type: 'string',
45
+
rows: 4,
46
+
additionalParams: true,
47
+
optional: true,
48
+
placeholder:
49
+
'I want you to act as a document that I am having a conversation with. Your name is "AI Assistant". You will provide me with answers from the given info. If the answer is not included, say exactly "Hmm, I am not sure." and stop after that. Refuse to answer any question not about the info. Never break character.'
40
50
}
41
51
]
42
52
}
@@ -49,6 +59,7 @@ class CSV_Agents implements INode {
0 commit comments