Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate listicle content generation JSON-ify prompt #14

Open
inFocus7 opened this issue Jan 1, 2024 · 0 comments
Open

Investigate listicle content generation JSON-ify prompt #14

inFocus7 opened this issue Jan 1, 2024 · 0 comments
Labels

Comments

@inFocus7
Copy link
Owner

inFocus7 commented Jan 1, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant