mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(editor): Add RAG starter template callouts experiment (#16282)
Co-authored-by: Charlie Kolb <charlie@n8n.io>
This commit is contained in:
@@ -1251,6 +1251,7 @@ export type NodePropertyTypes =
|
||||
| 'fixedCollection'
|
||||
| 'hidden'
|
||||
| 'json'
|
||||
| 'callout'
|
||||
| 'notice'
|
||||
| 'multiOptions'
|
||||
| 'number'
|
||||
@@ -1294,6 +1295,12 @@ export type NodePropertyAction = {
|
||||
target?: string;
|
||||
};
|
||||
|
||||
export type CalloutActionType = 'openRagStarterTemplate';
|
||||
export interface CalloutAction {
|
||||
type: CalloutActionType;
|
||||
label: string;
|
||||
}
|
||||
|
||||
export interface INodePropertyTypeOptions {
|
||||
// Supported by: button
|
||||
buttonConfig?: {
|
||||
@@ -1326,6 +1333,7 @@ export interface INodePropertyTypeOptions {
|
||||
assignment?: AssignmentTypeOptions;
|
||||
minRequiredFields?: number; // Supported by: fixedCollection
|
||||
maxAllowedFields?: number; // Supported by: fixedCollection
|
||||
calloutAction?: CalloutAction; // Supported by: callout
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
@@ -2835,6 +2843,7 @@ export interface IUserSettings {
|
||||
npsSurvey?: NpsSurveyState;
|
||||
easyAIWorkflowOnboarded?: boolean;
|
||||
userClaimedAiCredits?: boolean;
|
||||
dismissedCallouts?: Record<string, boolean>;
|
||||
}
|
||||
|
||||
export interface IProcessedDataConfig {
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
},
|
||||
{
|
||||
"parameters": {
|
||||
"notice_tip": "",
|
||||
"aiAgentStarterCallout": "",
|
||||
"agent": "toolsAgent",
|
||||
"promptType": "define",
|
||||
"text": "=Add this user to my Users sheet:\n{{ $json.toJsonString() }}",
|
||||
|
||||
Reference in New Issue
Block a user