Attachments in Chats


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
Copy link

Supported file formats depend on the model you're using.

ChatGPT: .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.

Claude, Gemini.jpg, .png, .webp, .gif.

Grok.jpg, .png, .webp.

DeepSeek, Qwen: Attachments are not supported.

The maximum file size is 5 MB. Multiple files can be attached at the same time.

Token Consumption
Copy link

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