You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been experimenting with integrating a spam filter directly into Eliza's runtime response flow, especially for handling scenarios where users mass-tag others (mainly tested on Farcaster so far). The idea is to gently flag or ignore suspected spammy messages.
I hit a blocker though — without access to username or userId at the time of the runtime response, it's hard to make meaningful decisions (e.g., tracking abuse or rate-limiting per user).
Here's a rough outline of the SpamFilterManager class I'm using:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone 👋
I've been experimenting with integrating a spam filter directly into Eliza's runtime response flow, especially for handling scenarios where users mass-tag others (mainly tested on Farcaster so far). The idea is to gently flag or ignore suspected spammy messages.
I hit a blocker though — without access to
username
oruserId
at the time of the runtime response, it's hard to make meaningful decisions (e.g., tracking abuse or rate-limiting per user).Here's a rough outline of the
SpamFilterManager
class I'm using:Idea:
senderId
andusername
if available to apply light filtering logic.Would love help on:
senderId
or similar metadata in runtime responses.Happy to open a PR if there’s a clear path forward.
Thanks! 🙏
https://github.com/rferrari/justtom-eliza-starter/blob/SpamFilterManager/packages/client-farcaster/src/spamFilterManager.md
https://github.com/rferrari/justtom-eliza-starter/blob/SpamFilterManager/packages/client-farcaster/src/spamFilterManager.ts
Beta Was this translation helpful? Give feedback.
All reactions