fix(Summarization Chain Node): 'Final Prompt to Combine' and 'Individual Summary Prompt' options (#8391)

This commit is contained in:
Miguel Prytoluk 2024-04-05 10:51:54 -03:00 committed by GitHub
parent f2143620ba
commit e47e4bf671
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -211,10 +211,10 @@ export class ChainSummarizationV2 implements INodeType {
], ],
}, },
{ {
displayName: 'Final Prompt to Combine', displayName: 'Individual Summary Prompt',
name: 'combineMapPrompt', name: 'combineMapPrompt',
type: 'string', type: 'string',
hint: 'The prompt to combine individual summaries', hint: 'The prompt to summarize an individual document (or chunk)',
displayOptions: { displayOptions: {
hide: { hide: {
'/options.summarizationMethodAndPrompts.values.summarizationMethod': [ '/options.summarizationMethodAndPrompts.values.summarizationMethod': [
@ -229,11 +229,11 @@ export class ChainSummarizationV2 implements INodeType {
}, },
}, },
{ {
displayName: 'Individual Summary Prompt', displayName: 'Final Prompt to Combine',
name: 'prompt', name: 'prompt',
type: 'string', type: 'string',
default: DEFAULT_PROMPT_TEMPLATE, default: DEFAULT_PROMPT_TEMPLATE,
hint: 'The prompt to summarize an individual document (or chunk)', hint: 'The prompt to combine individual summaries',
displayOptions: { displayOptions: {
hide: { hide: {
'/options.summarizationMethodAndPrompts.values.summarizationMethod': [ '/options.summarizationMethodAndPrompts.values.summarizationMethod': [