From 8c9714aedb19d8e7b1c6ee25bbaf71b4b3758420 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Thu, 19 Sep 2024 20:15:17 +0200 Subject: [PATCH] best version --- emacs/module/module-ellama-capture-definitions.el | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/emacs/module/module-ellama-capture-definitions.el b/emacs/module/module-ellama-capture-definitions.el index 113e03e..39c36d4 100644 --- a/emacs/module/module-ellama-capture-definitions.el +++ b/emacs/module/module-ellama-capture-definitions.el @@ -28,14 +28,9 @@ "Add the filetag definition to the Ellama context." (interactive) (let ((filetag-definition - "Instruction: When prompted about a filetag or filetags, search -the text in all provided files for the following syntax: - -Syntax: '# +filetags: :tag1:tag2:tag3:' -Example: '# +filetags: :work:project:urgent:' - -The words between the ':' characters are the filetags. Look for -exact matches only.")) + "Search for exact matches of the specified filetag(s) in the provided files only. The user will provide a quoted string \":tag:\" in the response, and you shall search for an exact match. Do not rely on +keyword recognition or generating new filetags. Use this syntax to identify filetags: #+filetags: +:tag1:tag2:tag3:")) (ellama-context-add-text filetag-definition) (message "Filetag definition added to Ellama context")))