DaveParr / mtgai

Recommendation tool for the 99 in your commander deck
MIT License
2 stars 1 forks source link

Do better than dropping the vectorstore on each new build as the only method of update #14

Open DaveParr opened 1 month ago

DaveParr commented 1 month ago

Currently make data will execute make_vectorstore.py directly, which drops the whole on disk data base and repopulates it from scratch. It would be nice to cache the results of the embedding for future reuse instead of reusing the api.

Additionally more interactive tools (cli, ui?) to:

would be cool

A place to start be would be the filter_main_sets() function, which has the behaviour and a suitable API, but can be hoisted up to the user level more effectively.