Company
Date Published
Author
Diane Phan
Word count
2680
Language
English
Hacker News points
None

Summary

This tutorial guides users in building a WhatsApp app using Python, OpenAI's GPT-3 engine, and Twilio's WhatsApp API to generate spooky stories. The app allows users to input a prompt, and the OpenAI GPT-3 engine generates a story that is then sent as a WhatsApp message. Users can control when the next part of the story is written by sending specific messages to the bot. The app uses Flask for web development and ngrok for public access to the local port 5000. The tutorial covers setting up the project, installing necessary packages, configuring Twilio's WhatsApp API, and deploying the app. The final result is a fun and interactive way to generate spooky stories and trick friends into thinking a ghost wrote it.