How can I get AI to render code?
Sure, Artifacts is a built-in code rendering plugin in Tinychat that can directly render AI-generated code into visual results, allowing you to preview the code effects in real time. This revolutionary feature breaks the boundaries of AI-human interaction, enabling you to create and visualize various formats of content in real time.

Design Purpose: Currently, the pages for interaction between large models and humans are mainly text-based. If there could be a more intuitive way to display text and render the code written by AI, it would be a very wonderful experience.
It is like a dynamic workspace where users can directly generate and edit content such as documents, code snippets, design prototypes, etc., and view and adjust these contents in real time in a dedicated area next to the conversation window. This feature is particularly suitable for ordinary people because it simplifies complex tasks into intuitive operations, making it accessible without professional skills.
Usage Examples
Classroom Roll Call Mini Program

Tetris Mini Game

Xiaohongshu Cover Mini Program

Creative Web Page

Making SVG Knowledge Cards

Generating Charts Based on Data

For more usage scenarios and instructions, please visit Artifacts Plugin