How can I suggest chatGPT how to render the json results of the API?

I am developing a catalog plugin, and I can’t get ChatGPT to render/display certain fields which I consider very important.

Sample JSON object to render:

 {
      "brand": "Naiz",
      "title": "Naiz Wireless Bone Conduction Headphones",
      "description": "Small and light earphones are very convenient and fast to use, blablablabla",
      "sku": "WF2LYQ221220602580BK0XX",
      "url": "http://longlink.com/blabla",
      "merchantWebsite": "naiz.com",
      "image_link": "![Naiz Wireless Bone Conduction Headphones](https://db.io/image/obj/2Dlh.png)"
    }

When it renders, it correctly picks the Title (sometimes it parses it), Description, URL, and image.

However, it ignores completely the brand and merchantWebsite which I consider vital for me to display…

I tried disseminating some knowledge about this in the yaml open API with no luck… Maybe I’m doing it wrong or in the wrong places?

I also tried adding a sentence about showing the brand name in the manifest without luck…

Or maybe is a matter of time and changes of this kind can take a while?
advise please :wink:

Have you added the EXTRA_INFORMATION_TO_ASSISTANT property at your responses? There you can ask to always respond in a certain format and ask for each field to be presented in the way you want. Needs a little tinkering but it works.

nope. Can you provide an example? should I add it as a field in my json response?

Sure here is an example for the responses. Change your data accordingly and play with the instructions:

{
	"data": [{
		"brand": "Naiz",
		"title": "Naiz Wireless Bone Conduction Headphones",
		"description": "Small and light earphones are very convenient and fast to use, blablablabla",
		"sku": "WF2LYQ221220602580BK0XX",
		"url": "http://longlink.com/blabla",
		"merchantWebsite": "naiz.com",
		"image_link": "![Naiz Wireless Bone Conduction Headphones](https://db.io/image/obj/2Dlh.png)"
	}],
	"EXTRA_INFORMATION_TO_ASSISTANT": "In presenting the data, you the Assistant should begin with the 'brand' of the product. This is followed by the 'title' of the product which gives a more specific description of the item. To provide a detailed overview, the 'description' of the product should be presented next. This includes key features and usage information. The 'sku', which stands for Stock Keeping Unit, is a unique identifier that should be displayed to allow for easy tracking and management of the product. The 'url' is the product's webpage link and should be provided to direct interested parties to more information or purchase options. The 'merchantWebsite', the site where the product is sold and should be displayed for users to know the direct source of the product. Finally, the 'image_link' provides a visual representation of the product. The image should always be displayed prominently, giving potential buyers a clear view of the product."
}
1 Like

Is the EXTRA_INFORMATION_TO_ASSISTANT documented somewhere?