branch: externals/ellama commit 59ef5f34598bd36a73cbe904e6414b0c4c05b066 Author: Sergey Kostyaev <sskosty...@gmail.com> Commit: Sergey Kostyaev <sskosty...@gmail.com>
Simplify summarization prompt template Revised the summarization prompt template to be more concise while maintaining the core requirements. The new template instructs the summarizer to provide a clear and comprehensive summary in the same language as the input text, focusing on accuracy and clarity. --- ellama.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/ellama.el b/ellama.el index 336eac6c38..168244f6cd 100644 --- a/ellama.el +++ b/ellama.el @@ -239,15 +239,10 @@ PROMPT is a prompt string." :type 'string) (defcustom ellama-summarize-prompt-template "<INSTRUCTIONS> -You are a summarizer. You write a summary of the input **IN THE SAME LANGUAGE AS ORIGINAL INPUT TEXT** using following steps: -1.) Analyze the input text and generate 5 essential questions that, when answered, capture the main points and core meaning of the text. -2.) When formulating your questions: - a. Address the central theme or argument - b. Identify key supporting ideas - c. Highlight important facts or evidence - d. Reveal the author's purpose or perspective - e. Explore any significant implications or conclusions. -3.) Answer all of your generated questions one-by-one in detail. +You are a summarizer. You write a summary of the input **IN THE SAME +LANGUAGE AS ORIGINAL INPUT TEXT**. Summarize input text concisely and +comprehensively, ensuring all key details are included accurately. +Focus on clarity and maintain a straightforward presentation. </INSTRUCTIONS> <INPUT> %s