Prerequisites
- Traces or datasets containing media recorded using OpenInference attributes. See Multimodal tracing.
- An AI provider integration with a model that supports the required input modalities (Image, Audio, or PDF).
Create a multimodal evaluator
- In Evaluators, create an LLM-as-a-judge evaluator from scratch or from a template.
- Write a prompt with variables for your media and text inputs.
- Select a judge model that supports your media types.
- Under Variable Mappings, map each variable to a dataset column or span attribute.
- Enable Use as file for media variables. Leave text variables as text.
- Use Test Evaluator or the preview to verify your mappings.
- Save the evaluator and attach it to an online or offline task.
Example: PDF groundedness
This prompt evaluates whether an agent’s answer is supported by a source PDF.{question} and {output} as text. Map {pdf} to attributes.input.documents.0.document.url or the corresponding message-level document attribute, with Use as file enabled.

A PDF groundedness LLM-as-a-judge evaluator with question, output, and pdf variables.

The judge's result on a span with an attached PDF, including its explanation.
Variable mappings
The input mode determines how each variable is passed to the judge.
When a mapping resolves to media, the UI displays an image thumbnail, audio control, or PDF icon.
Images and audio can be detected automatically from attribute paths when no input mode is set. PDFs require an explicit document mode; otherwise, the URL is passed as text.
Arize AX warns you before running an evaluator if the selected model does not support a mapped modality.
Map media from traces
To evaluate whether extracted receipt fields match the source image, map
{image} as a file and {output} as text. See Evaluate receipt agents with an image judge for a full walkthrough.
Map an attribute as both text and a file
You can map the same attribute to multiple variables. For example, pass a PDF as a file and its URL as text so the judge can reference the link in its explanation.{pdf}.
Supported media
Image formats match those supported by tracing previews. Other
audio/* formats may be detected automatically.
For video, map a transcript as text or a frame URL as an image instead.
PDF inputs
PDF file mode accepts:- Base64 data URIs (
data:application/pdf;base64,...) arize://references created when inline PDFs are offloaded at ingestion- HTTPS URLs
- Object storage URLs (
gs://,s3://,azure://) when your space supports signing for the generative path
- Only
application/pdfis supported. - PDF content is sent under the user role in the judge request.
- Oversized attachments fail without retries. Use HTTPS or object storage URLs for large files.
- Provider Files API IDs (
document.id) are not retrieved as eval inputs. Mapdocument.urlor a dataset column containing a URL or data URI instead.
REST API
When creating or updating evaluators and tasks through the REST API, includeinput_modes alongside column_mappings.
Supported values are TEXT, IMAGE, AUDIO, and DOCUMENT. Omitting the mode allows image and audio auto-detection. PDFs require DOCUMENT.