tkellogg / fossil

A mastodon client optimized for reading, with an AI-enabled algorithm for displaying posts
https://www.fossil-social.com
65 stars 8 forks source link

"Download Toots" is too slow #14

Open tkellogg opened 6 months ago

tkellogg commented 6 months ago

Right now, it feels like clicking "Download Toots" might be re-training the cluster, but more realistically I think all that's happening is it's re-summarizing all clusters, which takes a while.

Try caching the cluster labels in the database. All you should need to do is save the cluster labels as a field in the TopicCluster model, and the framework should take care of serializing/deserializing them.