Liotou/zotero-annota ? reverse-engineered prompt
Reverse engineered prompt
Build me a Zotero add on that automatically writes a comment for each text highlight by sending the highlighted passage to an AI model and saving the reply into the annotation comment.
I want the prompt to be configurable per highlight color, so one color can summarize, another can translate, another can critique, and any color without a prompt is just ignored. It should work with Zotero 7, 8, and 9, use Mistral by default, and also let me point it at any OpenAI compatible API endpoint with a key, model, temperature, and other basic settings. Please include a simple preferences screen where I can turn auto generation on or off, choose whether underlines are included, decide if existing comments can be overwritten, and optionally send document context like title, authors, year, publication, page, and abstract.
Also add a right click action to generate missing comments or regenerate everything for selected annotations or items, with progress feedback. Make sure it stays off until I set at least one color prompt.
Are you gonna build this?
make sure you review the code using coderabbit