From f4202ca2b80a44f1f5754ef9df3a0f344ff72814 Mon Sep 17 00:00:00 2001 From: Riceball LEE Date: Sat, 31 Aug 2024 09:03:27 +0800 Subject: [PATCH] fix(lib): add sep from file --- lib/summary.ai.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/summary.ai.yaml b/lib/summary.ai.yaml index 76b6ba7..819c7f4 100644 --- a/lib/summary.ai.yaml +++ b/lib/summary.ai.yaml @@ -1,5 +1,5 @@ --- -version: 0.2.0 +version: 0.2.1 type: lib description: |- Summarize the content or a text file in detail, capturing the key points and essence of the document. @@ -34,9 +34,10 @@ output: fileContent: "@file({{file}})" - system: |- Summarize the following content or file provided by the user in detail, capturing the key points and essence of it. - {%- if len and len > 0 -%} + {% if len and len > 0 %} Keep the summary within {{len}} characters. {% endif %} + --- {{fileContent}} --- - $if: "this.content || this.fileContent"