reorg
This commit is contained in:
parent
965fc99e81
commit
0e2a1dc1b4
|
|
@ -28,16 +28,16 @@
|
|||
"Add the filetag definition to the Ellama context."
|
||||
(interactive)
|
||||
(let ((filetag-definition
|
||||
"filetag: Note categorization system.
|
||||
"Instruction: When prompted about a filetag or filetags, search
|
||||
the text in all provided files for the following syntax:
|
||||
|
||||
Syntax: '# +filetags: :tag1:tag2:tag3:'
|
||||
- Tags enclosed in colons
|
||||
- Multiple tags allowed
|
||||
- Placed at file start
|
||||
Example: '# +filetags: :work:project:urgent:'
|
||||
Purpose: Efficient note filtering and searching.
|
||||
Usage: When prompted about filetags, use only this syntax.")
|
||||
|
||||
The words between the ':' characters are the filetags. Look for
|
||||
exact matches only."))
|
||||
(ellama-context-add-text filetag-definition)
|
||||
(message "Filetag definition added to Ellama context"))))
|
||||
(message "Filetag definition added to Ellama context")))
|
||||
|
||||
(provide 'module-ellama-capture-definitions)
|
||||
;;; module-ellama-capture-definitions.el ends here.
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'ellama)
|
||||
(require 'dired)
|
||||
|
||||
(defvar ellama-capture-buffer-name "*Ellama Input*"
|
||||
"Name of the buffer used for Ellama input capture.")
|
||||
|
|
@ -53,8 +54,6 @@
|
|||
(quit-window t)
|
||||
(message "Ellama input aborted"))
|
||||
|
||||
(require 'module-ellama-capture-definitions)
|
||||
|
||||
(global-set-key (kbd "C-x A SPC") #'ellama-capture)
|
||||
|
||||
(provide 'module-ellama-capture)
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@
|
|||
(define-key dired-mode-map (kbd "C-c e") #'ellama-context-add-marked-files))
|
||||
|
||||
(require 'module-ellama-capture)
|
||||
(require 'module-ellama-capture-definitions)
|
||||
|
||||
(provide 'module-llm)
|
||||
|
||||
;;; module-llm.el ends here.
|
||||
|
|
|
|||
Loading…
Reference in New Issue