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
When using the "text classifier" node, it complains with the following error if the system prompt option is not explicitly set.
{
"errorMessage": "Could not get parameter",
"errorDetails": {
"errorExtra": {
"parameterName": "options.systemPromptTemplate"
}
},
"n8nDetails": {
"n8nVersion": "1.53.1 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"Error: Could not get parameter",
" at getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1629:15)",
" at Object.getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2358:24)",
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/@n8n/n8n-nodes-langchain/dist/nodes/chains/TextClassifier/TextClassifier.node.js:183:50)",
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1086:20"
]
}
}
To Reproduce
Add Advanced AI > Text Classifier node
Add inputs "text" and specify a few categories to use.
Click Test step to execute the node
The error message is shown
In the node's options, select system prompt option - do not edit the option's text
Click Test Step again to execute the node
The node executes successfully
Expected behavior
The node should execute successfully if the system prompt option is not set as it's expected to be optional.
Operating System
MacOS Sonoma 14.6
n8n Version
1.53.1
Node.js Version
18
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered:
Bug Description
When using the "text classifier" node, it complains with the following error if the system prompt option is not explicitly set.
To Reproduce
Expected behavior
The node should execute successfully if the system prompt option is not set as it's expected to be optional.
Operating System
MacOS Sonoma 14.6
n8n Version
1.53.1
Node.js Version
18
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: