mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 09:36:44 +00:00
feat(editor): Rename 'Text' fields on AI nodes to 'Prompt' (#13416)
This commit is contained in:
@@ -338,7 +338,7 @@ export class ChainLlm implements INodeType {
|
||||
displayOptions: { show: { promptType: ['auto'], '@version': [{ _cnd: { gte: 1.5 } }] } },
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
displayName: 'Prompt (User Message)',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
required: true,
|
||||
|
||||
@@ -123,11 +123,12 @@ export class ChainRetrievalQa implements INodeType {
|
||||
displayOptions: { show: { promptType: ['auto'], '@version': [{ _cnd: { gte: 1.4 } }] } },
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
displayName: 'Prompt (User Message)',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: 'e.g. Hello, how can you help me?',
|
||||
typeOptions: {
|
||||
rows: 2,
|
||||
},
|
||||
|
||||
@@ -32,7 +32,7 @@ const properties: INodeProperties[] = [
|
||||
name: 'prompt',
|
||||
},
|
||||
{
|
||||
displayName: 'Text',
|
||||
displayName: 'Prompt (User Message)',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
default: '',
|
||||
|
||||
@@ -34,11 +34,12 @@ const properties: INodeProperties[] = [
|
||||
name: 'values',
|
||||
values: [
|
||||
{
|
||||
displayName: 'Text',
|
||||
displayName: 'Prompt',
|
||||
name: 'content',
|
||||
type: 'string',
|
||||
description: 'The content of the message to be send',
|
||||
default: '',
|
||||
placeholder: 'e.g. Hello, how can you help me?',
|
||||
typeOptions: {
|
||||
rows: 2,
|
||||
},
|
||||
|
||||
@@ -96,7 +96,7 @@ export const promptTypeOptions: INodeProperties = {
|
||||
};
|
||||
|
||||
export const textInput: INodeProperties = {
|
||||
displayName: 'Text',
|
||||
displayName: 'Prompt (User Message)',
|
||||
name: 'text',
|
||||
type: 'string',
|
||||
required: true,
|
||||
|
||||
Reference in New Issue
Block a user