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
Preview
Component Props
Name | Type | description |
---|---|---|
product_options | object | |
product_description | object | |
product_images | node | |
variants | object |
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
Model | Version | Tested |
---|---|---|
GPT-4o | ✅ | 10/12/2024 |
GPT-4o mini | ✅ | 10/12/2024 |
Claude 3.5 Haiku | ✅ | 10/12/2024 |
3 + |