Ai · AI Ability Introduction
AI Ability Introduction
Introducing components related to AI application scenarios
Semi AI Components is an innovative component library designed specifically for AI application scenarios. In an era where AI is becoming a key player in products, traditional design systems are struggling to support increasingly complex intelligent interactions. Semi AI Components, with "human-machine intelligent collaboration" as its core concept, aims to make user collaboration with AI systems more efficient, controllable, perceptible, and reliable. The Semi AI Components library includes the following: AI Token, basic AI components, and AI Chat components, used to serve scenarios such as intelligent question answering and assistants, multimodal input, and multi-turn dialogue.
  • AI Token: Added 20 basic tokens in 20 colors for AI scenarios.
  • AI Basic Components: Added 25 icons for AI scenarios, and added AI styles to Button/Tag/FloatButton.
  • AI Chat Components: Added AIChatInput, which supports rich text input, quoting, uploading, function configuration, and rich custom display; and AIChatDialogue, which supports conversation display, selection, editing, prompts, rich custom rendering, and message transformation. The chat component supports the OpenAI community's Response / Chat Completion format standards by default, supporting GPT-5 and GPT-4o. All models in the series support out-of-the-box response; see Message Data Conversion for details. (For information on how to select the Chat and AI Chat components, see FAQ).
In the future, we will support more AI Chat components, such as the integrated component AIChatBox combining AIChatInput and AIChatDialogue, and the multi-functional sidebar component SideBar with capabilities for product editing, product viewing, and displaying cited materials, to meet the information and result management needs in complex AI application scenarios.

AI Basic Components

The AI ​​basic components include AI Icon and AI-style Button, Tag, and FloatButton. The AI ​​style of the basic AI components is implemented based on AI Token.
For AI Token, we have built a brand color palette with a purple-blue gradient as its core. Two new hues, AI purple and AI general, have been added to the base colors, resulting in a color wheel of 20 colors.
For AI Icon, single-color, dual-color, and multi-color icons are supported, totaling 25 icons.
For AI-style Button, Tag, and FloatButton, the Colorful property of the component can be enabled.
Below are some examples of basic AI components. For more examples and use cases, please see AI Token, AI Icon, AI Button, AI Tag, AI FloatButton.

Building a Conversation with the AI ​​Chat Component

In this example, we'll combine the AIChatInput and AIChatDialogue components to build a conversational use case suitable for a Multiple Agent scenario. For more examples and usage scenarios, see AIChatInput and AIChatDialogue.

FAQ

  • How should you choose between Chat components and AI Chat series components?
    • If the scenario is relatively simple, requiring only plain text conversations and basic document/image displays, the Chat component is recommended.
      • Chat component integrates input and message display by default. Its advantage is that it is easy to understand and can be quickly learned. Its disadvantage is that it is relatively difficult to customize complex input boxes or message display requirements, and the workload is large.
    • If the scenario is relatively complex, it is recommended to use the AIChatInput and AIChatDialogue components together, with the following advantages: