use AI to tag documents

Can someone point me in the right direction. I would lik DT to scan all my pdf files and apply tags that I designate such as: AUTO, TAXES, HOME, etc based on set criteria like 1 - does the pdf contain BMW then attach AUTO tag, etc. Thank you.

I’d use a smart rule for that.

For more tags:

I use an Applescript for this
It’s not AI, but is based on set criteria as you indicated