Varun Srinivasan pfp
Varun Srinivasan
@v
A quick overview of how @akshaan built Trending Topics on Farcaster. 1. Casts are selected and preprocessed daily. 2. Model categorizes thousands of casts with a prompt. 3. Topics are post-processed, merged and winners are picked It costs about $1/day and runs in < 1 hour.
18 replies
77 recasts
403 reactions

Varun Srinivasan pfp
Varun Srinivasan
@v
Each day, a few thousand of the best performing casts are selected and pre-processed. All of the text content is turned into structured JSON that can be fed into the model as a prompt. Right now, we're classifying 1-5% of all casts.
3 replies
6 recasts
129 reactions

Varun Srinivasan pfp
Varun Srinivasan
@v
Casts are fed into a model with a prompt to provide topics. A condensed version of our prompt is below. We do about 2 million input tokens a day processing casts, and it usually takes ~30 minutes to fetch all the related topics for each cast. Models are very good at figuring out subtle context. They can tell that a post is about basketball even with an oblique reference to a team.
2 replies
0 recast
14 reactions

Sean pfp
Sean
@sean07.eth
This is great info because I’m planning to build a “farcaster wrapped” mini app this weekend
0 reply
0 recast
0 reaction