What this does
1. Uploads the scorecard to R2
2. Calls Workers AI (vision model) to read it
3. Saves the generated story back to R2
PDF handling: pages are rendered in your browser to images before upload.
If you get a license error from the AI model, deploy once and make a request with prompt agree as described in Cloudflare's model docs.