技巧

用 Grok 搭建 X 情绪追踪器:每天搜索一次并给帖子打分

精选理由

有人用 Grok 写了个 X 情绪追踪器,每天自动搜一个话题、给帖子打 -1 到 +1 分,代码开源了,想学 Grok 工作流的可以照抄。

这个工作流选定一个话题后,让 Grok 每天对过去 10 天各执行一次 X 搜索,过滤掉噪音帖子,并给每条帖子打出 -1 到 +1 的情绪分。仪表盘展示正负情绪占比、逐日情绪走势,以及每个分数对应的原帖。代码开在 xai-org 的 GitHub 仓库里,可以照着复现。

图片来源 · eric zakariasson
原文 · eric zakariasson

4. 𝕏 sentiment tracker pick a topic and grok runs one x search per day for the last 10 days, drops the noise, and scores every post from -1 to +1. the dashboard shows the split, how sentiment moved day by day, and the posts behind the score. github.com/xai-org/xai-co… 4 Your browser does not support the video tag. 🔗 View on Twitter 💬 1 🔄 0 ❤️ 1 👀 206 📊 1 ⚡