From b1020b61e79c170e2e15a51bf0f12c7544ee52c4 Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 3 Apr 2025 11:55:41 +0100 Subject: [PATCH] refactor(summary): clarify prompt instructions Make the summary prompt more explicit about not adding extra text and add 'Summary:' section at the end. --- plugins/summary.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/summary.yaml b/plugins/summary.yaml index 6207407..6fbc8bc 100644 --- a/plugins/summary.yaml +++ b/plugins/summary.yaml @@ -4,7 +4,9 @@ model: llama2 # Optional, falls back to OLLAMA_MODEL from .env type: or # and, or run: always # always, matching prompt: | - Please provide a short, 2-3 sentence summary of the following transcript. The summary should never be longer than a single paragraph. Don't add anything else, don't add a headline or a "Summary:" or anything. I just want the summary. 2-3 sentences. One paragraph MAX. + Please provide a short, 2-3 sentence summary of the following transcript. The summary should never be longer than a single paragraph. Don't add anything else, don't add a headline or a "Summary:" or any other sentence or anything. I just want the summary. 2-3 sentences. One paragraph MAX. Transcript: - {transcript} \ No newline at end of file + {transcript} + + Summary: \ No newline at end of file