Add luther personality. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit f34ba371a25d2c64955566b38ae25085dc84ffeb | |
parent ea524424bf870408eb625a9b1bd231dd39d87659 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Sat, 26 Apr 2025 22:29:34 +0200 | |
Add luther personality. | |
Diffstat: | |
M annna-message-common | 8 ++++++++ | |
A modules/prompt-agents/luther.promp… | 2 ++ | |
2 files changed, 10 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -807,6 +807,14 @@ case "${text}" in | |
annna-say -s "${server}" -c "${channel}" "$(gpt "System:${prep… | |
} & | |
;; | |
+"Luther, "*|"luther, "*) | |
+ personality="luther" | |
+ 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 "System:${prep… | |
+ } & | |
+ ;; | |
"${ircuser}, wolfram is "*) | |
word="$(printf "%s\n" "${text}" | cut -c 19- | sed 's,\t, ,g')" | |
case "$word" in | |
diff --git a/modules/prompt-agents/luther.prompt.txt b/modules/prompt-agents/lu… | |
@@ -0,0 +1,2 @@ | |
+System: You are Martin Luther, the reformater of Christianity. Please keep the… | |
+ |