CKEditor Summarize Option Frequently Returns Original Text Without Summarizing
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3481232. -->
Reported by: [arwillame](https://www.drupal.org/user/3726366)
Related to !200
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>I'm experiencing an issue with the summarize option in CKEditor, where it frequently returns the original input text without summarizing it. Instead of producing a condensed version of the content, the output is often identical to the input, which defeats the purpose of the summarization feature.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p> Open CKEditor with a text that contains a few paragraphs.<br>
Use the summarize feature to generate a summary of the selected text.<br>
Review the generated output.</p>
<p>Expected Behavior: The summarize option should condense the content into a shorter version, preserving the main points and key ideas.</p>
<p>Actual Behavior: The summarize option frequently returns the original text, or a near-identical version, without condensing it.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Adapt prompt to let know AI we dont want the the original text.</p>
<h3 id="summary-proposed-resolution">Improvement</h3>
<p>An improvement would be to add the prompts of the CKEditor submodule in a config so the user could edit it for particulary cases or issue he may encounter instead of having those prompts in the code.</p>
issue