DT4 - AI is able to EDIT multiple documents. Huge potential

Hey,

just discovered that it is possible to get the AI to edit documents in a multi-document context.

This has tremendous potential. It seems to work similar to coding IDEs like cursor.

See example 1 below to exemplify.

  • Two documents are selected (Spain list and DomRep list)
  • Based on contents of document A, modify document B in specific way
  • Executes flawlessly and also works if multiple documents are read or edited

4 Likes

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:

2 Likes

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?

They are (if versioning for the database is enabled)

1 Like