Conversation Snippet

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.

Surfaces
webmeet-stagegooglechatemailpdfapps-script-web
Fields
FieldType
user_labelstring (optional, default "You"). Label above the user bubble.optional
userstring. The user prompt text.required
ai_labelstring (optional, default "Assistant"). Label above the AI bubble.optional
responsestring. The AI response text.required
accentstring (optional, defaultoptional
Example payload
{
  "type": "conversation_snippet",
  "user": "How does this work?",
  "response": "Here's a clear explanation of how it works."
}
ARD catalog entry
{
  "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"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

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 →