Artifacts in Semantics Chat
Artifacts are structured content blocks generated by your AI assistant and displayed as interactive cards in the chat interface. They allow you to visualize rich content — code, HTML, CSV tables, markdown — in a dedicated side panel, separate from the conversation thread.
What is an artifact?
When you ask the assistant to create a file or structured document, it uses a dedicated tool to generate an artifact. The content is not displayed inline in the message: it is encapsulated in an artifact card that appears in the conversation.
During generation, an event message is displayed in the thread:
Creating a file…
Once generated, the artifact card displays:
- The artifact's title
- A type badge (e.g.
html,code,markdown,csv) - An Open button to display the content in the side panel
Side panel
Click the card or the Open button to display the artifact in the side panel, to the right of the conversation.
Preview and Code tabs
Depending on the artifact type, two tabs are available:
| Artifact type | Behavior |
|---|---|
| HTML | Preview tab by default (visual rendering) + Code tab (HTML source with syntax highlighting) |
| Markdown | Preview tab by default (HTML rendering) + Code tab (raw Markdown source) |
| CSV | Preview tab by default (formatted table) + Code tab (raw data) |
| Code | Direct display of source code with syntax highlighting (no Preview tab) |
Available actions in the panel
- Copy — Copies the content to the clipboard. For a markdown artifact, formatting is preserved (bold, italic…). A Copied notification is briefly displayed.
- Download — Downloads the file with the extension matching the type (e.g.
.html,.md,.csv,.pyfor Python code).
Artifact persistence
Artifacts are preserved in the conversation history. After reloading the page, the cards and their content remain accessible.
Usage examples
Generate a summary table
"Create a CSV table of the 10 main European capitals with their population and country."
The assistant generates a csv artifact. You can open it in Preview mode to read the table, or download it directly to import into Excel.
Create an HTML report page
"Generate an HTML monthly report page with the following data: …"
The assistant produces an html artifact. The Preview displays the page rendered in the browser. You can switch to Code mode to view and copy the source.
Get a Python script
"Write a Python script that reads a CSV file and calculates the average of each column."
The assistant generates a code artifact (Python). The code is displayed with syntax highlighting, and a Copy button lets you copy it in one click.
Write a Markdown document
"Write a meeting summary in Markdown based on these notes: …"
The assistant produces a markdown artifact. The Preview displays the formatted document. You can download it as .md or copy the formatted text.
Administrators: To enable artifacts on an application, see the artifacts configuration guide.
Tip: If your application has web search enabled, you can combine both tools. For example: "Search for 2025 AI trends and generate an HTML report." The assistant will perform the search and then produce an HTML artifact as a summary.