Allow individually reviewing each AI grammar improvement suggestion
Currently it's possible to get OpenAI to submit a completely rewritten version of a note, but it's not possible to incrementally evaluate each of the changes that OpenAI would suggest.
It would be much more useful if a plugin were implemented such that:
1. It makes the same call to OpenAI as the default AI plugin, to retrieve a rewritten note in full
2. Diff the received text with the existing note text to produce an array of strings from the original note that changed.
3. Iterate over each of these change locations. For the visited change, use `replaceContent` to replace the existing phrase with a highlighted version of itself, so the user knows which phrase they are considering replacing. Then trigger a popup input dialog asking the user if they want to change the highlighted phrase into the OpenAI suggestion to replace it
4. For each replacement prompt, allow the user to skip/approve the recco, or cancel the replacement iteration loop
Comments: 3
-
23 May, '23
Bill AdminOf all plugin suggestions made as of May 2023, this one would probably improve my blog-writing experience more than any other.
-
05 Oct, '23
Lucian Admin@Bill - we now have a the "linkOption" entry point, which lets us add buttons inside Rich Footnotes. I believe Rich Footnotes are probably the best way to offer AI grammar suggestions because they can be applied to text spans.
-
05 Oct, '23
Lucian Admin👋 To all plugin developers:
Amplenote has allocated up to $1,500 to be paid to a developer who implements this idea effectively enough to generate 700 plugin installs or 15 upvotes (whichever comes first). Email lucian@amplenote.com for more details on the terms. Developers must reside within a country that can legally receive payments from the US.