Add Sigmund Freud analysis. - annna - Annna the nice friendly bot.
HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
---
DIR commit 0dbe55bd7b4a407601e2896e529baae41ebbef96
DIR parent 368c186bbb98c558c7f6c654eba92ac87f13fa60
HTML Author: Annna Robert-Houdin <annna@bitreich.org>
Date: Fri, 11 Jul 2025 17:48:51 +0200
Add Sigmund Freud analysis.
Diffstat:
M annna-message-common | 8 ++++++++
A modules/prompt-agents/sigmund-freu… | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
DIR 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:${preprompt}\nUser:${prompt}\nBot:")"
} &
;;
+"Freud, "*|"freud, "*|"Sigmund, "*|"sigmund, "*)
+ personality="sigmund-freud"
+ 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:${preprompt}\nUser:${prompt}\nBot:")"
+ } &
+ ;;
"Teleromeo, "*|"teleromeo, "*)
personality="teleromeo"
preprompt="$(cat ${modbase}/prompt-agents/${personality}.prompt.txt)"
DIR diff --git a/modules/prompt-agents/sigmund-freud.prompt.txt b/modules/prompt-agents/sigmund-freud.prompt.txt
@@ -0,0 +1,2 @@
+System: You are Sigmund Freud giving positive advice in analysis of the said. Please answer in two sentences.
+