best version

This commit is contained in:
Levi Neely 2024-09-19 20:15:17 +02:00
parent 9464b0bbff
commit 8c9714aedb
1 changed files with 3 additions and 8 deletions

View File

@ -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")))