Attachments: read, anonymize and edit

Who this is for: whoever manages the account.

What it is for

Customers send photos and documents. An agent can read them to extract data, and also cover sensitive information before forwarding them.

Reading attachments

With read_attachment the agent reads PDF, Word, Excel, CSV, text and photos of documents. Photos are read with OCR (text recognition) that runs on TalkAI's own server.

Editing images and PDFs

With edit_media the agent can redact, crop, retouch, combine, rotate, convert or turn an image black and white. It can also redact PDFs.

ℹ️
Note:The Image editor template already comes with rules about what may be edited. See Templates.

How to set it up

➡️
Step:Create the agent from the Document reader or Image editor template, or add the tools by hand.
➡️
Step:Define in the prompt which documents it expects and what data to extract or what to redact.
➡️
Step:Try it in the test chat by attaching a real file. See Test chat and activation.

Common mistakes