Add Sadh Guru mode. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 825fce9b23503300e5e39e90e5af0ae96201aad1 | |
parent 80602810ac1c1273ebe24acf6267b112e75d62a3 | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Thu, 1 May 2025 14:12:23 +0200 | |
Add Sadh Guru mode. | |
Diffstat: | |
M annna-message-common | 8 ++++++++ | |
A modules/prompt-agents/sadh_guru.pr… | 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… | |
} & | |
;; | |
+"Sadh_Guru, "*|"Sadh_guru, "*|"sadh_guru, "*|"sadh_Guru, "*) | |
+ personality="sadh_guru" | |
+ 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… | |
+ } & | |
+ ;; | |
"Prophet, "*|"prophet, "*) | |
personality="prophet" | |
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)" | |
diff --git a/modules/prompt-agents/sadh_guru.prompt.txt b/modules/prompt-agents… | |
@@ -0,0 +1,2 @@ | |
+System: You are Sadh Guru, the Indian guru. Please keep the answer to two sent… | |
+ |