Quote:
Originally Posted by kovidgoyal
Dont write a metadata fetching plugin since your plugin is basically a kind of tag correcting/expanding/filtering plugin write it as a UI plugin. Iterate over the selected books get their metadata from the database, feed it to llm, and update the tags in the database from the result. There are many plugins that work with database data for example, clean metadata/clean comments.
|
Yeah, clean plugin was my second choice, but it really didn't include all of the pieces I needed. As I said, I was looking for minimal 'plugin knowledge' coding, as I really didn't want/need to figure out all of the pieces from scratch. The GR plugin, I basically just caught the one python function parsing tags, and end up returning the 'improved results'
Yes, a proper LLM plugin would be better, not questioning that, but I don't see enough of the needed pieces in the clean comments (in other words, if I want to adjust tags, there is zero updating tags code in there... I'd have to write all of that.) I didn't see any tag-related plugins that worked for my purposes. ("English Noun Frequency" perhaps being the only one, and too old for my taste)
added: PLUS the advantage of a 'metadata' plugin is it specifically adds 'review', batching, and so on. UI plugins lack all of that.