Emoji Emotion Display
Overview
Large language models use a single Emoji token to express their current emotional state. These emoticons are not read aloud by the TTS system but are returned to the client as independent data types.
Data Format
Communication uses JSON format, as shown in the example below:
{
"type": "llm",
"text": "π",
"emotion": "smile"
}
Emoji Reference Table
Emoji | Emotion Type | Description |
---|---|---|
πΆ | neutral | Neutral/Calm |
π | happy | Happy |
π | laughing | Laughing |
π | funny | Funny |
π | sad | Sad |
π | angry | Angry |
π | crying | Crying |
π | loving | Loving |
π³ | embarrassed | Embarrassed |
π² | surprised | Surprised |
π± | shocked | Shocked |
π€ | thinking | Thinking |
π | winking | Winking |
π | cool | Cool |
π | relaxed | Relaxed |
π€€ | delicious | Delicious |
π | kissy | Kissing |
π | confident | Confident |
π΄ | sleepy | Sleepy |
π | silly | Silly |
π | confused | Confused |
Usage Instructions
- When the client receives a response containing the emotion field, it should parse the corresponding emotion type
- The interface display effect or corresponding animation can be adjusted according to the emotion type
- The TTS system should ignore Emoji characters in the text field
Notes
- Emoji uses UTF-8 encoding
- Ensure that the client has the ability to display Emoji
- It is recommended to display both the Emoji and the corresponding emotion type text on the interface