בינה מלאכותית שינתה רבות מ-Gists באנגלית

סיכום מבוסס בינה מלאכותית

The discussion AI changed quite many gists in English revolves around an issue where a summary-bot incorrectly changed a large number of gists from English to Finnish. Jagster is looking for a solution to fix this without deleting all summaries and starting over. Falco provides a rails magic solution using the code AiSummary.where(summary_type: AiSummary.summary_types[:gist]).destroy_all to destroy all gist summaries. Jagster decides to use this solution, but is concerned about the inconvenience of having to confirm each deletion. Jagster then asks if there is a way to avoid having to tap enter multiple times to confirm each deletion, and later finds a solution using the > key on their iPad and Blink-app.

Summary-bot, that short one, was totally sure Finnish is actually English, and changed/re-generate quite big bunch of gists in English. My Finnish users think /latest looks strange now.

I can`t write some pseudo post is every topic and push new summary that triggers creation of new gist — this time in Finnish, because I changed the prompt more suitable for my audience.

Can I do some rails magic, or do I have to delete every summaries, long and short ones, from database, and start over with creation?

And would I do such operations?

(Now I remebered I’m doing backup 4 times a day, because I knew one a day is not enough… perhaps I can miss few posts, and do restoring that way :thinking:)

AiSummary.where(summary_type: AiSummary.summary_types[:gist]).destroy_all

God I’m stupid. I changed to 2-container and forgot totally to fix my backup-script :man_facepalming:

So, it is more expensive way then. My user would be quite… not so happy, if I delete 22 hours worth of posts.

Thanks Falco, I’ll use that.

One stupid question more… is there any solution where I don’t need to tap enter 12 times per every deleted gist :face_with_peeking_eye:

edit

iPad and Blink-app: the key > did the job. Everytime something new.