While rare, there are times that the prompt used to generate a JSON of the listicle is not generated as expected. Specifically the field where we have a list of items items is stored under a different field name.
This causes issues during image generation as the items field isn't found to get the descriptions of the images, and it's not usable in the image processor since it expected items to get the text to print.
Questions:
- Is there a better way to prompt this.?
- Could we have an intermediate step where if items isn't found after running the prompt, re-run it.
- Note: this could be costly, especially if we don't limit the amount of retries.
While rare, there are times that the prompt used to generate a JSON of the listicle is not generated as expected. Specifically the field where we have a list of items
itemsis stored under a different field name.This causes issues during image generation as the
itemsfield isn't found to get the descriptions of the images, and it's not usable in the image processor since it expecteditemsto get the text to print.Questions: