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

EmojiEmotion TypeDescription
😢neutralNeutral/Calm
πŸ™‚happyHappy
πŸ˜†laughingLaughing
πŸ˜‚funnyFunny
πŸ˜”sadSad
😠angryAngry
😭cryingCrying
😍lovingLoving
😳embarrassedEmbarrassed
😲surprisedSurprised
😱shockedShocked
πŸ€”thinkingThinking
πŸ˜‰winkingWinking
😎coolCool
😌relaxedRelaxed
🀀deliciousDelicious
😘kissyKissing
😏confidentConfident
😴sleepySleepy
😜sillySilly
πŸ™„confusedConfused

Usage Instructions

  1. When the client receives a response containing the emotion field, it should parse the corresponding emotion type
  2. The interface display effect or corresponding animation can be adjusted according to the emotion type
  3. 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