Replit, after several unsuccessful attempts to complete the task, published a sonnet.
https://middle-earth-ledger--guiltyparties.replit.app
I had this sonnet pre-written which is why the topic and the text don't align.
Prompt:
Add a "Write a Sonnet" function which opens a modal where users write exactly 14 lines about a random Hobbiton topic (the topic is provided by AI, the title of the post is auto-generated with AI, and it is to publish to Hive with a "gohobbits" category). The Write a Sonnet function only opens when Hobbiton is clicked. There should be two buttons: Record Visit to Hive and Write a Sonnet.
Lessons learned:
- Simplify the prompt
- Be specific
- Don't include any advanced features
- Assume the bot is a new user
- I didn't tell it to add
**to the title but it decided to do so on its own, having learned already that titles should be bold in most normal cases - Work with the baseline and then refine
Sonnet:
@ab-tester/green-doors-in-the-hillside-1772087626235