Tools / Friendly Face / ProductPreview

ProductPreview

GPT-4o
GPT-4o mini
Claude 3.5 Haiku
3+
This tool displays product details and purchase options, including variants like color and price, using data provided by the retailer API, ensuring accurate information. Options are presented in tables or collapsible lists for dense information.

Component Overview

Tool preview
1
1
product_options
2
2
product_description
3
3
product_images
4
4
variants

Preview

Tool preview

Component Props

NameTypedescription
product_optionsobject
product_descriptionobject
product_imagesnode
variantsobject

AI Schema

The use of LLM Schema helps in smooth data integration across different systems and applications. It provides a common language and framework for sharing and exchanging data, allowing disparate systems to communicate effectively.
1 2 3 4 5 6 7 8 9 10 11 12 13 import z from 'zod'; const recipeSchema = z.object({ tool: z.object({ name: z.string(), items: z.array( z.object({ name: z.string(), amount: z.string(), }), ), steps: z.array(z.string()), }), });

Works with

ModelVersionTested
GPT-4o10/12/2024
GPT-4o mini10/12/2024
Claude 3.5 Haiku10/12/2024
3 +