Hacker News new | ask | show | jobs
by lordnacho 1154 days ago
What are the mechanics of doing that? How do you tell it what page to open, how far to scroll, what exactly you want to hear about, and how do you plug that into the model and get a result?
1 comments

I shared the code in a comment below (https://github.com/purpleladydragons/ai-sanity) but

- scraping is relatively dumb and straightforward. I use playwright to login and just scroll my timeline for the first 100 tweets. I run the thing every 3 hours right now, but definitely could tweak the number of tweets vs frequency

- I only care about AI tweets really on my timeline, so filtering to that is pretty straightforward just passing it to GPT

- I included the prompts in the link. Definitely far from perfect, but it works well enough. It does surprisingly suck sometimes, like I've noticed that it doesn't always pick up on tweets about LangchainAI despite AI being in the name etc