Very nice but please make sure you provide critical details about the AI engine and model you’re using when discussing these things. There is no singular AI and not all are capable of this kind of interaction.
Thanks for the nice feedback! DEVONthink 4 indeed provides a tool to modern AIs dedicated to appending, inserting or replacing text in documents. But by default it’s disabled, see Settings > AI Chat
Internally this tool is somewhat similar to the new update AppleScript command, e.g. supports the same document types:
Are these kinds of edits versioned? IOW, will I be able to revert these AI edits at a later time if they’re found not wanted but past the point of being able to use an undo command?