Renders a prompt-response pair as two chat bubbles — a user bubble on the right and an AI response bubble on the left. Ideal for showing LLM examples, chatbot flows, and agent interaction patterns in documentation.
| Field | Type | |
|---|---|---|
| user_label | string (optional, default "You"). Label above the user bubble. | optional |
| user | string. The user prompt text. | required |
| ai_label | string (optional, default "Assistant"). Label above the AI bubble. | optional |
| response | string. The AI response text. | required |
| accent | string (optional, default | optional |
{
"type": "conversation_snippet",
"user": "How does this work?",
"response": "Here's a clear explanation of how it works."
}
{
"identifier": "urn:air:a2uicatalog.ai:atom:conversation_snippet",
"displayName": "Conversation Snippet",
"type": "application/vnd.a2ui.atom+json",
"url": "https://a2uicatalog.ai/atoms/conversation_snippet",
"capabilities": [
"web",
"meet-stage",
"googlechat",
"email",
"pdf",
"apps-script-web"
],
"description": "Renders a prompt-response pair as two chat bubbles \u2014 a user bubble on the right and an AI response bubble on the left. Ideal for showing LLM examples, chatbot flows, and agent interaction patterns in documentation.",
"representativeQueries": [
"show a user prompt and AI response as chat bubbles",
"renders a prompt-response pair as two chat bubbles \u2014 a user bubble on the right and an ai response b",
"render a conversation snippet"
]
}
The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.
git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →