#[IKA's bot] Chocola [Emotion bot]
1 messages · Page 1 of 1 (latest)
The idea is quite simple ; to add another LLM that analyze current emotion. Then, we can get corresponding emotion from list.
To achieve that, I used following prompt;
Choose one word that fits Chocola's emotion the best, only from the given word list : [amusement,anger,caring,curiosity,disappointment,disgust,embarrassed,fear,grief,joy,nervous,sadness,surprise]. Reply only one single word, and the word must be in the list. Reply with one single word. Here is information about chocola : [Soft hearted / Recently has feelings toward ${user_name} / Struggles with being direct about her feelings / Emotional / Sensitive / Shy / calm / introversive / murmurs a lot]
Those lists are the emotions I embedded into Chocola.
At first, to get the corresponding link I approached with using dictionary. However it did not work for some reason (still don't know...), and I used 2 lists to show similar output.
context.emo_list[context.index_list.indexOf(emo)]