From b2085b616ee64ebc231d74faed667ba333bc9f92 Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 3 Sep 2024 18:57:50 +0530 Subject: [PATCH 1/3] updating the form config for Appsmith AI plugin to use sections and zones --- .../formControls/DynamicInputTextControl.tsx | 5 +- .../resources/editor/imageCaptioning.json | 86 +++++++----- .../resources/editor/imageClassification.json | 121 +++++++++------- .../editor/imageEntityExtraction.json | 124 ++++++++++------- .../src/main/resources/editor/root.json | 74 +++++----- .../resources/editor/textClassification.json | 131 ++++++++++-------- .../editor/textEntityExtraction.json | 115 ++++++++------- .../main/resources/editor/textGeneration.json | 124 ++++++++++------- .../resources/editor/textSummarization.json | 102 ++++++++------ 9 files changed, 513 insertions(+), 369 deletions(-) diff --git a/app/client/src/components/formControls/DynamicInputTextControl.tsx b/app/client/src/components/formControls/DynamicInputTextControl.tsx index 874a8c9e9e32..752dbede4233 100644 --- a/app/client/src/components/formControls/DynamicInputTextControl.tsx +++ b/app/client/src/components/formControls/DynamicInputTextControl.tsx @@ -84,7 +84,10 @@ export function InputText(props: { } } return ( -
+
{/*
*/} your Appsmith AI Datasource > Edit > Upload files)", - "isRequired": false, - "propertyName": "fileIds", - "configProperty": "actionConfiguration.formData.fileIds.data", - "controlType": "DROP_DOWN", - "initialValue": [], - "options": [], - "isMultiSelect": true, - "placeholderText": "Select files", - "fetchOptionsConditionally": true, - "conditionals": { - "enable": "{{true}}", - "fetchDynamicValues": { - "condition": "{{actionConfiguration.formData.usecase.data === 'TEXT_GENERATE'}}", - "config": { - "params": { - "requestType": "LIST_FILES", - "displayType": "DROP_DOWN" + "controlType": "DOUBLE_COLUMN_ZONE", + "identifier": "TEXT-GENERATE-Z3", + "children": [ + { + "label": "Use context from files", + "tooltipText": "Enhance the AI response by providing custom context. Using this option will generate accurate responses that are grounded in file contents.", + "subtitle": "Select files for enhanced AI responses based on file contents. Upload files on the datasource (Data > your Appsmith AI Datasource > Edit > Upload files)", + "isRequired": false, + "propertyName": "fileIds", + "configProperty": "actionConfiguration.formData.fileIds.data", + "controlType": "DROP_DOWN", + "initialValue": [], + "options": [], + "isMultiSelect": true, + "placeholderText": "Select files", + "fetchOptionsConditionally": true, + "conditionals": { + "enable": "{{true}}", + "fetchDynamicValues": { + "condition": "{{actionConfiguration.formData.usecase.data === 'TEXT_GENERATE'}}", + "config": { + "params": { + "requestType": "LIST_FILES", + "displayType": "DROP_DOWN" + } + } } } } - } + ] } ] } diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json index 0ba71c93df2d..66bbe03a04d2 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json @@ -1,59 +1,77 @@ { + "controlType": "SECTION_V2", "identifier": "TEXT_SUMMARY", - "controlType": "SECTION", "conditionals": { "show": "{{actionConfiguration.formData.usecase.data === 'TEXT_SUMMARY'}}" }, "children": [ { - "label": "Try out these examples", - "Description": "Try out these examples", - "subtitle": "", - "configProperty": "", - "controlType": "FORM_TEMPLATE", - "isRequired": false, - "options": [ + "controlType": "DOUBLE_COLUMN_ZONE", + "identifier": "TEXT-SUMMARY-Z1", + "children": [ { - "label": "Support conversation", - "value": { - "actionConfiguration.formData.textSummary.input.data": "[\"Hey team, I am experiencing difficulties with logging into my account. Despite entering the correct credentials, I keep getting an error message. This issue is preventing me from accessing your services, and I would appreciate a prompt resolution. Regards, Bob\", \n\"Hello Bob, Thank you for reaching out. We apologize for the inconvenience. Can you please confirm if you have tried resetting your password? Additionally, please ensure that your browser is up-to-date. Best, Support Team\",\n\"Hi, I tried resetting my password, but the issue persists. Also, my browser is updated to the latest version. Can you please look into this further? Thanks, Bob\",\n\"Thank you for the update, Bob. We will investigate this further and get back to you shortly. In the meantime, can you try accessing your account from a different device? Regards, Support Team\"]", - "actionConfiguration.formData.textSummary.instructions.data": "The input is a customer support conversation and contains an array of messages between the customer and the support agent. Summarise the conversation in less than 200 words." - } - }, - { - "label": "Blog post", - "value": { - "actionConfiguration.formData.textSummary.input.data": "The iPhone 15, Apple's latest entry in its iconic smartphone series, is a testament to the company's continued innovation and commitment to user experience. This review delves into its design, performance, camera, battery life, and unique features, offering a comprehensive overview for both tech enthusiasts and the average consumer. The iPhone 15 sports a sleek design that follows Apple's philosophy of elegance and simplicity. The chassis, a harmonious blend of glass and stainless steel, feels robust yet luxurious. It’s slightly lighter than its predecessor, making it more comfortable to hold for extended periods. The standout design element is the bezel-less OLED display, which offers an immersive viewing experience. The IP68 rating ensures durability against dust and water, making it a reliable companion for everyday use. The Super Retina XDR display on the iPhone 15 is a visual feast. The colors are vibrant, and the blacks are deep, thanks to the OLED technology. With a 120Hz refresh rate, the responsiveness is fluid, whether scrolling through web pages or playing high-intensity games. The brightness levels are impressive, offering excellent visibility even in direct sunlight.\nAudio quality has also seen an upgrade. The speakers deliver richer and more detailed sound, enhancing the overall multimedia experience. Whether it's watching movies or playing games, the audio is immersive and well-balanced. At the heart of the iPhone 15 is Apple's new A17 Bionic chip, which sets a new benchmark in smartphone performance. Coupled with improved machine learning capabilities and a more efficient GPU, it handles everything from everyday tasks to demanding applications with ease. The iOS integration is seamless, providing a user-friendly and intuitive interface. The camera system on the iPhone 15 is where Apple has made significant strides. The new sensor-shift optical image stabilization is a game-changer, particularly in low-light conditions. The images are sharp, with excellent dynamic range and color accuracy. The Night mode is more refined, capturing stunning details in dark environments.\nThe video capabilities are equally impressive. The Cinematic mode, which allows for depth-of-field adjustments, brings a professional touch to video recordings. The ProRAW and ProRes formats cater to professional photographers and videographers who demand higher control and quality. Battery life has always been a strong suit for iPhones, and the iPhone 15 continues this tradition. Even with heavy usage, the phone comfortably lasts a full day, thanks to the efficiency of the A17 chip and the larger battery. The fast charging and MagSafe wireless charging are convenient, though the absence of a charging brick in the box may be a point of contention for some users.The iPhone 15 introduces some noteworthy features. The integration of satellite connectivity for emergency services is a significant safety addition. The improved Face ID works flawlessly, even with masks, making it more practical in current times. The iPhone 15 is a remarkable smartphone that balances innovation with user experience. While it follows the evolutionary path rather than a revolutionary leap, the refinements in camera technology, performance, and unique features like satellite connectivity make it a compelling choice for anyone looking to upgrade. The higher price point might be a hurdle, but for those invested in the Apple ecosystem, the iPhone 15 offers a seamless and premium experience that's hard to match.", - "actionConfiguration.formData.textSummary.instructions.data": "Summarise the phone review in less than 250 words and highlight the key features." - } - }, - { - "label": "Inspection report", - "value": { - "actionConfiguration.formData.textSummary.input.data": "So, this Honda Civic here is 5 years old, got an automatic transmission, and a 1.2L engine. She's been on the road for about 50,000 km. Overall, she's doing okay, but there are a few things that need some attention. The brake pads are pretty much worn out. It's important to get these changed soon for safety, especially when you need to stop quickly or in wet conditions. Next, let's talk tires. The tread on these is getting pretty low, almost hitting the legal limit. Definitely need new ones for a better grip on the road, you don't want to be slipping around, especially when it's raining. Now, the battery is showing its age, not holding charge like it used to. Wouldn't be surprised if one day it just doesn't start the car. Better to swap it out now than be stuck later. The suspension bushings, too, are worn. Changing them will definitely improve the ride, make it smoother. The rest of the car – the engine, transmission, and the interior – they're all in pretty good shape. Just the usual signs of use, nothing major. If you keep up with regular maintenance and take care of these issues I've mentioned, she's going to keep running smoothly for a good long time. Regular check-ups, fixing these bits, and she'll be good as new.", - "actionConfiguration.formData.textSummary.instructions.data": "Summarise the inspection report in less than 100 words and highlight the most important points to be noted" - } + "label": "Try out these examples", + "Description": "Try out these examples", + "subtitle": "", + "configProperty": "", + "controlType": "FORM_TEMPLATE", + "isRequired": false, + "options": [ + { + "label": "Support conversation", + "value": { + "actionConfiguration.formData.textSummary.input.data": "[\"Hey team, I am experiencing difficulties with logging into my account. Despite entering the correct credentials, I keep getting an error message. This issue is preventing me from accessing your services, and I would appreciate a prompt resolution. Regards, Bob\", \n\"Hello Bob, Thank you for reaching out. We apologize for the inconvenience. Can you please confirm if you have tried resetting your password? Additionally, please ensure that your browser is up-to-date. Best, Support Team\",\n\"Hi, I tried resetting my password, but the issue persists. Also, my browser is updated to the latest version. Can you please look into this further? Thanks, Bob\",\n\"Thank you for the update, Bob. We will investigate this further and get back to you shortly. In the meantime, can you try accessing your account from a different device? Regards, Support Team\"]", + "actionConfiguration.formData.textSummary.instructions.data": "The input is a customer support conversation and contains an array of messages between the customer and the support agent. Summarise the conversation in less than 200 words." + } + }, + { + "label": "Blog post", + "value": { + "actionConfiguration.formData.textSummary.input.data": "The iPhone 15, Apple's latest entry in its iconic smartphone series, is a testament to the company's continued innovation and commitment to user experience. This review delves into its design, performance, camera, battery life, and unique features, offering a comprehensive overview for both tech enthusiasts and the average consumer. The iPhone 15 sports a sleek design that follows Apple's philosophy of elegance and simplicity. The chassis, a harmonious blend of glass and stainless steel, feels robust yet luxurious. It’s slightly lighter than its predecessor, making it more comfortable to hold for extended periods. The standout design element is the bezel-less OLED display, which offers an immersive viewing experience. The IP68 rating ensures durability against dust and water, making it a reliable companion for everyday use. The Super Retina XDR display on the iPhone 15 is a visual feast. The colors are vibrant, and the blacks are deep, thanks to the OLED technology. With a 120Hz refresh rate, the responsiveness is fluid, whether scrolling through web pages or playing high-intensity games. The brightness levels are impressive, offering excellent visibility even in direct sunlight.\nAudio quality has also seen an upgrade. The speakers deliver richer and more detailed sound, enhancing the overall multimedia experience. Whether it's watching movies or playing games, the audio is immersive and well-balanced. At the heart of the iPhone 15 is Apple's new A17 Bionic chip, which sets a new benchmark in smartphone performance. Coupled with improved machine learning capabilities and a more efficient GPU, it handles everything from everyday tasks to demanding applications with ease. The iOS integration is seamless, providing a user-friendly and intuitive interface. The camera system on the iPhone 15 is where Apple has made significant strides. The new sensor-shift optical image stabilization is a game-changer, particularly in low-light conditions. The images are sharp, with excellent dynamic range and color accuracy. The Night mode is more refined, capturing stunning details in dark environments.\nThe video capabilities are equally impressive. The Cinematic mode, which allows for depth-of-field adjustments, brings a professional touch to video recordings. The ProRAW and ProRes formats cater to professional photographers and videographers who demand higher control and quality. Battery life has always been a strong suit for iPhones, and the iPhone 15 continues this tradition. Even with heavy usage, the phone comfortably lasts a full day, thanks to the efficiency of the A17 chip and the larger battery. The fast charging and MagSafe wireless charging are convenient, though the absence of a charging brick in the box may be a point of contention for some users.The iPhone 15 introduces some noteworthy features. The integration of satellite connectivity for emergency services is a significant safety addition. The improved Face ID works flawlessly, even with masks, making it more practical in current times. The iPhone 15 is a remarkable smartphone that balances innovation with user experience. While it follows the evolutionary path rather than a revolutionary leap, the refinements in camera technology, performance, and unique features like satellite connectivity make it a compelling choice for anyone looking to upgrade. The higher price point might be a hurdle, but for those invested in the Apple ecosystem, the iPhone 15 offers a seamless and premium experience that's hard to match.", + "actionConfiguration.formData.textSummary.instructions.data": "Summarise the phone review in less than 250 words and highlight the key features." + } + }, + { + "label": "Inspection report", + "value": { + "actionConfiguration.formData.textSummary.input.data": "So, this Honda Civic here is 5 years old, got an automatic transmission, and a 1.2L engine. She's been on the road for about 50,000 km. Overall, she's doing okay, but there are a few things that need some attention. The brake pads are pretty much worn out. It's important to get these changed soon for safety, especially when you need to stop quickly or in wet conditions. Next, let's talk tires. The tread on these is getting pretty low, almost hitting the legal limit. Definitely need new ones for a better grip on the road, you don't want to be slipping around, especially when it's raining. Now, the battery is showing its age, not holding charge like it used to. Wouldn't be surprised if one day it just doesn't start the car. Better to swap it out now than be stuck later. The suspension bushings, too, are worn. Changing them will definitely improve the ride, make it smoother. The rest of the car – the engine, transmission, and the interior – they're all in pretty good shape. Just the usual signs of use, nothing major. If you keep up with regular maintenance and take care of these issues I've mentioned, she's going to keep running smoothly for a good long time. Regular check-ups, fixing these bits, and she'll be good as new.", + "actionConfiguration.formData.textSummary.instructions.data": "Summarise the inspection report in less than 100 words and highlight the most important points to be noted" + } + } + ] } ] }, { - "label": "Input", - "Description": "Provide some text for AI to summarise", - "subtitle": "Provide some text for AI to summarise", - "configProperty": "actionConfiguration.formData.textSummary.input.data", - "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", - "controlType": "QUERY_DYNAMIC_TEXT", - "isRequired": true + "controlType": "SINGLE_COLUMN_ZONE", + "identifier": "TEXT-SUMMARY-Z2", + "children": [ + { + "label": "Input", + "Description": "Provide some text for AI to summarise", + "subtitle": "Provide some text for AI to summarise", + "configProperty": "actionConfiguration.formData.textSummary.input.data", + "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", + "controlType": "QUERY_DYNAMIC_TEXT", + "isRequired": true + } + ] }, { - "label": "Additional Instructions", - "Description": "Provide additional instructions for the AI to tweak the summarization", - "subtitle": "Provide additional instructions for the AI to tweak the summarization", - "configProperty": "actionConfiguration.formData.textSummary.instructions.data", - "controlType": "QUERY_DYNAMIC_TEXT", - "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", - "initialValue": "", - "isRequired": false + "controlType": "SINGLE_COLUMN_ZONE", + "identifier": "TEXT-SUMMARY-Z3", + "children": [ + { + "label": "Additional Instructions", + "Description": "Provide additional instructions for the AI to tweak the summarization", + "subtitle": "Provide additional instructions for the AI to tweak the summarization", + "configProperty": "actionConfiguration.formData.textSummary.instructions.data", + "controlType": "QUERY_DYNAMIC_TEXT", + "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", + "initialValue": "", + "isRequired": false + } + ] } ] } From 3f0e9aad923795dfa0d24be1086b077c50ea98ca Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Tue, 3 Sep 2024 19:01:25 +0530 Subject: [PATCH 2/3] updating styles for dynamic input text field --- .../src/pages/Editor/ActionForm/Zone/styles.module.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css b/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css index 93953ba2b370..721ced408468 100644 --- a/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css +++ b/app/client/src/pages/Editor/ActionForm/Zone/styles.module.css @@ -47,6 +47,11 @@ } } } + /* DynamicInputTextControl min height and width removed */ + & :global(.uqi-dynamic-input-text) { + width: unset !important; + min-height: unset !important; + } /* Remove when code editor min width is resolved in DynamicTextFeildControl */ & :global(.dynamic-text-field-control) { From f53f7835fd7da0246c39881ea5c162a2571d732a Mon Sep 17 00:00:00 2001 From: Ankita Kinger Date: Thu, 5 Sep 2024 16:07:46 +0530 Subject: [PATCH 3/3] addressing review comments --- .../resources/editor/imageCaptioning.json | 18 +++---------- .../resources/editor/imageClassification.json | 16 ++---------- .../editor/imageEntityExtraction.json | 26 +++---------------- .../resources/editor/textClassification.json | 16 ++---------- .../editor/textEntityExtraction.json | 16 ++---------- .../resources/editor/textSummarization.json | 8 +----- .../src/main/resources/editor/body.json | 8 +----- 7 files changed, 15 insertions(+), 93 deletions(-) diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageCaptioning.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageCaptioning.json index d1f39d94f4a6..0be963c58514 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageCaptioning.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageCaptioning.json @@ -39,17 +39,8 @@ "configProperty": "actionConfiguration.formData.imageCaption.input.data", "controlType": "QUERY_DYNAMIC_INPUT_TEXT", "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", - "isRequired": true, - "customStyles": { - "width": "700px" - } - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "IMAGE-CAPTION-Z3", - "children": [ + "isRequired": true + }, { "label": "Additional Instructions", "Description": "Provide additional instructions to tweak the caption", @@ -58,10 +49,7 @@ "controlType": "QUERY_DYNAMIC_TEXT", "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", "isRequired": false, - "initialValue": "", - "customStyles": { - "width": "700px" - } + "initialValue": "" } ] } diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageClassification.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageClassification.json index ef7490b776a6..7f1316b6edda 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageClassification.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageClassification.json @@ -49,13 +49,7 @@ "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", "controlType": "QUERY_DYNAMIC_INPUT_TEXT", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "IMAGE-CLASSIFY-Z3", - "children": [ + }, { "label": "Labels", "Description": "Provide labels as comma-separated string input for classification", @@ -64,13 +58,7 @@ "controlType": "QUERY_DYNAMIC_INPUT_TEXT", "placeholderText": "Write a list of comma separated text values or use {{ }} to reference a dynamic value", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "IMAGE-CLASSIFY-Z4", - "children": [ + }, { "label": "Additional Instructions", "Description": "Provide additional instructions to tweak the classification", diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageEntityExtraction.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageEntityExtraction.json index 15f546af9714..579b8e66e1ad 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageEntityExtraction.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/imageEntityExtraction.json @@ -48,17 +48,8 @@ "configProperty": "actionConfiguration.formData.imageEntity.input.data", "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", "controlType": "QUERY_DYNAMIC_INPUT_TEXT", - "isRequired": true, - "customStyles": { - "width": "700px" - } - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "IMAGE-ENTITY-EXTRACT-Z3", - "children": [ + "isRequired": true + }, { "label": "Entities", "Description": "Provide a comma separated list of entities to extract from the Input", @@ -66,17 +57,8 @@ "configProperty": "actionConfiguration.formData.imageEntity.labels.data", "controlType": "QUERY_DYNAMIC_INPUT_TEXT", "placeholderText": "Write a list of comma separated text values or use {{ }} to reference a dynamic value", - "isRequired": true, - "customStyles": { - "width": "700px" - } - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "IMAGE-ENTITY-EXTRACT-Z4", - "children": [ + "isRequired": true + }, { "label": "Additional Instructions", "Description": "Provide additional instructions for the AI to tweak the entity extraction", diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textClassification.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textClassification.json index d9554524ad72..0b3b9b491717 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textClassification.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textClassification.json @@ -57,13 +57,7 @@ "configProperty": "actionConfiguration.formData.textClassify.input.data", "controlType": "QUERY_DYNAMIC_TEXT", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "TEXT-CLASSIFY-Z3", - "children": [ + }, { "label": "Labels", "Description": "Provide a comma separated list of labels to classify the Input on", @@ -72,13 +66,7 @@ "placeholderText": "Write a list of comma separated text values or use {{ }} to reference a dynamic value", "controlType": "QUERY_DYNAMIC_INPUT_TEXT", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "TEXT-CLASSIFY-Z4", - "children": [ + }, { "label": "Additional Instructions", "Description": "Provide additional instructions for the AI to tweak the text classification", diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textEntityExtraction.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textEntityExtraction.json index 7dcdf7b00cee..ee72728b3078 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textEntityExtraction.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textEntityExtraction.json @@ -49,13 +49,7 @@ "configProperty": "actionConfiguration.formData.textEntity.input.data", "controlType": "QUERY_DYNAMIC_TEXT", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "TEXT-ENTITY-EXTRACT-Z3", - "children": [ + }, { "label": "Entities", "Description": "Provide a comma separated list of entities to extract from the Input", @@ -64,13 +58,7 @@ "configProperty": "actionConfiguration.formData.textEntity.labels.data", "controlType": "QUERY_DYNAMIC_INPUT_TEXT", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "TEXT-ENTITY-EXTRACT-Z4", - "children": [ + }, { "label": "Additional Instructions", "Description": "Provide additional instructions for the AI to tweak the entity extraction", diff --git a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json index 66bbe03a04d2..765d82496a1b 100644 --- a/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json +++ b/app/server/appsmith-plugins/appsmithAiPlugin/src/main/resources/editor/textSummarization.json @@ -54,13 +54,7 @@ "placeholderText": "Write some text or use {{ }} to reference a dynamic text value", "controlType": "QUERY_DYNAMIC_TEXT", "isRequired": true - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "TEXT-SUMMARY-Z3", - "children": [ + }, { "label": "Additional Instructions", "Description": "Provide additional instructions for the AI to tweak the summarization", diff --git a/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/body.json b/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/body.json index 90620553a1bf..fe906d4b097b 100644 --- a/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/body.json +++ b/app/server/appsmith-plugins/smtpPlugin/src/main/resources/editor/body.json @@ -88,13 +88,7 @@ "controlType": "QUERY_DYNAMIC_TEXT", "evaluationSubstitutionType": "TEMPLATE", "placeholderText": "Incredible body text" - } - ] - }, - { - "controlType": "SINGLE_COLUMN_ZONE", - "identifier": "BODY-Z6", - "children": [ + }, { "label": "Attachment(s)", "configProperty": "actionConfiguration.formData.send.attachments",