Emoji Emotion Display

Emoji Emotion Display

Overview

Large language models use a single Emoji token to express the current emotional state. These emojis are not read aloud by TTS systems but are returned to the client as an independent data type.

Data Format

Communication is conducted in 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
😘kissyKissy
😏confidentConfident
😴sleepySleepy
😜sillySilly
πŸ™„confusedConfused

Usage Instructions

  1. The client should parse the corresponding emotion type when receiving a response containing the emotion field
  2. The interface display effects or corresponding animations can be adjusted based on the emotion type
  3. The TTS system should ignore the Emoji characters in the text field

Notes

  • Emojis use UTF-8 encoding
  • Ensure that the client has the capability to display Emojis
  • It is recommended to display both the Emoji and the corresponding emotion type text on the interface