Add better system prompting. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 8b2c0e7e35b5bf12e5e90ecb6996193d95e70e88 | |
parent e9bc337fdeebb0a31c57ca75e389053de27d29c0 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Tue, 24 Dec 2024 10:05:12 +0100 | |
Add better system prompting. | |
Diffstat: | |
M annna-message-common | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -712,7 +712,7 @@ case "${text}" in | |
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)" | |
prompt="$(printf "%s\n" "${text}" | cut -d' ' -f 2- | sed 's,\t, ,g… | |
{ | |
- annna-say -s "${server}" -c "${channel}" "$(gpt "${preprompt}\… | |
+ annna-say -s "${server}" -c "${channel}" "$(gpt "System:${prep… | |
} & | |
;; | |
"${ircuser}, wolfram is "*) |