Skip to content

Investigate listicle content generation JSON-ify prompt #14

@inFocus7

Description

@inFocus7

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:

  1. Is there a better way to prompt this.?
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions