File attachments
You can attach files to a message so Polaris can read them alongside your data. For example, attach a CSV of sample ids and ask Polaris to look them up in the cohort.
Attach a file
Section titled “Attach a file”Use any of these:
- Select + in the chat input, then Attach file.
- Drag files onto the chat input.
- Paste a file or image into the input.
You can attach up to 5 files per message.
Supported files
Section titled “Supported files”| Kind | Types | Size limit |
|---|---|---|
| Images | PNG, JPEG, GIF, WebP | 5 MB each |
| Documents and data | CSV, TSV, Excel (XLS, XLSX), Parquet, JSON, JSONL, XML, YAML, PDF, Word (DOCX), HTML, Markdown, SQL, plain text | 10 MB each, unless your admin set a different limit |
Polaris passes images straight to the model, so it can read charts, screenshots and photos of tables. It reads documents as files, and it can load data files for analysis when the code sandbox is on.
Errors
Section titled “Errors”| Message | What to do |
|---|---|
| “name is over the 5 MB limit for images.” | Resize or compress the image. |
| “name is over the n MB upload limit.” | Split the file or send a smaller extract. |
| “name is not a file type Polaris can read.” | Convert it to one of the types above, such as CSV or PDF. |
| “Attaching files needs permanent storage, which is turned off on this instance.” | Ask your admin. Documents need file storage turned on. |