As shared in other threads, you will get more consistent result if you mention the structure you are expecting in response. Here is an example request to get some content sections for a website.
Take following json as an input, generate elements content based on prompts and prepare and return json structure by combining all elements such as: {'heading': '<value>'}.
We have a website for online store. Fill in the following 4 elements with homepage content for our website. Add a heading for featured section (appx 40 chars), and two paragraphs (each appx 120 chars each), and a button label. Replace <value> in plain text.
{
"heading": "<value>",
"paragraph_1": "<value>",
"paragraph_2": "<value>",
"button_label": "<value>"
}
The response should be like:
{
"heading": "Discover Our Exclusive Featured Collection",
"paragraph_1": "Explore the latest trends and timeless pieces in our featured collection. Handpicked to ensure the highest quality, each item is a testament to our commitment to excellence.",
"paragraph_2": "From stylish apparel to must-have accessories, find everything you need to elevate your wardrobe. Enjoy exclusive offers and unbeatable prices, only available for a limited time.",
"button_label": "Shop Now"
}
The AI response should be correct most of the time but not always. So ensure edge cases by matching number or elements, content or json validation in response. Hope this will help.