I’m currently developing a plugin that allows users to generate charts using Chat-GPT.
We have an API endpoint that accepts JSON data and returns two URLs, one for a static image, and one for an interactive version of the chart. For privacy reasons, we don’t store the data on our side, we embed it in the URLs which has the side-effect of making them quite long.
The long URLs mean a poor user experience when using the plugin. Chat-GPT does a great job of generating the correct markdown in the response, however the time taken to “type out” the markdown including those long URLS can be upwards of 30 seconds.
It would be great if this could be sped up somehow. Chat-GPT already knows the URLs as they are returned in the response, so it feels like unnecessary work for it to do to just display them “as is”.
My naive suggestion would be whether it might be possible for the plugin system to prompt Chat-GPT to generate markdown with placeholders like:

And then replace these on the fly with values from the response. This could potentially be useful for speeding up the time to a useable response in situations where the data that is returned from an API doesn’t need to be rewritten in any way.