vishesh-baghel / glide

You can see how Glidee-bot works by installing it from here
https://github.com/apps/glidee-bot
ISC License
0 stars 0 forks source link

create a trigger in mindsdb to retrain the model every time data is updated after receiving pull request closed event #31

Closed vishesh-baghel closed 8 months ago

vishesh-baghel commented 8 months ago

ref: https://docs.mindsdb.com/sql/create/trigger

vishesh-baghel commented 8 months ago

As of now, it is not possible to achieve what I am trying to implement in the bot. The trigger in the mindsDB will simply fetch all the columns from the collection to update the 'files' collection in MongoDB. I have added the feature to retrain the predictor model on every update in the PR for #6