This was a fun project to periodically (every day) generate book reviews using ChatGPT, written from the perspective of stereotypical characters you would find in your gym. To accomplish this an AWS Lambda is triggered which:
- Randomly selects parameters for the review.
- Gym persona
- Book to review
- Constructs a narrative to feed to ChatGPT, requesting a book review with the given parameters and specifying the desired response format.
- Receives and parses the response, and constructs the blog post.
- Publishes the blog post using the web API on a particular WordPress instance.