Rich content transforms
Rich content turns successful tool JSON into interactive UI in chat — carousels, grids, lists, and single cards with images, prices, and action buttons. Mapping is declarative via result_transform on the tool; the model does not hand-build card JSON.
Layouts
Section titled “Layouts”| Layout | Use case |
|---|---|
| carousel | Swipeable offers (rooms, products) |
| grid | Compact multi-item browse |
| list | Vertical scan-friendly results |
| single | One highlighted item |
See Carousel and layouts.
Card types
Section titled “Card types”| Type | Fields | Example |
|---|---|---|
| Product | SKU, price, image, CTA | E-commerce catalog |
| Media | Image, title, subtitle, price | Hotel rooms, travel offers |
How it works
Section titled “How it works”- Tool call succeeds and returns JSON from your API.
- Chatevo applies result_transform (items path, field mapping, sort, actions).
- Server emits
RICH_CONTENTto the widget. - Assistant text reply can reference the cards; it cannot invent offers.
Trust policy
Section titled “Trust policy”Cards render only from successful tool results. Failed calls, timeouts, and model hallucinations never produce structured offers. See Trust policy.
Getting started
Section titled “Getting started”- Build an API Request tool that returns a list of items.
- Add transform config — see Transform reference.
- Test and confirm cards in assistant preview.
Quickstart: Room offer carousel.