Best Practices
Best Practices
1. Prompt Engineering
// ❌ Bad
{
"prompt": "Get product information"
}
// ✅ Good
{
"prompt": "Extract the product's name, current price, original price (if on sale), available sizes, and color options. For prices, include the currency symbol."
}// ❌ Bad
{
"prompt": "What are the key features of this product?"
}
// ✅ Good
{
"prompt": "List the product's key features as an array of strings, with each feature being a concise single sentence."
}2. Data Structuring
3. Performance Optimization
Last updated