URL vs base64
Attachments support two modes — URL and base64 — and the distinction matters:| Mode | What happens | Usable in Playground & datasets |
|---|---|---|
| URL | Adaline stores the link. The file must remain publicly accessible. | Only while the URL is live. |
| base64 | Adaline receives the raw data and hosts it in its own storage. | Yes — fully persisted and self-contained. |
Images
Attach images to spans as variables withmodality: "image". The detail field controls resolution processing (auto, low, medium, high).
Base64
- TypeScript
- Python
- API
png, jpeg, webp, gif.
URL
When the image is already hosted publicly, you can pass a URL. Adaline stores the link but does not download or host the file.- TypeScript
- Python
PDFs
Attach PDF documents withmodality: "pdf". PDFs include a file object with metadata (name, id, and optionally size).
Base64
- TypeScript
- Python
- API
URL
- TypeScript
- Python
Text
For large text — retrieved context, summaries, full documents — use text variables or attributes. Variables are the better choice when the text needs to flow into datasets and evaluations. Attributes work well for shorter metadata you want to filter and search by in the Monitor.Via variables
- TypeScript
- Python
Via attributes
- TypeScript
- Python
Proxy headers
When using the Proxy, pass variables (including attachments) via theadaline-span-variables header:
Limits
| Attachment type | Max size |
|---|---|
| Image (base64) | 10 MB |
| PDF (base64) | 10 MB |
| Request body (total) | 32 MB |
413 Payload Too Large response.
Next steps
Analyze Log Traces
Filter and search traces using your attached data.
Build Datasets from Logs
Capture variable-enriched spans into evaluation datasets.