boly38 / botEnSky

BlueSky bot account that bring happiness to BlueSky users
https://bsky.app/profile/botensky.bsky.social
MIT License
0 stars 0 forks source link

plantnet - multiple search - avoid previous candidate post #26

Closed boly38 closed 1 month ago

boly38 commented 1 month ago

Following #17

We need to avoid verifying a given candidate multiple times, for example when a Pl@ntNet identification gives 404 no result or a result with bad score (<20%)

Suggest: we may try to see if we could use "mask this post" feature ?

boly38 commented 1 month ago

mask post

mute actor

When an actor is muted, the post may appears in search result but with a muted flag : posts[0].author.viewer.muted : true image

➕ directly available in searchPost result ➖ but we dont want to mute an overall actor for only one post that didnt produce result ℹī¸ ➖ mute actor workaround: unmute actor after 24hours

record post without result using logger

boly38 commented 1 month ago

mute / unmute automonous sample : https://gist.github.com/boly38/fb0a83e21bb73c212203c261b3cad287

boly38 commented 1 month ago

⚠ī¸ muteEntry::indexedAt : seems to be ACCOUNT date and not "mute action" date !! we will make dedicated action to unMute all actors (ie. at the end of the day)