When interacting with an agent through a chat bot, users can attach text files and images to their messages.
This option is useful in scenarios where the agent needs to analyze additional materials, such as error screenshots, photos of receipts, invoices, or other documents.
Supported formats: .bash, .bat, .cmd, .c, .cpp, .cs, .csv, .doc, .docx, .gif, .go, .html, .java, .jpeg, .jpg, .js, .json, .jsx, .kt, .md, .pdf, .php, .png, .ps1, .py, .rb, .rs, .scala, .sh, .sql, .svelte, .swift, .ts, .tsx, .txt, .vue, .webp, .xls, .xlsx, .xml, .yaml, .yml, .zsh.
The maximum file size is 5 MB. Multiple files can be attached at the same time.
When processing files, the agent consumes tokens. The approximate token usage can be estimated using the formulas below.
Image:
(Width / 512) × (Height / 512) × 700
Text:
Number of characters / 4