From e47e4bf67152fae727374974fecf294aff56c257 Mon Sep 17 00:00:00 2001 From: Miguel Prytoluk <107938570+mprytoluk@users.noreply.github.com> Date: Fri, 5 Apr 2024 10:51:54 -0300 Subject: [PATCH] fix(Summarization Chain Node): 'Final Prompt to Combine' and 'Individual Summary Prompt' options (#8391) --- .../ChainSummarization/V2/ChainSummarizationV2.node.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.ts b/packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.ts index 6c9aa29bb4847..c17b2edb0819f 100644 --- a/packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.ts +++ b/packages/@n8n/nodes-langchain/nodes/chains/ChainSummarization/V2/ChainSummarizationV2.node.ts @@ -211,10 +211,10 @@ export class ChainSummarizationV2 implements INodeType { ], }, { - displayName: 'Final Prompt to Combine', + displayName: 'Individual Summary Prompt', name: 'combineMapPrompt', type: 'string', - hint: 'The prompt to combine individual summaries', + hint: 'The prompt to summarize an individual document (or chunk)', displayOptions: { hide: { '/options.summarizationMethodAndPrompts.values.summarizationMethod': [ @@ -229,11 +229,11 @@ export class ChainSummarizationV2 implements INodeType { }, }, { - displayName: 'Individual Summary Prompt', + displayName: 'Final Prompt to Combine', name: 'prompt', type: 'string', default: DEFAULT_PROMPT_TEMPLATE, - hint: 'The prompt to summarize an individual document (or chunk)', + hint: 'The prompt to combine individual summaries', displayOptions: { hide: { '/options.summarizationMethodAndPrompts.values.summarizationMethod': [