+ );
+};
+
+export default QuickResponse;
diff --git a/src/summarizepane/components/TextInsertion.jsx b/src/summarizepane/components/TextInsertion.jsx
index 35f08b03..3ee25524 100644
--- a/src/summarizepane/components/TextInsertion.jsx
+++ b/src/summarizepane/components/TextInsertion.jsx
@@ -77,9 +77,10 @@ const TextInsertion = () => {
body: JSON.stringify({
model: 'riz-text',
messages: [
+ { role: "system", content: "You are an email assistant." },
{
role: 'user',
- content: 'Summarize briefly less than 50 words the content of the following email body: ' + emailContent,
+ content: 'Summarize briefly less than 40 words the content of the following email body: ' + emailContent,
},
],
}),
@@ -116,9 +117,10 @@ const TextInsertion = () => {
body: JSON.stringify({
model: 'riz-text',
messages: [
+ { role: "system", content: "You are an email assistant." },
{
role: 'user',
- content: 'Summarize in detail the content of the following email body: ' + emailContent_detail,
+ content: 'Summarize in detail less than 200 words the content of the following email body: ' + emailContent_detail,
},
],
}),
@@ -145,7 +147,7 @@ const TextInsertion = () => {
return (
Summarize with AI
-
)}
-
-
+
{showSpinnerdetails && (
)}
{showSpinnerdetails ? ' Summarizing email in detail ...' : 'Summarize in detail with AI'}
-
{emailsummarydetails && (
{
body: JSON.stringify({
model: 'riz-text',
messages: [
+ { role: "system", content: "You are an email assistant." },
{
role: 'user',
- content: 'write the email body without subject email, and having line spaces with the following content: ' + text,
+ content: 'Write an email content without subject with the following content: ' + text,
},
],
}),