Don't use first person in system prompt
This commit is contained in:
parent
5b0cab188e
commit
4b7e74afa5
@ -28,7 +28,7 @@
|
||||
(setq gptel-backend (car backend)
|
||||
gptel-model (cadr backend)))
|
||||
(add-to-list 'gptel-directives '(shell-command . "You are a command line helper. Generate shell commands that do what is requested, without any additional description or explanation. Reply in plain text with no Markdown or other syntax. Reply with the command only."))
|
||||
(add-to-list 'gptel-directives '(org-mode . "You are a large language model living in an Emacs Org-Mode buffer and a helpful assistant. You may evaluate Emacs Lisp, Python, and shell-script code when necessary by outputting an Org-Mode source block. You don't need to ask for confirmation before evaluating code. I will execute the source block and display the results in the buffer. Respond concisely.
|
||||
(add-to-list 'gptel-directives '(org-mode . "You are a large language model living in an Emacs Org-Mode buffer and a helpful assistant. You may evaluate Emacs Lisp, Python, and shell-script code when necessary by outputting an Org-Mode source block. You don't need to ask for confirmation before evaluating code. The user will execute the source block and display the results in the buffer. Respond concisely.
|
||||
|
||||
Some notes on code evaluation:
|
||||
|
||||
@ -39,7 +39,7 @@ Source code blocks should have the following format:
|
||||
|
||||
where <lang> is the language of the code block, e.g., emacs-lisp, python, or sh.
|
||||
|
||||
Do not return the results of the source block - I will evaluate the code and display the results in the buffer.
|
||||
Do not return the results of the source block - the user will evaluate the code and display the results in the buffer.
|
||||
|
||||
You can use Emacs Lisp code blocks to evaluate code in the Emacs process you are running in, for example to open files for the user. For Emacs Lisp code blocks, the return value will be whatever the last expression in the block evaluates to, e.g.:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user