vincentmvdm / for-me-page

Arc Boost that removes bad tweets using AI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove bad tweets using Arc and AI

An Arc Boost that removes bad tweets using AI. See the original post.

I wrote this in an hour so don't get too excited, but some people asked me to share the code. I hope that we can make this boost better together. Or that this will at least teach you how to create your own LLM-based boost! Contributions are very welcome.


arc-boost

Set up

  1. Create a new Arc Boost using the "Replace" template
  2. Swap out the template's content.js for this repo's content.js
  3. Add your own OpenAPI key

Limitations and bugs

  • GPT turbo isn't always smart enough and frequently misclassifies tweets (e.g. labels any tweet about AI as 'bad')
    • An easy solution is using GPT-4 but that could require modifications to the prompt for the best results
  • It doesn't know about a tweet's images, author, etc.
  • I haven't done the math on how expensive this would be to run constantly :)

About

Arc Boost that removes bad tweets using AI.

License:MIT License


Languages

Language:JavaScript 100.0%