Chat
Attachments
Attach documents, spreadsheets, slides, code and images to a message, and which file types Onixphere can read.
Attach a file to a message and the model reads it along with what you wrote. Documents are turned into text on your computer; images go to the model as pictures.
Attach a file
- Click + in the composer, then Add files and images. You can also drop files onto the composer, or paste an image, such as a screenshot.
- Each file shows as a chip. A document is read straight away, and its chip shows when it is ready.
- Write your message and send it.
To take a file off before sending, remove its chip.
What can be attached
| Kind | File types |
|---|---|
| Word and PowerPoint | .docx, .pptx |
| Spreadsheets | .xlsx, .xlsm, .xlsb, .xls, .ods |
| OpenDocument | .odt, .odp, .odg, .odf, .odb |
| Text, data and code | .txt, .md, .csv, .json, .xml, .yaml, .html, .py, .js, .ts, .rs and other text files |
| Images | Common image types, such as .png, .jpg, .gif or .webp |
Limits
| Limit | Amount |
|---|---|
| Size of one file | 25 MB |
| Files in one message | 10 |
| Images in one message | 8 |
| Text read from one file | 200,000 characters, about 50,000 tokens |
Good to know
- API models take images. A local model takes them only if it can see: the model menu marks those Vision + text, and the others Text. With a text-only model, an image is turned away with a message saying so.
- A large image is scaled down before it is sent, to the size the models work at anyway. A small one is sent as it is.
- Text past the limit is cut off at the end of a line, and the chip says truncated.
- With File tools on (see the Configuration popover), the model gets the opening of each file and reads the rest only if it needs to. This keeps long files from filling the model's context.
- Old Word and PowerPoint files (.doc and .ppt) can't be read. Save them as .docx or .pptx and attach them again.
- Video and audio files can't be attached.
- A file's text, or the image, is sent to the model you chose as part of your message. With a local model, it stays on your computer.
- The attached files are kept with the chat, so you can ask about them again later in the same conversation.
Something here wrong or unclear? Email [email protected].